Cyber Resilience

CVE-2022-31854

HighPublic PoC

Published: 07 July 2022

Published
07 July 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.8260 99.3th percentile
Risk Priority 64 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-31854 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Codologic Codoforum. Its CVSS base score is 7.2 (High).

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

Deeper analysis

Codoforum version 5.1 contains an arbitrary file upload vulnerability that stems from insufficient validation on the logo change feature in the administrative interface. The flaw is tracked as CVE-2022-31854 and is classified under CWE-434, carrying a CVSS 3.1 score of 7.2 that reflects network-accessible exploitation requiring high privileges.

An authenticated administrator can upload a crafted file through the logo option and subsequently execute arbitrary code on the server, resulting in full remote code execution. Public exploit code demonstrating this authenticated RCE path has been released, confirming that an attacker with administrative credentials can achieve complete system compromise.

The EPSS score for the vulnerability currently stands at 0.8260 with a recorded peak of 0.8549, indicating sustained exploitation interest after disclosure. Public proof-of-concept materials, including a functional exploit script and detailed write-ups, are readily available, underscoring the need for immediate attention to any deployments still running the affected version.

EU & UK References

Vulnerability details

Codoforum v5.1 was discovered to contain an arbitrary file upload vulnerability via the logo change option in the admin panel.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

codologic
codoforum
5.1

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