Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-32820 PoC — handlebars 代码注入漏洞

Source
Associated Vulnerability
Title:handlebars 代码注入漏洞 (CVE-2021-32820)
Description:handlebars是一款语义化的Web模板系统。 Express-handlebars 存在代码注入漏洞,布局参数可能会在下游应用程序中触发文件公开漏洞。
Description
Express-handlebars is susceptible to local file inclusion because it mixes pure template data with engine configuration options through the Express render API. More specifically, the layout parameter may trigger file disclosure vulnerabilities in downstream applications. This potential vulnerability is somewhat restricted in that only files with existing extensions (i.e., file.extension) can be included. Files that lack an extension will have .handlebars appended to them. For complete details refer to the referenced GHSL-2021-018 report. Notes in documentation have been added to help users avoid this potential information exposure vulnerability.
File Snapshot

id: CVE-2021-32820 info: name: Express-handlebars - Local File Inclusion author: dhiyaneshDk ...
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.