Cyber Resilience

CVE-2022-27357

CriticalPublic PoC

Published: 08 April 2022

Published
08 April 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0339 87.7th percentile
Risk Priority 22 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-27357 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Ecommerce-Website Project Ecommerce-Website. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 12.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

Ecommerce-Website v1 is affected by an arbitrary file upload vulnerability that resides in the customer registration handler at /customer_register.php. The flaw, tracked as CVE-2022-27357 and assigned CWE-434, permits an attacker to supply a crafted PHP file that the application stores and subsequently executes, resulting in remote code execution. The issue carries a CVSS 3.1 base score of 9.8, reflecting network-accessible, unauthenticated exploitation with high impact on confidentiality, integrity, and availability.

An unauthenticated remote attacker can submit a malicious PHP payload through the registration form, after which the uploaded file can be invoked directly by the web server to run arbitrary commands. Successful exploitation grants the attacker the ability to execute code under the web-server context, typically leading to full control of the application and underlying host.

Public references consist primarily of proof-of-concept materials, including PacketStorm entries and a detailed GitHub walkthrough that demonstrate the upload and subsequent shell access; no vendor advisory or official patch information appears among the listed sources.

The associated EPSS score rose from a low baseline to a peak of 0.2276 on 2025-01-22 before receding to its current value of 0.0339, indicating that material exploitation interest developed well after the 2022 disclosure.

EU & UK References

Vulnerability details

Ecommerce-Website v1 was discovered to contain an arbitrary file upload vulnerability via /customer_register.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

ecommerce-website project
ecommerce-website
1.0

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