Security Resilience

CVE-2023-31689

Wcms 0.3.2

Public PoC
Published
22 May 2023
Modified
28 January 2025
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.20 97th percentile
Risk Priority 84 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-31689 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Wcms Wcms. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data Obfuscation (T1001); ranked in the top 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 AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2023-31689 is an unrestricted file upload vulnerability in Wcms version 0.3.2. The flaw resides in the web application backend component at /wcms/wex/html.php, where the finish and textAreaCode parameters accept crafted input that permits writing arbitrary strings to attacker-chosen filenames, uploading any file type, and placing executable code that can be invoked to trigger command execution. The issue is tracked under CWE-434 and carries a CVSS 3.1 score of 9.8.

Unauthenticated remote attackers can exploit the vulnerability over the network by sending a single malicious request to the affected endpoint. Successful exploitation grants the ability to upload and execute arbitrary scripts, resulting in full compromise of the confidentiality, integrity, and availability of the server.

Public references consist of GitHub issue reports that document the flaw but contain no statements from the maintainer regarding patches or mitigation steps. The associated EPSS score rose from low values to a peak of 0.0585 before receding to the current 0.0123.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In Wcms 0.3.2, an attacker can send a crafted request from a vulnerable web application backend server /wcms/wex/html.php via the finish parameter and the textAreaCode parameter. It can write arbitrary strings into custom file names and upload any files, and…

more

write malicious code to execute scripts to trigger command execution.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001 Data Obfuscation Command And Control
Adversaries may obfuscate command and control traffic to make it more difficult to detect.
T1001.003 Protocol or Service Impersonation Command And Control
Adversaries may impersonate legitimate protocols or web service traffic to disguise command and control activity and thwart analysis efforts.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
T1007 System Service Discovery Discovery
Adversaries may try to gather information about registered local system services.
T1011.001 Exfiltration Over Bluetooth Exfiltration
Adversaries may attempt to exfiltrate data over Bluetooth rather than the command and control channel.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-2978Same product: Wcms Wcms
CVE-2025-3798Same product: Wcms Wcms
CVE-2025-3799Same product: Wcms Wcms
CVE-2025-3800Same product: Wcms Wcms
CVE-2024-8875Same product: Wcms Wcms
CVE-2025-2979Same product: Wcms Wcms
CVE-2025-5149Same product: Wcms Wcms
CVE-2026-66627Shared CWE-434
CVE-2023-51475Shared CWE-434
CVE-2025-70151Shared CWE-434

Affected Assets

wcms
wcms
0.3.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.1.1

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.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-01 partial match
blocks

Hardened configuration baselines can enforce allowed file types and processing rules.

PR.PS-05 partial match
blocks

Restricting execution of unauthorized software directly blocks dangerous uploaded files from running.

PR.PS-06 partial match
blocks

Secure development practices include input validation and file-type restrictions that prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

References