{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45771 exists.","fix":"No fix has been published for CVE-2022-45771 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-45771 is a high-severity vulnerability in n/a, published on 5 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-45771 and fix it if it is affected.\n\nWhat it is: CVE-2022-45771 is a high-severity vulnerability in n/a, published on 5 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45771 exists.\n\nAffected product: n/a. 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-2022-45771/ (Markdown: https://insights.sbomify.com/CVE-2022-45771/index.md)","id":"CVE-2022-45771","markdown":"https://insights.sbomify.com/CVE-2022-45771/index.md","name":"CVE-2022-45771","record":{"aliases":["GHSA-7588-p92j-p3hh"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Pwndoc","requires_auth":"low_privilege","summary":"Attackers can escalate privileges and execute arbitrary code by uploading a crafted audit file to the Pwndoc web application.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pwndoc","vendor":"pwndoc_project"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"An issue in the /api/audits component of Pwndoc v0.5.3 allows attackers to escalate privileges and execute arbitrary code via uploading a crafted audit file.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-12-13","github_poc":2,"max_poc_stars":47,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-12-13T10:03:14Z","kind":"github_poc","ref":"https://github.com/p0dalirius/CVE-2022-45771-Pwndoc-LFI-to-RCE","stars":47,"title":"Pwndoc local file inclusion to remote code execution of Node.js code on the server"},{"date":"2023-02-11T15:26:14Z","kind":"github_poc","ref":"https://github.com/yuriisanin/CVE-2022-45771","stars":6,"title":"[PoC] Privilege escalation \u0026 code execution via LFI in PwnDoC "}],"tier":"weaponised"},"has_fix":false,"headline":"File upload in n/a","id":"CVE-2022-45771","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Auth bypass in n/a","id":"CVE-2022-45778"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2022-45770"},"products":["n/a"],"published":"2022-12-05","related":[{"cvss_score":8.8,"headline":"Auth bypass in n/a","id":"CVE-2021-31590","kev_date_added":null,"published":"2021-07-19"},{"cvss_score":7.6,"headline":"PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal","id":"CVE-2024-55602","kev_date_added":null,"published":"2024-12-10"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-24","vendors":["n/a"]},"summary":"Attackers can escalate privileges and execute arbitrary code by uploading a crafted audit file to the Pwndoc web application.","url":"https://insights.sbomify.com/CVE-2022-45771/"}