{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5840 exists.","fix":"No fix has been published for CVE-2025-5840 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-5840 is a medium-severity vulnerability in SourceCodester Client Database Management System, published on 7 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-5840 and fix it if it is affected.\n\nWhat it is: CVE-2025-5840 is a medium-severity vulnerability in SourceCodester Client Database Management System, published on 7 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5840 exists.\n\nAffected product: SourceCodester Client Database Management System. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-5840/ (Markdown: https://insights.sbomify.com/CVE-2025-5840/index.md)","id":"CVE-2025-5840","markdown":"https://insights.sbomify.com/CVE-2025-5840/index.md","name":"CVE-2025-5840","record":{"aliases":["GHSA-4p69-rxmq-26c6"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Client Database Management System","requires_auth":"none","summary":"Attackers can upload malicious files via the user_update_customer_order.php script, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"client_database_management_system","vendor":"lerouxyxchire"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.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","version":"4.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-284","name":"Improper Access Control"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-06-08","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-06-08T14:55:11Z","kind":"github_poc","ref":"https://github.com/haxerr9/CVE-2025-5840","stars":0,"title":"CVE-2025-5840 Exploit Written In Python By haxerr9"}],"tier":"weaponised"},"has_fix":null,"headline":"SourceCodester Client Database Management System user_update_customer_order.php unrestricted upload","id":"CVE-2025-5840","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"ACF Onyx Poll \u003c= 1.1.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via class Parameter","id":"CVE-2025-5841"},"packages":[],"prev":{"headline":"Tenda AC9 POST Request AdvSetLanip fromadvsetlanip buffer overflow","id":"CVE-2025-5839"},"products":["Client Database Management System"],"published":"2025-06-07","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2025-46188","kev_date_added":null,"published":"2025-05-09"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2025-46189","kev_date_added":null,"published":"2025-05-09"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2025-46190","kev_date_added":null,"published":"2025-05-09"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2025-46191","kev_date_added":null,"published":"2025-05-09"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2025-46192","kev_date_added":null,"published":"2025-05-09"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2025-46193","kev_date_added":null,"published":"2025-05-09"},{"cvss_score":7.1,"headline":"Cross-site request forgery in n/a","id":"CVE-2025-63711","kev_date_added":null,"published":"2025-11-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-09","vendors":["SourceCodester"]},"summary":"Attackers can upload malicious files via the user_update_customer_order.php script, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2025-5840/"}