7.5
HIGH CVSS 2.0
CVE-2025-5840
SourceCodester Client Database Management System Unrestricted File Upload Vulnerability
Description

A vulnerability, which was classified as critical, was found in SourceCodester Client Database Management System 1.0. This affects an unknown part of the file /user_update_customer_order.php. The manipulation of the argument uploaded_file leads to unrestricted upload. It is possible to initiate the attack remotely.

INFO

Published Date :

June 7, 2025, 6:15 p.m.

Last Modified :

June 10, 2025, 3:45 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-5840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Lerouxyxchire client_database_management_system
1 Sourcecodester downloading_client_database_management_system
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Secure the file upload functionality by validating file types and sizes.
  • Validate uploaded file types.
  • Enforce file size restrictions.
  • Sanitize all file uploads.
  • Remove or restrict uploaded files.
Public PoC/Exploit Available at Github

CVE-2025-5840 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-5840.

URL Resource
https://github.com/592833263/cve/issues/1 Exploit Issue Tracking Third Party Advisory
https://vuldb.com/?ctiid.311583 Permissions Required VDB Entry
https://vuldb.com/?id.311583 Third Party Advisory VDB Entry
https://vuldb.com/?submit.591425 Third Party Advisory VDB Entry
https://www.sourcecodester.com/ Product
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-5840 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE-2025-5840 Exploit Written In Python By haxerr9

database-management-system exploit file-upload python python-exploits webshell cve-2025-5840

Python

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 8, 2025, 2:55 p.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 1 hour ago
7221 stars 1200 fork 1200 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 804 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-5840 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-5840 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 10, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:lerouxyxchire:client_database_management_system:1.0:*:*:*:*:*:*:*
    Added Reference Type VulDB: https://github.com/592833263/cve/issues/1 Types: Exploit, Issue Tracking, Third Party Advisory
    Added Reference Type VulDB: https://vuldb.com/?ctiid.311583 Types: Permissions Required, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?id.311583 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?submit.591425 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://www.sourcecodester.com/ Types: Product
  • New CVE Received by [email protected]

    Jun. 07, 2025

    Action Type Old Value New Value
    Added Description A vulnerability, which was classified as critical, was found in SourceCodester Client Database Management System 1.0. This affects an unknown part of the file /user_update_customer_order.php. The manipulation of the argument uploaded_file leads to unrestricted upload. It is possible to initiate the attack remotely.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CWE CWE-284
    Added CWE CWE-434
    Added Reference https://github.com/592833263/cve/issues/1
    Added Reference https://vuldb.com/?ctiid.311583
    Added Reference https://vuldb.com/?id.311583
    Added Reference https://vuldb.com/?submit.591425
    Added Reference https://www.sourcecodester.com/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.9
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact