SourceCodester Client Database Management System
SourceCodester Client Database Management System user_update_customer_order.php unrestricted upload
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 1.0
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 21 h after publication; not in CISA KEV. First PoC: haxerr9/CVE-2025-5840 (created 8 Jun 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| haxerr9/CVE-2025-5840 | 8 Jun 2025 +21 h | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /cdm/user_update_customer_order.php
- Body markers
order_id=123uploaded_file=<?php system({var}['cmd']); ?>shell.phpinmultipart/form-data- Seen in
- 1 repo: haxerr9/CVE-2025-5840
- Evidence
- haxerr9/CVE-2025-5840/CVE-2025-5840.py:21 haxerr9/CVE-2025-5840/CVE-2025-5840.py:36 haxerr9/CVE-2025-5840/CVE-2025-5840.py:37 haxerr9/CVE-2025-5840/CVE-2025-5840.py:39
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/cdm/user_update_customer_order\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-5840 SourceCodester Client Database Management System exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/cdm/user_update_customer_order.php"; http.request_body; content:"order_id=123"; http.request_body; content:"uploaded_file="; http.request_body; content:"<?php system("; http.request_body; content:"shell.php"; reference:url,poc.griffinguard.io/cve/CVE-2025-5840; classtype:web-application-attack; sid:9423404; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: SourceCodester Client Database Management System exploit attempt (CVE-2025-5840)
id: gg-pocmon-cve-2025-5840-9423404
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-5840. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-5840
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/cdm/user_update_customer_order.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.5840