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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-32822— File disclosure in hbs

Quick assessment

Affected
pillarjs hbs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

TryGhost express-hbs是具有多种布局、块和缓存部分的 Express 车把模板引擎。 TryGhost express-hbs 中存在代码注入漏洞,该漏洞源于产品的Express render API将纯模板数据与引擎配置选项混合在一起。攻击者可通过覆盖内部配置选项导致文件泄露。

CVSS 4.0 · Medium EPSS 1.18% · P67

Possible ATT&CK Techniques 1 AI

T1005 · Data from Local System
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-32822

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 hbs
Source: CVE Program / CVE List V5
Vulnerability Description
The npm hbs package is an Express view engine wrapper for Handlebars. Depending on usage, users of hbs may be vulnerable to a file disclosure vulnerability. There is currently no patch for this vulnerability. hbs mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options a file disclosure vulnerability may be triggered in downstream applications. For an example PoC see the referenced GHSL-2021-020.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
文件和路径信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
TryGhost express-hbs 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
TryGhost express-hbs是具有多种布局、块和缓存部分的 Express 车把模板引擎。 TryGhost express-hbs 中存在代码注入漏洞,该漏洞源于产品的Express render API将纯模板数据与引擎配置选项混合在一起。攻击者可通过覆盖内部配置选项导致文件泄露。
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)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pillarjs hbs all -

II. Public POCs for CVE-2021-32822

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-32822

请登录查看更多情报信息。

Other References for CVE-2021-32822 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-32822

No comments yet


Leave a comment