{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-2431 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-2431 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-2431 is a high-severity path traversal vulnerability in download-manager Download Manager, published on 6 Sep 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-2431 and fix it if it is affected.\n\nWhat it is: CVE-2022-2431 is a high-severity path traversal vulnerability in download-manager Download Manager, published on 6 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-2431 in the wild and no public exploit code.\n\nAffected product: download-manager Download Manager. 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-2431/ (Markdown: https://insights.sbomify.com/CVE-2022-2431/index.md)","id":"CVE-2022-2431","markdown":"https://insights.sbomify.com/CVE-2022-2431/index.md","name":"CVE-2022-2431","record":{"aliases":["GHSA-3hhq-xm5h-wcvh"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated contributors can delete arbitrary files via path traversal, potentially resetting the site to enable remote code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"download_manager","vendor":"w3eden"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"description":"The Download Manager plugin for WordPress is vulnerable to arbitrary file deletion in versions up to, and including 3.2.50. This is due to insufficient file type and path validation on the deleteFiles() function found in the ~/Admin/Menu/Packages.php file that triggers upon download post deletion. This makes it possible for contributor level users and above to supply an arbitrary file path via the 'file[files]' parameter when creating a download post and once the user deletes the post the supplied arbitrary file will be deleted. This can be used by attackers to delete the /wp-config.php file which will reset the installation and make it possible for an attacker to achieve remote code execution on the 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":"Download Manager \u003c= 3.2.50 - Authenticated (Contributor+) Arbitrary File Deletion","id":"CVE-2022-2431","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Ecwid Ecommerce Shopping Cart \u003c= 6.10.23 - Cross-Site Request Forgery to Settings/Options Update","id":"CVE-2022-2432"},"packages":[],"prev":{"headline":"Visual Composer Website Builder \u003c= 45.0 - Authenticated Stored Cross-Site Scripting via 'Text Block'","id":"CVE-2022-2430"},"products":["Download Manager"],"published":"2022-09-06","related":[{"cvss_score":8.8,"headline":"Download Manager \u003c= 3.2.49 - Authenticated (Contributor+) PHAR Deserialization","id":"CVE-2022-2436","kev_date_added":null,"published":"2022-09-06"},{"cvss_score":8.8,"headline":"WordPress Download Manager \u003c 3.2.34 - Authenticated SQL Injection to Reflected XSS","id":"CVE-2021-25069","kev_date_added":null,"published":"2022-02-21"},{"cvss_score":8.8,"headline":"Missing authorization in n/a","id":"CVE-2014-9260","kev_date_added":null,"published":"2017-08-07"},{"cvss_score":7.5,"headline":"Download Manager \u003c= 3.2.89 - Improper Authorization via protectMediaLibrary","id":"CVE-2024-2098","kev_date_added":null,"published":"2024-06-13"},{"cvss_score":7.5,"headline":"Download Manager \u003c 3.2.83 - Unauthenticated Protected File Download Password Leak","id":"CVE-2023-6421","kev_date_added":null,"published":"2024-01-01"},{"cvss_score":7.5,"headline":"Download Manager Pro \u003c 6.3.0 - Unauthenticated Sensitive Information Disclosure","id":"CVE-2023-1809","kev_date_added":null,"published":"2023-05-02"}],"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":"2025-01-31","vendors":["download-manager"]},"summary":"Authenticated contributors can delete arbitrary files via path traversal, potentially resetting the site to enable remote code execution.","url":"https://insights.sbomify.com/CVE-2022-2431/"}