PHP-Bookstore-Website-Example
CVE-2025-11594
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach checkout flow as anonymous user
-
ExploitSubmit crafted quantity in /index.php Quantity Handler
-
ExecutionBypass server-side quantity validation
-
ImpactManipulate order total / payment logic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling framework
|
| Exploitation Conditions | Requires a reachable instance of the ywxbear PHP-Bookstore-Website-Example application with the Quantity Handler in /index.php exposed - i.e., the checkout/cart purchase flow accessible to anonymous visitors (the default for a storefront). The attacker supplies a manipulated 'quantity' input that the application fails to validate properly (CWE-703). No authentication, no user interaction, and no non-default configuration are needed (PR:N/UI:N). LIMITING FACTORS: impact is confined to low integrity (VI:L) - order/payment-logic manipulation within the app - with no confidentiality or availability impact and no system compromise; practical damage depends on whether the manipulated order actually drives a real payment/fulfillment process. |
| Impact | This is a medium-severity business-logic flaw (CVSS 4.0 base 5.5) in a hobby-grade GitHub example application, and the real-world priority is LOW despite a publicly disclosed exploit. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates trivial remote, unauthenticated exploitation, but the impact is deliberately narrow: VC:N, VI:L, VA:N - only a low integrity impact, consistent with manipulating the purchase quantity in the payment/order flow rather than compromising the host. EPSS is low (0.38%, 30th percentile) and the CVE is NOT on CISA KEV, so there is no evidence of active or widespread exploitation; the E:P (Proof-of-Concept) maturity in the vector aligns with the description's statement that an exploit was publicly disclosed. CONFLICTING SIGNAL: the 'Information Disclosure' tag contradicts the CVSS metrics, which show VC:N (no confidentiality impact) and VI:L - this is an integrity/business-logic issue (improper quantity validation), not information disclosure; treat the tag as suspect. Net: easy to trigger but low consequence on an obscure codebase, so this is a high-exploitability/low-impact finding rather than an urgent threat. |
| Exploit ScenarioDerived | An unauthenticated attacker browsing the bookstore submits a crafted or out-of-range quantity value (e.g., negative or manipulated) to the Quantity Handler in /index.php during cart/checkout, defeating the server-side quantity validation to distort order totals or payment logic. Because the attack is network-based with low complexity and no authentication or user interaction required, it can be performed directly against a live instance. A proof-of-concept has been publicly disclosed (referenced as a 'Payment Logic Vulnerability' document), so working exploit details are available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Improper quantity validation in the PHP-Bookstore-Website-Example cart/payment flow allows unauthenticated remote attackers to tamper with order quantities via crafted input to /index.php, altering application-level order logic. The rolling-release example application has no versioned affected or fixed releases, publicly available exploit code exists (no CISA KEV active-exploitation confirmation), and EPSS is low at 0.38% (30th percentile). Impact is limited to low integrity (order manipulation) with no confidentiality, availability, or system-level compromise.
RemediationAI
No vendor-released patch identified at time of analysis; the project is rolling-release, so no fixed version can be cited. Actionable mitigations include enforcing server-side validation and normalization of the quantity parameter in /index.php (accept only positive bounded integers and reject non-numeric, negative, zero, or overflowing values) and recomputing order totals server-side rather than trusting client input, with the trade-off that this requires code changes in the example app and may alter cart behavior. Add business-logic checks and rate limiting, and reconcile order totals against payment/fulfillment records, with the trade-off of additional development and monitoring overhead. If the application is only a demo, remove it from internet exposure or place it behind authentication/network restrictions, accepting reduced accessibility for intended users. Monitor VulDB https://vuldb.com/?id.327915 for updates.
Affected ProductsAI
ywxbear PHP-Bookstore-Website-Example and PHP Basic BookStore Website through commit 0e0b9f542f7a2d90a8d7f8c83caca69294e234e4 are affected; because the project is rolling-release, no versioned affected or updated releases are published. The vulnerable component is the Quantity Handler in /index.php. No CPE identifiers were supplied. Advisory references include the VulDB entry https://vuldb.com/?id.327915 and submission https://vuldb.com/?submit.671737, with public exploit details at https://github.com/Lianhaorui/Report/blob/main/Payment%20Logic%20Vulnerability.docx.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The target is a PHP-based bookstore example web application whose Quantity Handler in /index.php accepts a user-supplied quantity during cart/checkout processing. CWE-703 (Improper Check or Handling of Exceptional Conditions) describes the root-cause class: the code fails to validate or handle out-of-range, non-numeric, negative, zero, or otherwise exceptional quantity values, so manipulated input flows into order/payment logic. No CPE identifiers were provided; the project is rolling-release, so affected and fixed states are commit-based (through 0e0b9f542f7a2d90a8d7f8c83caca69294e234e4). The independent assessment confirms network-reachable, unauthenticated, no-UI exploitation but confines impact to integrity of application-level order data, not server compromise.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote, low-complexity, unauthenticated submission to a public checkout handler (AV:N/AC:L/PR:N/UI:N); only limited integrity impact from quantity manipulation (I:L), no confidentiality or availability loss.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB