Twenty Year Anniversary

Magento User Info Cross Site Scripting

Magento User Info Cross Site Scripting
Posted Mar 6, 2018
Authored by DefenseCode, Bosko Stankovic

Magento suffers from user information related cross site scripting vulnerabilities. Versions affected include Magento 2.0 prior to 2.0.18, Magento 2.1 prior to 2.1.12, and Magento 2.2 prior to 2.2.3.

tags | exploit, vulnerability, xss
MD5 | 91c1b88ab3d81c67800e22cebc73902e

Magento User Info Cross Site Scripting

Change Mirror Download
DefenseCode Security Advisory
Magento Multiple Stored Cross-Site Scripting Vulnerabilities


Advisory ID: DC-2018-03-002
Advisory Title: Magento Multiple Stored Cross-Site Scripting Vulnerabilities
Advisory URL: http://www.defensecode.com/advisories.php
Software: Magento
Version: Magento 2.0 prior to 2.0.18
Vendor Status: Vendor contacted, vulnerability fixed
Release Date: 06/03/2018
Risk: MEDIUM



1. General Overview
===================
During the security audit of Magento Open Source 2 multiple medium
risk stored cross-site scripting vulnerabilities were discovered that
could lead to administrator account takeover, putting the website
customers and their payment information at risk.


2. Software Overview
====================
Magento is an ecommerce platform built on open source technology
which provides online merchants with a flexible shopping cart system,
as well as control over the look, content and functionality of their
online store. Magento offers powerful marketing, search engine
optimization, and catalog-management tools. It is a leading
enterprise-class eCommerce platform, empowering over 200,000
online retailers.

Homepage:
http://www.magento.com


3. Vulnerability Description
============================
During the security analysis of Magento Open Source 2 prior to 2.0.18
it was discovered that the application returns unescaped and
unsanitized user/customer controlled input on direct requests to
several application URLs.

User/customer controlled information such as customer first and last
name, street address, city, company, shipping and billing information
are unsanitized and unescaped in an output resulted from a direct
request to the following url:

http://website.com/admin/mui/index/render/?namespace=customer_listing&isAjax=true

User/customer first and last name information is unsanitized and
unescaped in an output resulted from a direct request to the
following urls:

http://website.com/admin/mui/index/render/?namespace=customer_online_grid&isAjax=true

http://website.com/admin/mui/index/render/?namespace=sales_order_invoice_grid&isAjax=true

http://website.com/admin/mui/index/render/?namespace=sales_order_grid&isAjax=true

The application will return a text/html response with a json-formatted
content. All aforementioned user-controlled input is prone to stored
cross-site scripting.

The prerequisite for this attack is that the Add Secret Key to URLs
option is disabled. Secret keys are an additional anti-CSRF measure in
Magento, with form keys being the primary measure (that can not be
disabled). In a team setting this option is often disabled in order
to be able to to pass admin links to coleagues, tickets, chat, etc.


4. Solution
===========
Vendor fixed the reported security issues and released a new version.
All users are strongly advised to update to the latest available
version.


5. Credits
==========
Discovered by Bosko Stankovic (bosko@defensecode.com).


6. Disclosure Timeline
======================
19/04/2017 Vendor contacted through Bugcrowd platform
19/04/2017 Vendor responded
28/02/2018 Vulnerability fixed
06/03/2018 Advisory released


7. About DefenseCode
====================
DefenseCode L.L.C. delivers products and services designed to analyze
and test web, desktop and mobile applications for security
vulnerabilities.

DefenseCode ThunderScan is a SAST (Static Application Security
Testing, WhiteBox Testing) solution for performing extensive security
audits of application source code. ThunderScan SAST performs fast and
accurate analyses of large and complex source code projects delivering
precise results and low false positive rate.

DefenseCode WebScanner is a DAST (Dynamic Application Security
Testing, BlackBox Testing) solution for comprehensive security audits
of active web applications. WebScanner will test a website's security
by carrying out a large number of attacks using the most advanced
techniques, just as a real attacker would.

Subscribe for free software trial on our website
http://www.defensecode.com/ .

E-mail: defensecode[at]defensecode.com

Website: http://www.defensecode.com
Twitter: https://twitter.com/DefenseCode/

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

May 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    15 Files
  • 2
    May 2nd
    17 Files
  • 3
    May 3rd
    30 Files
  • 4
    May 4th
    29 Files
  • 5
    May 5th
    2 Files
  • 6
    May 6th
    3 Files
  • 7
    May 7th
    13 Files
  • 8
    May 8th
    27 Files
  • 9
    May 9th
    17 Files
  • 10
    May 10th
    15 Files
  • 11
    May 11th
    8 Files
  • 12
    May 12th
    2 Files
  • 13
    May 13th
    8 Files
  • 14
    May 14th
    7 Files
  • 15
    May 15th
    43 Files
  • 16
    May 16th
    19 Files
  • 17
    May 17th
    16 Files
  • 18
    May 18th
    15 Files
  • 19
    May 19th
    3 Files
  • 20
    May 20th
    7 Files
  • 21
    May 21st
    15 Files
  • 22
    May 22nd
    40 Files
  • 23
    May 23rd
    61 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close