{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55602 exists.","fix":"No fix has been published for CVE-2024-55602 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-55602 is a high-severity path traversal vulnerability in pwndoc, published on 10 Dec 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-55602 and fix it if it is affected.\n\nWhat it is: CVE-2024-55602 is a high-severity path traversal vulnerability in pwndoc, published on 10 Dec 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55602 exists.\n\nAffected product: pwndoc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-55602/ (Markdown: https://insights.sbomify.com/CVE-2024-55602/index.md)","id":"CVE-2024-55602","markdown":"https://insights.sbomify.com/CVE-2024-55602/index.md","name":"CVE-2024-55602","record":{"aliases":["GHSA-2mqc-gg7h-76p6"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Penetration test report generator","requires_auth":"high_privilege","summary":"Authenticated users can read arbitrary system files by injecting path traversal sequences into template file extensions in PwnDoc.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pwndoc","vendor":"pwndoc_project"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal","id":"CVE-2024-55602","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":5,"next":{"headline":"Insufficient session invalidation in Kanboard","id":"CVE-2024-55603"},"packages":[],"prev":{"headline":"Hugo does not escape some attributes in internal templates","id":"CVE-2024-55601"},"products":["pwndoc"],"published":"2024-12-10","related":[{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2022-45771","kev_date_added":null,"published":"2022-12-05"},{"cvss_score":8.8,"headline":"Auth bypass in n/a","id":"CVE-2021-31590","kev_date_added":null,"published":"2021-07-19"},{"cvss_score":6.8,"headline":"Cross-Site Request Forgery (CSRF) allows creating admin account with POST request","id":"CVE-2025-23044","kev_date_added":null,"published":"2025-01-20"},{"cvss_score":6.5,"headline":"PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin","id":"CVE-2025-27410","kev_date_added":null,"published":"2025-02-28"},{"cvss_score":6.5,"headline":"PwnDoc Arbitrary File Write to RCE using Path Traversal in template update from backup templates.json","id":"CVE-2025-27413","kev_date_added":null,"published":"2025-02-28"},{"cvss_score":6.5,"headline":"pwndoc's UnhandledPromiseRejection on audits causes Denial of Service (DoS)","id":"CVE-2024-55653","kev_date_added":null,"published":"2024-12-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-10","vendors":["pwndoc"]},"summary":"Authenticated users can read arbitrary system files by injecting path traversal sequences into template file extensions in PwnDoc.","url":"https://insights.sbomify.com/CVE-2024-55602/"}