CVE-2022-27349
Published: 08 April 2022
Summary
CVE-2022-27349 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Socialcodia Social Codia Sms. 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
Social Codia SMS version 1 contains an arbitrary file upload vulnerability in the addteacher.php component, classified under CWE-434. The flaw permits an attacker to upload a crafted PHP file that results in remote code execution on the server. The issue received a CVSS 3.1 base score of 7.2, reflecting network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability when high privileges are present.
An authenticated administrator-level user can exploit the weakness by submitting a malicious PHP payload through the teacher-addition workflow. Successful upload allows the attacker to execute arbitrary operating-system commands on the underlying web server, potentially leading to full system compromise or persistence within the application environment.
Public references consist of proof-of-concept exploits and shell-upload demonstrations hosted on Packet Storm and GitHub, with no vendor advisory or patch information provided. The EPSS score rose from a low baseline to a peak of 0.0827 on 2025-01-22 before receding to its current value of 0.0307, indicating that exploitation interest increased well after the 2022 disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-31852
Vulnerability details
Social Codia SMS v1 was discovered to contain an arbitrary file upload vulnerability via addteacher.php. 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.