{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31749 exists.","fix":"No fix has been published for CVE-2022-31749 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31749 is a medium-severity path traversal vulnerability in WatchGuard Fireware OS, published on 27 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31749 and fix it if it is affected.\n\nWhat it is: CVE-2022-31749 is a medium-severity path traversal vulnerability in WatchGuard Fireware OS, published on 27 Jan 2025. 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-31749 exists.\n\nAffected product: WatchGuard Fireware OS. 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-31749/ (Markdown: https://insights.sbomify.com/CVE-2022-31749/index.md)","id":"CVE-2022-31749","markdown":"https://insights.sbomify.com/CVE-2022-31749/index.md","name":"CVE-2022-31749","record":{"aliases":["GHSA-94m6-39r7-r5v7"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"WatchGuard Fireware OS","requires_auth":"low_privilege","summary":"Authenticated attackers can read or write arbitrary files on WatchGuard Firebox and XTM appliances via argument injection in diagnose and import pac commands.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"An argument injection vulnerability in the diagnose and import pac commands in WatchGuard Fireware OS before 12.8.1, 12.1.4, and 12.5.10 allows an authenticated remote attacker with unprivileged credentials to upload or read files to limited, arbitrary locations on WatchGuard Firebox and XTM appliances","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-06-16","github_poc":2,"max_poc_stars":10,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-06-16T19:51:28Z","kind":"github_poc","ref":"https://github.com/jbaines-r7/hook","stars":10,"title":"Proof of Concept for WatchGuard Authenticated Arbitrary File Read (CVE-2022-31749)"},{"date":"2022-07-06T09:15:49Z","kind":"github_poc","ref":"https://github.com/iveresk/cve-2022-31749","stars":1,"title":"Simple PoC-checker for CVE-2022-31749 by 1vere$k"}],"tier":"weaponised"},"has_fix":null,"headline":"Authenticated arbitrary file read/write in WatchGuard Fireware OS","id":"CVE-2022-31749","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Race condition in EMUI","id":"CVE-2022-31751"},"packages":[],"prev":{"headline":"Memory corruption in Firefox","id":"CVE-2022-31748"},"products":["Fireware OS"],"published":"2025-01-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-01-28","vendors":["WatchGuard"]},"summary":"Authenticated attackers can read or write arbitrary files on WatchGuard Firebox and XTM appliances via argument injection in diagnose and import pac commands.","url":"https://insights.sbomify.com/CVE-2022-31749/"}