Stay in touch

Application security insights and invitations to exclusive events in your inbox


Your data will stay confidential Private and Confidential

Two CSRF Vulnerabilities in Magento

Advisory ID:HTB23270
Product:Magento
Vendor:Magento, Inc
Vulnerable Versions:1.9.2.1 and probably prior
Tested Version:1.9.2.1
Advisory Publication:September 7, 2015 [without technical details]
Vendor Notification:September 7, 2015
Vendor Fix:October 11, 2016
Public Disclosure:September 26, 2018
Latest Update:December 21, 2015
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
CVE Reference:CVE-2015-7983
Risk Level:Medium
CVSSv2 Base Score:4 (AV:N/AC:H/Au:N/C:N/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in Magento, which can be exploited to perform CSRF (Cross-Site Request Forgery) attacks and delete shipment address and whishlist items.


1) Two CSRF Vulnerabilities in Magento: CVE-2015-7983

The vulnerability exists due to failure in the "/index.php" script to properly verify the source of HTTP request. A remote unauthenticated attacker can create a specially crafted malicious web page with CSRF exploit, trick a logged-in user to visit the page, spoof the HTTP request as if it was coming from the legitimate user and delete previously added address in user’s profile or remove items from user’s whishlist.

Successful exploitation requires knowledge of address/item identifier (ID), but it can be easily brute-forced or guessed as it's an incremental integer.

Simple request for deleting customer’s address:
http://[host]/index.php/customer/address/delete/id/[ID]

Simple request for removing item from customer’s wishlist:
http://[host]/index.php/wishlist/index/remove/item/[ID]/


Solution:
Update to Magento 1.9.3 or apply SUPEE-8788 security patch.

More Information:
https://magento.com/security/patches/supee-8788


References:
[1] High-Tech Bridge Advisory HTB23270 - https://www.htbridge.com/advisory/HTB23270 - Two CSRF Vulnerabilities in Magento.
[2] Magento - https://www.magentocommerce.com/ - Magento is a flexible, feature-rich open source and enterprise eCommerce solutions help you get the most from your online channel.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] ImmuniWeb® SSLScan - Test your servers for security and compliance with PCI DSS, HIPAA and NIST.
User Comments
Add Comment


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
High-Tech Bridge on Facebook High-Tech Bridge on Twitter High-Tech Bridge on LinkedIn High-Tech Bridge RSS Feeds Send by Email
Share
Let's Talk