CVE-2022-27061
Published: 08 April 2022
Summary
CVE-2022-27061 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Aerocms Project Aerocms. Its CVSS base score is 7.2 (High).
Operationally, ranked in the top 12.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
AeroCMS version 0.0.1 contains an arbitrary file upload flaw classified under CWE-434. The vulnerability resides in the Post Image function within the administrative interface and permits an authenticated administrator to upload a crafted PHP file that the application does not adequately restrict or sanitize.
An attacker who has obtained administrative credentials can exploit the weakness to place and execute arbitrary PHP code on the server, resulting in full control over the application and potentially the underlying host. The CVSS 7.2 score reflects the requirement for high privileges while noting that no user interaction is needed once administrative access is held.
Public proof-of-concept material, including exploit code and packet captures, has been published on GitHub and Packet Storm. The associated EPSS score remained low after the 2022 disclosure but rose materially to a peak of 0.0827 in January 2025 before receding to its current value of 0.0307, indicating renewed exploitation interest well after the initial publication.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-31601
Vulnerability details
AeroCMS v0.0.1 was discovered to contain an arbitrary file upload vulnerability via the Post Image function under the Admin panel. This vulnerability allows attackers to execute arbitrary code via a crafted PHP file.
- 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.