Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-50968 — Manual proof-of-concept for CVE-2024-50968: exploit a business logic flaw in Agri-Trading Online Shopping System 1.0 by setting the quant parameter to -0, zeroing cart total and allowing checkout with only delivery fee. | Kitploit
Tools/GitHubGitHub/akhlak2511/cve-2024-50968
Vulnerability AnalysisWeb Application ExploitationWeb SecurityPenetration TestingLearning & Education
GitHubakhlak2511/cve-2024-50968

CVE-2024-50968

Manual proof-of-concept for CVE-2024-50968: exploit a business logic flaw in Agri-Trading Online Shopping System 1.0 by setting the quant parameter to -0, zeroing cart total and allowing checkout with only delivery fee.

View Repository
1 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-50968

Description

A business logic vulnerability exists in the Add to Cart function of itsourcecode Agri-Trading Online Shopping System 1.0, which allows remote attackers to manipulate the quant parameter when adding a product to the cart. By setting the quantity value to -0, an attacker can exploit a flaw in the application's total price calculation logic.This vulnerability causes the total price to be reduced to zero, allowing the attacker to add items to the cart and proceed to checkout.

Vulnerability Type

Business Logic Vulnerability

Vendor of Product

itsourcecode

Affected Product Code Base:

Agri-Trading Online Shopping System - 1.0

Affected Component:

The Add to Cart functionality in the index.php page of itsourcecode Agri-Trading Online Shopping System version 1.0 is vulnerable

Attack Vectors:

  1. Set up the application locally
  2. Open a browser and go to URL http://localhost/teambam/index.php
  • Click on the Sign Up button,register the account and login to the account
  • Upon successful login to the home page, click on Add to Cart on anyone of the product
  • Open the burpsuite and intercept the request and change the quant parameter value from 1 to -0. Forward the request and the item would be added to the cart.
  • Navigate to the "Cart" section and the total price of the product would be dropped to 0 with the delivery fee of just Rs.150 and can successfully proceed to checkout to place the order
  • Reference:

    1. https://itsourcecode.com/free-projects/php-project/php-project-online-shopping-with-source-code/
    2. https://owasp.org/www-community/vulnerabilities/Business_logic_vulnerability
    Download Tool