{"id":"CVE-2024-55602","published":"2024-12-10T16:58:12Z","modified":"2024-12-10T17:22:00Z","title":"PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal","vendor":"pwndoc","product":"pwndoc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00849,"percentile":0.55569,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407","tags":["x_refsource_MISC"]},{"url":"https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L103","tags":["x_refsource_MISC"]},{"url":"https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L43-L47","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.11},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"pwndoc","affectedVersions":[{"vendor":"pwndoc","product":"pwndoc","versions":["< 1d4219c596f4f518798492e48386a20c6e9a2fe6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-10T17:21:53.592076Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-52821","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pwndoc-cve-2024-55602","children":[{"from":"CVE-2024-55602","to":"CVE-2025-27413","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["backend/src/routes/template.js"],"commits":["https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6","https://github.com/pwndoc/pwndoc/commit/68aa1ea676a91e17bfb333a27571151bd07fb21d"],"basis":"rarely changed file"}]}]}}