Cyber Resilience

CVE-2022-4949

HighPublic PoC

Published: 07 June 2023

Published
07 June 2023
Modified
08 April 2026
KEV Added
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0901 92.8th percentile
Risk Priority 23 60% EPSS · 20% KEV · 20% CVSS

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

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

adsanityplugin
adsanity
≤ 1.8.2
xen
xen
all versions

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.

addresses: CWE-434

Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.

addresses: CWE-434

Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.

addresses: CWE-434

Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.

addresses: CWE-434

Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.

References