CVE-2023-31689

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…

Critical · published May 22, 2023

CVSS v3.1
9.8
EPSS
20%
Percentile
97.5
In the wild
Unconfirmed
What it is

🚨 A malicious request can turn your web application into a playground for attackers! With Wcms 0.3.2, just a couple of parameters could let someone upload arbitrary files and execute scripts. 🔥 Think of it like a sneaky delivery driver who, instead of just dropping off a package, is allowed to rearrange the entire warehouse — they could place anything dangerous right next to highly flammable materials! This vulnerability is absolutely devastating; an attacker could upload malicious scripts to your server and execute them at will, potentially gaining full control over your web application. Imagine the chaos if someone were to trigger command execution — they could steal sensitive data, deface your site, or worse!

Put simply

Think of it like a sneaky delivery driver who, instead of just dropping off a package, is allowed to rearrange the entire warehouse — they could place anything dangerous right next to highly flammable materials! The flaw arises from improper handling of input in the finish and textAreaCode parameters, allowing attackers to send crafted requests that write arbitrary strings to custom filenames, leading to unauthorized file uploads and command execution.

What to do

This vulnerability is absolutely devastating; an attacker could upload malicious scripts to your server and execute them at will, potentially gaining full control over your web application. Imagine the chaos if someone were to trigger command execution — they could steal sensitive data, deface your site, or worse! To mitigate this vulnerability, immediately update to the latest version of Wcms. Additionally, implement strict input validation, sanitize user inputs, and restrict file uploads to prevent execution of potentially harmful scripts. Regularly audit your application for similar vulnerabilities! You've got this! By taking these steps, you’ll lock down your application and safeguard your users. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.20220 · 97.5th percentile
Published
2023-05-22T00:00Z
EPSS history
Timeline
  • 22 MAY 00:00Z
    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…
    cvelistv5