[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Magento Commerce Server-Side Request Forgery Vulnerability

Author
bot
Risk
[
Security Risk Low
]
0day-ID
0day-ID-29487
Category
web applications
Date add
14-01-2018
Platform
php
Document Title:
===============
Magento Commerce - SSRF & XSPA Web Vulnerability


Vulnerability Class:
====================
Server Side Request Forgery



Product & Service Introduction:
===============================
Magento is an open source e-commerce web application that was launched on March 31, 2008 under the name Bento. It was developed 
by Varien (now Magento, a division of eBay) with help from the programmers within the open source community but is now owned 
solely by eBay Inc. Magento was built using parts of the Zend Framework. It uses the entity-attribute-value (EAV) database model 
to store data. In November 2013, W3Techs estimated that Magento was used by 0.9% of all websites.

Our team of security professionals works hard to keep Magento customer information secure. What`s equally important to protecting 
this data? Our security researchers and user community. If you find a site that isn`t following our policies, or a vulnerability 
inside our system, please tell us right away.

( Copy of the Vendor Homepage: http://magento.com/security  &  http://magento.com/security )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Core Research Team discovered  SSRF/XSPA vulnerability in the official Magento Commerce online service web-application.



Affected Product(s):
====================
Ebay Inc.
Product: Magento - Web Application Service 2015 Q4



Technical Details & Description:
================================
SSRF/XSPA vulnerability has been discovered in the official Magento Commerce online service web-application.

The vulnerability allows remote attackers to perform malicious server-side requests to compromise the computer system or to 
gain unauthorized access to data or sensitive information. The XSPA & SSRF allows to use the process functionality of the 
magento engine as port scanner for the local or any random remote machine in the same network. The issue is the first documented 
xspa and ssrf issue in the magento service web-applications.

The security risk of the vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 4.7.
Exploitation of the ssrf/xspa vulnerability requires a privileged web-application user account and no user interaction.
Successful exploitation of the issue can result in web-server or web-application compromise or unauthorized malicious interactions.


Proof of Concept (PoC):
=======================
Remote attackers are able to perform a local scan on the protected web-server firewall to magento.com and magentocommerce.com
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

Manual steps to reproduce the vulnerability ...
1. Open http://magento.com/security-patch (Magento Shoplift Bug Tester)
2. Write in the website input  www.magento.com:22
3. Click to bug scan for the port 22
4. Successful reproduce of the issue!

--- Scan Log NMAP ---
Starting Nmap 6.00 at 2016-08-15 15:10 EEST
Initiating Ping Scan at 15:10
Scanning magento.com (66.211.190.110) [4 ports]
Completed Ping Scan at 15:10, 0.17s elapsed (1 total hosts)
Initiating SYN Stealth Scan at 15:10
Scanning magento.com (66.211.190.110) [100 ports]
Discovered open port 80/tcp on 66.211.190.110
Discovered open port 443/tcp on 66.211.190.110
Discovered open port 8443/tcp on 66.211.190.110
Discovered open port 8080/tcp on 66.211.190.110
Completed SYN Stealth Scan at 15:10, 2.38s elapsed (100 total ports)
...    ...

Note: SSRF/XSPA allows to scan the local host to discovered the open service ports
(References: https://cwe.mitre.org/data/definitions/918.html)


Solution - Fix & Patch:
=======================
The vulnerability has been resolved as bug bounty issue by the magento security team in 2017.


Security Risk:
==============
The security risk of the ssrf/xspa web vulnerability that allows to scan the infrastructure behind the firewall is estimated as medium (CVSS 4.7).

#  0day.today [2024-11-15]  #