CVE-2026-13571
Received Received - Intake

Business Logic Error in Simple Food Ordering System

Vulnerability report for CVE-2026-13571, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-29

Last updated on: 2026-06-29

Assigner: VulDB

Description

A flaw has been found in SourceCodester Simple Food Ordering System 1.0. The affected element is an unknown function of the file /cart.php. Executing a manipulation of the argument item_price can lead to business logic errors. The attack may be performed from remote. The exploit has been published and may be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-29
Last Modified
2026-06-29
Generated
2026-06-29
AI Q&A
2026-06-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester simple_food_ordering_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-840 Business Logic Errors

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Compliance Impact

The vulnerability in the Simple Food Ordering System allows attackers to manipulate product prices during checkout, leading to corrupted order records and financial data.

While the provided information does not explicitly mention compliance with standards such as GDPR or HIPAA, the corruption of financial data and business logic errors could potentially impact regulatory compliance related to financial accuracy and data integrity.

Specifically, inaccurate financial records may violate accounting standards and regulations that require accurate transaction data, which could indirectly affect compliance frameworks that mandate data integrity and auditability.

Executive Summary

CVE-2026-13571 is a business logic vulnerability in SourceCodester Simple Food Ordering System 1.0 that allows attackers to manipulate product prices during checkout.

The flaw exists because the application trusts client-side input for the item_price parameter without validating it against the actual prices stored in the database.

An attacker can intercept and modify the item_price value in POST requests (for example, using tools like Burp Suite) to set unauthorized discounts, make free purchases, or even create negative order totals.

This manipulation affects files such as cart.php, checkout.php, and process_order.php, leading to corrupted order records and financial data.

The root cause relates to client-side enforcement of server-side security and business logic errors.

Impact Analysis

This vulnerability can severely impact the business by allowing attackers to manipulate prices and complete purchases at unauthorized discounted rates or even for free.

Such exploitation can lead to financial losses, corrupted order and accounting data, and damage to business integrity.

It undermines the trustworthiness of the ordering system and can cause discrepancies in revenue reporting and inventory management.

Detection Guidance

This vulnerability can be detected by monitoring and intercepting POST requests to the application, specifically those targeting the Add-to-Cart functionality where the `item_price` parameter is sent.

Using tools like Burp Suite or similar HTTP intercepting proxies, you can capture and inspect the traffic to see if the `item_price` parameter is being manipulated client-side.

A practical detection approach involves capturing a POST request to `/cart.php` or related endpoints and checking if the `item_price` value differs from the expected price stored in the database.

  • Use Burp Suite or a similar proxy to intercept HTTP POST requests to `/cart.php`.
  • Inspect the `item_price` parameter in the intercepted requests for unexpected or manipulated values.
  • On the server, query the database to verify if order records contain prices that do not match the official product prices.
  • Example command to monitor HTTP traffic (Linux): `tcpdump -i any -A -s 0 'tcp port 80 or tcp port 443' | grep item_price`
Mitigation Strategies

Immediate mitigation steps include implementing server-side validation of the `item_price` parameter to ensure it matches the prices stored in the database.

Reject any requests where the price is negative, zero, or does not correspond to the official product price.

Recalculate order totals exclusively on the server side rather than trusting client-supplied values.

Additionally, review and patch the affected files such as `cart.php`, `checkout.php`, and `process_order.php` to enforce these validations.

Consider temporarily disabling online ordering or restricting access to the affected endpoints until a fix is deployed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13571. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart