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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-55660— SiYuan has an SSTI via /api/template/renderSprig

EPSS 0.73% · P73
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-55660

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
SiYuan has an SSTI via /api/template/renderSprig
Source: NVD (National Vulnerability Database)
Vulnerability Description
SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig` endpoint is vulnerable to Server-Side Template Injection (SSTI) through the Sprig template engine. Although the engine has limitations, it allows attackers to access environment variables. Version 3.1.16 contains a patch for the issue.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
CWE-1336
Source: NVD (National Vulnerability Database)
Vulnerability Title
SiYuan 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan开源的一个隐私至上的个人知识管理系统。 SiYuan 3.1.16之前版本存在安全漏洞,该漏洞源于容易通过Sprig模板引擎受到服务器端模板注入(SSTI)攻击,允许攻击者访问环境变量。
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

VendorProductAffected VersionsCPESubscribe
siyuan-notesiyuan < 3.1.16 -

II. Public POCs for CVE-2024-55660

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-55660

登录查看更多情报信息。

Same Patch Batch · siyuan-note · 2024-12-11 · 4 CVEs total

CVE-2024-55658SiYuan has an arbitrary file read and path traversal via /api/export/exportResources
CVE-2024-55657SiYuan has an arbitrary file read via /api/template/render
CVE-2024-55659SiYuan has an arbitrary file write in the host via /api/asset/upload

IV. Related Vulnerabilities

V. Comments for CVE-2024-55660

No comments yet


Leave a comment