Skip to main content

PHP-Bookstore-Website-Example CVE-2025-11594

MEDIUM
Improper Check or Handling of Exceptional Conditions (CWE-703)
2025-10-11 cna@vuldb.com
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach checkout flow as anonymous user
  2. Exploit
    Submit crafted quantity in /index.php Quantity Handler
  3. Execution
    Bypass server-side quantity validation
  4. Impact
    Manipulate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 5.5 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Rare
hobby GitHub example bookstore project, negligible production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy