High severity · published Dec 10, 2024
CVE-2024-55602
PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal
8.5
CVSS
0.7%
EPSS
No
On KEV
Description
PwnDoc is a penetration test report generator. Prior to commit 1d4219c596f4f518798492e48386a20c6e9a2fe6, an authenticated user who is able to update and download templates can inject path traversal (`../`) sequences into the file extension property to read arbitrary files on the system. Commit 1d4219c596f4f518798492e48386a20c6e9a2fe6 contains a patch for the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PW
pwndoc · pwndoc
< 1d4219c596f4f518798492e48386a20c6e9a2fe6 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-55602
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-55602
Product
https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407
Product
https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L103
Product
https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L43-L47
Patch
https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6
Exploit
https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6
More from pwndoc
8.1
CVE-2025-23044
Cross-Site Request Forgery (CSRF) allows creating admin account with POST request
6.5
CVE-2025-27410
PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin
6.5
CVE-2024-55652
PwnDoc Server-Side Template Injection vulnerability - Sandbox Escape to RCE using custom filters
6.5
CVE-2024-55653
pwndoc's UnhandledPromiseRejection on audits causes Denial of Service (DoS)
4.9
CVE-2025-27413
PwnDoc Arbitrary File Write to RCE using Path Traversal in template update from backup templates.json
