{"schemaVersion":3,"id":"CVE-2022-2431","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-09-06T17:18:56.000Z","modified":"2025-01-31T19:01:32.209Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03831,"percentile":0.89978,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.0889999999999995,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03742},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03831,"percentile":0.89978}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03742,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03831,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03831,"percentile":0.89978}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_8C761C3EF3E0F565","name":"Exploit Reference (wordfence.com)","source":"reference","url":"https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-73","name":"External Control of File Name or Path","description":"The product allows user input to control or influence paths or file names that are used in filesystem operations.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/73.html"},{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere","description":"The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/610.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"download-manager","product":"download manager","name":"Download Manager","label":"download manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.2.50","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.2.50","eol":null,"hubHref":"/vendor/download-manager/download_manager"},{"vendor":"w3eden","product":"download_manager","name":"download manager","label":"download_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.2.50","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.2.50","eol":null,"hubHref":"/vendor/w3eden/download_manager"},{"vendor":"wordpress","product":"download-manager","name":"Download Manager","label":"download-manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.2.50 (fixed in 3.2.51)","noFixRecorded":false,"fixedIn":"3.2.51"}],"versionsText":"≤ 3.2.50 (fixed in 3.2.51)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2762092%40download-manager&new=2762092%40download-manager&sfp_email=&sfph_mail=","label":"plugins.trac.wordpress.org/changeset","hostname":"plugins.trac.wordpress.org","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txt","label":"packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txt","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Third Party Advisory","VDB Entry"]},{"url":"https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/","label":"www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/","hostname":"www.wordfence.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f3c9c798-8545-475e-879b-7e44dac493f0","label":"www.wordfence.com/threat-intel/vulnerabilities/id/f3c9c798-8545-475e-879b-7e44dac493f0","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-06T17:18:56.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-31T19:01:32.209Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:14:37.379Z","stale":false,"partial":false}}