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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-32820— File disclosure in Express Handlebars

Quick assessment

Affected
express-handlebars express-handlebars
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

handlebars是一款语义化的Web模板系统。 Express-handlebars 存在代码注入漏洞,布局参数可能会在下游应用程序中触发文件公开漏洞。

AI Predicted 5.3 Difficulty: Easy EPSS 15.74% · P97

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1115 · Clipboard Data
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-32820

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
File disclosure in Express Handlebars
Source: CVE Program / CVE List V5
Vulnerability Description
Express-handlebars is a Handlebars view engine for Express. Express-handlebars 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 extentions (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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
handlebars 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
handlebars是一款语义化的Web模板系统。 Express-handlebars 存在代码注入漏洞,布局参数可能会在下游应用程序中触发文件公开漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
express-handlebars express-handlebars <= 5.3.2 -

II. Public POCs for CVE-2021-32820

# POC Description Source Link Shenlong Link
1 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-32820.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-32820

登录查看更多情报信息。

Patches & Fixes for CVE-2021-32820 (2)

Other References for CVE-2021-32820 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2021-32820

No comments yet


Leave a comment