CVE-2022-25498
Published: 15 March 2022
Summary
CVE-2022-25498 is a critical-severity Code Injection (CWE-94) vulnerability in Cuppacms Cuppacms. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 6.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
CuppaCMS version 1.0 contains a remote code execution vulnerability in the saveConfigData function located at /classes/ajax/Functions.php. The flaw is tracked as CVE-2022-25498 with a CVSS 3.1 score of 9.8 and is classified under CWE-94, indicating improper control of generation of code. The affected component allows unauthenticated network access to modify configuration data in a manner that leads to arbitrary code execution on the server.
An attacker with no credentials or user interaction can send crafted requests directly to the vulnerable endpoint over the network. Successful exploitation grants full control over the application, enabling arbitrary command execution, data exfiltration, or further compromise of the underlying host due to the high impact on confidentiality, integrity, and availability.
Public references consist of GitHub issue #29 filed against the CuppaCMS repository, which documents the discovery but provides no official patch or mitigation guidance. The EPSS score remains steady at 0.1152 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-30167
Vulnerability details
CuppaCMS v1.0 was discovered to contain a remote code execution (RCE) vulnerability via the saveConfigData function in /classes/ajax/Functions.php.
- 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.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.