CVE-2020-28838:
OpenCart Cross-Site Request Forgery (CSRF)
3.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.2782%
CWE
Published
5/24/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
opencart/opencart | composer | = 3.0.3.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The exploit demonstrates CSRF vulnerability through a POST request to checkout/cart/add endpoint without anti-CSRF tokens. In OpenCart's architecture, this maps to the add()
method in the cart controller. The absence of token validation in this method (as shown in the POC's token-less request) makes it vulnerable. The vulnerability's nature (CSRF in cart addition) and exploit mechanism directly implicate this controller method.