PoC Monitor
← All CVEs
CVE-2025-5840published 7 Jun 2025 18:00 UTCData: JSON · API

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.

First public PoC 21 hafter publication · 8 Jun 2025
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-434
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

SourceCodester Client Database Management System
  • 1.0

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 Jun 2025 · t = 0First public PoC8 Jun 2025 · t+21h

First 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
RepositoryCreatedStarsAssessment
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 repo

POST /cdm/user_update_customer_order.php

Body markers
order_id=123 uploaded_file= <?php system({var}['cmd']); ?> shell.php in multipart/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.

POST /cdm/user_update_customer_order.php
(?i)^/cdm/user_update_customer_order\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /cdm/user_update_customer_order.php
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.

POST /cdm/user_update_customer_order.php
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