### [CVE-2024-55602](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-55602) ![](https://img.shields.io/static/v1?label=Product&message=pwndoc&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%201d4219c596f4f518798492e48386a20c6e9a2fe6%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brightgreen) ### 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. ### POC #### Reference - https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407 - https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6 #### Github No PoCs found on GitHub currently.