CVEvulnerability
CVE-2024-55602
8.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-12-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 8.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• pwndoc project pwndoc (<= 1.2.1)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- 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 Product
- https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6 Patch
- https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6 Exploit, Vendor Advisory
- https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407 Product
- https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6 Exploit, Vendor Advisory