vendor:
OpenCart CMS
by:
Mahendra Purbia {Mah3Sec}
8.8
CVSS
HIGH
Cross Site Request Forgery
352
CWE
Product Name: OpenCart CMS
Affected Version From: 3.0.3.6
Affected Version To: 3.0.3.6
Patch Exists: NO
Related CWE: N/A
CPE: a:opencart:opencart:3.0.3.6
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Kali Linux
2020
OpenCart 3.0.3.6 – Cross Site Request Forgery
This product have the functionality which let user to add the wish-list of other user in to his/her cart. So, user A can add products to his/her wish-list and can make his/her wish-list public which let other users to see the wish-list. Attack Vector: 1. create two accounts A(attacker) & B(victim) 2. login with A and add a product in cart and capture that particular request in burpsuite. 3. Now change the quantity if want and then create a csrf poc of that request. 4. Save it as .html and send it to victim. Now the product added to victims cart.
Mitigation:
Implementing a CSRF token in the application, validating the referrer header, and using a CAPTCHA are some of the ways to mitigate CSRF attacks.