{"id":"CVE-2024-55602","state":"PUBLISHED","title":"PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal","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.","publishedAt":"2024-12-10T16:58:12.982Z","updatedAt":"2024-12-10T17:22:00.349Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["pwndoc pwndoc"],"affected":[{"vendor":"pwndoc","product":"pwndoc","versions":[{"version":"< 1d4219c596f4f518798492e48386a20c6e9a2fe6","status":"affected"}]}],"references":["https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6","https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6","https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407","https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L103","https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L43-L47"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/55xxx/CVE-2024-55602.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-55602","state":"PUBLISHED","datePublished":"2024-12-10T16:58:12.982Z","dateUpdated":"2024-12-10T17:22:00.349Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-12-09T14:22:52.524Z"},"containers":{"cna":{"title":"PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal","descriptions":[{"lang":"en","value":"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":[{"vendor":"pwndoc","product":"pwndoc","versions":[{"version":"< 1d4219c596f4f518798492e48386a20c6e9a2fe6","status":"affected"}]}],"references":[{"url":"https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6","name":"https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6","name":"https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407","name":"https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407","tags":["x_refsource_MISC"]},{"url":"https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L103","name":"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","name":"https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L43-L47","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-10T16:58:12.982Z"},"source":{"advisory":"GHSA-2mqc-gg7h-76p6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6","tags":["exploit"]},{"url":"https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-10T17:21:53.592076Z","id":"CVE-2024-55602","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-10T17:22:00.349Z"}}]}}}