CVE-2022-4949
Published: 07 June 2023
Summary
CVE-2022-4949 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Adsanityplugin Adsanity. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 7.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
The AdSanity plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the ajax_upload function in versions up to and including 1.8.1. This flaw, tracked as CVE-2022-4949 and assigned CWE-434, allows authenticated users to upload files of any type to the server. It carries a CVSS 3.1 score of 8.8.
Authenticated attackers with Contributor-level privileges or higher can exploit the issue over the network without user interaction. Successful exploitation permits upload of arbitrary files, which can be leveraged to achieve remote code execution on the affected site.
The listed references point to disclosures from Wordfence and NinTechNet that describe the vulnerability and its impact but do not detail specific patch contents or mitigation steps beyond the implication that versions later than 1.8.1 address the missing validation. The EPSS score remains flat at a peak of 0.0901 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-52202
Vulnerability details
The AdSanity plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'ajax_upload' function in versions up to, and including, 1.8.1. This makes it possible for authenticated attackers with Contributor+ level privileges to…
more
upload arbitrary files on the affected sites server which makes remote code execution possible.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.