Skip to main content
VulnerabilityPublished Updated

CVE-2024-50968: A business logic vulnerability exists in the Add to Cart function of itsourcecode Agri-Trading Online

Source CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2024-50968, organizations should immediately implement strict input validation on the 'quant' parameter to reject negative, zero, or otherwise invalid quantity values before processing. Business logic should be revised to ensure that total price calculations cannot be manipulated by malformed inputs, including adding server-side checks that enforce minimum quantity constraints and verify total price consistency. Until an official patch is released, consider implementing web application firewall (WAF) rules to detect and block requests containing suspicious quantity values such as '-0'. Conduct thorough code reviews and testing of the checkout and cart modules to identify and fix similar logic flaws. Monitor transaction logs for anomalous patterns indicative of exploitation attempts, such as zero-value orders or unusual quantity inputs. Engage with the vendor or development team to prioritize a security patch and apply it promptly once available. Additionally, limit exposure by restricting access to the shopping system to trusted networks if feasible and educate staff on recognizing potential fraud indicators.

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.

References

Community reviews

Loading reviews…