{
  "id": "CVE-2025-5840",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-5840",
  "published_at": "2025-06-07T18:00:19.162Z",
  "title": "SourceCodester Client Database Management System user_update_customer_order.php unrestricted upload",
  "vendor": "SourceCodester",
  "product": "Client Database Management System",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:ND/RC:UR"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-06-08T14:55:11Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.9,
    "repo": "haxerr9/CVE-2025-5840",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-434",
  "cpes": [
    "cpe:2.3:a:lerouxyxchire:client_database_management_system:1.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "haxerr9/CVE-2025-5840",
      "url": "https://github.com/haxerr9/CVE-2025-5840",
      "created_at": "2025-06-08T14:55:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-10-25T16:06:46Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "SourceCodester",
        "product": "Client Database Management System",
        "ranges": [
          "1.0"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/cdm/user_update_customer_order.php",
      "body_markers": [
        "order_id=123",
        "uploaded_file=",
        "\u003c?php system({var}['cmd']); ?\u003e",
        "shell.php"
      ],
      "content_type": "multipart/form-data",
      "protocol": "http",
      "repos": [
        "haxerr9/CVE-2025-5840"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "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"
      ]
    }
  ],
  "rules": []
}
