{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-4712 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-4712 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-4712 is a high-severity vulnerability in PaperCut NG, PaperCut MF, published on 14 May 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-4712 and fix it if it is affected.\n\nWhat it is: CVE-2024-4712 is a high-severity vulnerability in PaperCut NG, PaperCut MF, published on 14 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-4712 in the wild and no public exploit code.\n\nAffected product: PaperCut NG, PaperCut MF. 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-4712/ (Markdown: https://insights.sbomify.com/CVE-2024-4712/index.md)","id":"CVE-2024-4712","markdown":"https://insights.sbomify.com/CVE-2024-4712/index.md","name":"CVE-2024-4712","record":{"aliases":["GHSA-j448-jqj7-gh7x"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"PaperCut print management","requires_auth":"low_privilege","summary":"Attackers can create arbitrary files via the Web Print image handler on Windows servers, leading to local privilege escalation.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PaperCut","cpe":[{"product":"papercut_mf","vendor":"papercut"},{"product":"papercut_ng","vendor":"papercut"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"An arbitrary file creation vulnerability exists in PaperCut NG/MF that only affects Windows servers with Web Print enabled. This specific flaw exists within the image-handler process, which can incorrectly create files that don’t exist when a maliciously formed payload is provided. This can lead to local privilege escalation.\n\nNote: \n\nThis CVE has been split into two (CVE-2024-4712 and CVE-2024-8405) and it’s been rescored with a \"Privileges Required (PR)\" rating of low, and “Attack Complexity (AC)” rating of low, reflecting the worst-case scenario where an Administrator has granted local login access to standard network users on the host server.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Arbitrary File Creation in PaperCut NG/MF Web Print Image Handler","id":"CVE-2024-4712","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Campcodes Complete Web-Based School Management System all_teacher.php cross site scripting","id":"CVE-2024-4713"},"packages":[],"prev":{"headline":"WordPress Infinite Scroll – Ajax Load More \u003c= 7.1.1 - Authenticated (Contributor+) Cross-Site Scripting","id":"CVE-2024-4711"},"products":["PaperCut NG, PaperCut MF"],"published":"2024-05-14","related":[{"cvss_score":9.8,"headline":"PaperCut MF/NG Improper Access Control","id":"CVE-2023-27350","kev_date_added":"2023-04-21","published":"2023-04-20"},{"cvss_score":9.4,"headline":"PaperCut NG/MF Unsafe Reflection","id":"CVE-2026-82078","kev_date_added":"2026-08-31","published":"2026-08-28"},{"cvss_score":8.8,"headline":"PaperCut NG/MF Missing Authentication for Critical Function","id":"CVE-2026-81578","kev_date_added":"2026-08-31","published":"2026-08-28"},{"cvss_score":8.4,"headline":"PaperCut NG/MF Cross-Site Request Forgery (CSRF)","id":"CVE-2023-2533","kev_date_added":"2025-07-28","published":"2023-06-20"},{"cvss_score":8.2,"headline":"PaperCut NG/MF Improper Authentication","id":"CVE-2023-27351","kev_date_added":"2026-04-20","published":"2023-04-20"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2023-39143","kev_date_added":null,"published":"2023-08-04"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2019-12135","kev_date_added":null,"published":"2019-06-06"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["PaperCut"]},"summary":"Attackers can create arbitrary files via the Web Print image handler on Windows servers, leading to local privilege escalation.","url":"https://insights.sbomify.com/CVE-2024-4712/"}