CVE-2023-31857

Sourcecodester Online Computer and Laptop Store 1.0 allows unrestricted file upload and can lead to remote code execution

Critical · published May 16, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
74.4
In the wild
Unconfirmed
What it is

🚨 A crafty unrestricted file upload vulnerability lurks in Sourcecodester Online Computer and Laptop Store 1.0, and it's a direct ticket to remote code execution! 🔥 Think of this like a restaurant that lets anyone walk in and cook whatever they want in the kitchen. Without proper checks, an attacker could serve up a nasty dish right to your customers, ruining the whole experience! An attacker could exploit this vulnerability to upload malicious files, potentially gaining full control over the server. This means they could manipulate data, steal sensitive information, or even turn the server into a launching pad for further attacks. It’s absolutely devastating!

Put simply

Think of this like a restaurant that lets anyone walk in and cook whatever they want in the kitchen. Without proper checks, an attacker could serve up a nasty dish right to your customers, ruining the whole experience! This vulnerability allows an attacker to upload unrestricted files via the /classes/Users.php?f=save endpoint, leading to remote code execution by running arbitrary code on the server. No authentication is needed, making it easy for anyone with knowledge of the exploit.

What to do

An attacker could exploit this vulnerability to upload malicious files, potentially gaining full control over the server. This means they could manipulate data, steal sensitive information, or even turn the server into a launching pad for further attacks. It’s absolutely devastating! Immediately patch to the latest version of Sourcecodester to eliminate this vulnerability. Additionally, implement restrictions on file types and sizes that can be uploaded to further safeguard against malicious uploads. Regularly audit your upload functionality to ensure security measures are in place. You've got this! With these steps, you'll shore up your defenses in no time. 🛡️

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.01519 · 74.4th percentile
Published
2023-05-16T00:00Z
EPSS history
Timeline
  • 16 MAY 00:00Z
    Sourcecodester Online Computer and Laptop Store 1.0 allows unrestricted file upload and can lead to remote code execution
    cvelistv5