Exploit the possiblities

Magento Downloadable Products Cross Site Scripting

Magento Downloadable Products Cross Site Scripting
Posted Mar 6, 2018
Authored by DefenseCode, Bosko Stankovic

Magento suffers from downloadable product 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 | f77d1da16377bd36480710245f667fb2

Magento Downloadable Products Cross Site Scripting

Change Mirror Download
DefenseCode Security Advisory
Magento Stored Cross-Site Scripting a Downloadable Products

Advisory ID: DC-2018-03-003
Advisory Title: Magento Stored Cross-Site Scripting a Downloadable Products
Advisory URL: http://www.defensecode.com/advisories.php
Software: Magento
Version: Magento 2.0 prior to 2.0.18, Magento 2.1 prior to
2.1.12, Magento 2.2 prior to 2.2.3
Vendor Status: Vendor contacted, vulnerability fixed
Release Date: 06/03/2018

1. General Overview
During the security audit of Magento Open Source 2 a stored cross-site
scripting vulnerability was discovered that could lead to administrator
account takeover by a lower privileged administrator, 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.


3. Vulnerability Description
During the security analysis of Magento Open Source 2 it was
discovered that a lower privileged admin with access to Products
editing can upload a file for a downloadable product using a random
extension (ex. .aaa). Extensions like .html or .php are disallowed
but if the content of the file is HTML the application will serve
the file as such as there is no content disposition header set to
force the download. The attacker can then use the link by enticing
the higher privileged admin to open it.

Unlike a typical XSS which is often limited by length and payload
type, this gives an attacker a whole HTML file to work with.

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

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

6. Disclosure Timeline
10/11/2017 Vendor contacted through Bugcrowd platform
15/11/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

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/


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:

March 2018

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2018 Packet Storm. All rights reserved.

Security Services
Hosting By