Adobe Cross Site Scripting / Open Redirect

Type packetstorm
Reporter Daniel Diez Tainta
Modified 2016-02-19T00:00:00


                                            `Document Title:  
Adobe - Multiple Client Side Cross Site Scripting Web Vulnerabilities  
References (Source):  
PSIRT ID: 4260 / 4261  
Release Date:  
Vulnerability Laboratory ID (VL-ID):  
Common Vulnerability Scoring System:  
Product & Service Introduction:  
Whether it is a smartphone or tablet app, a game, a video, a digital magazine, a website, or an online experience,  
chances are that it was touched by Adobe technology. Our tools and services enable our customers to create  
groundbreaking digital content, deploy it across media and devices, and then continually measure and optimize it  
based on user data. By providing complete solutions that combine digital media creation with data-driven marketing,  
we help businesses improve their communications, strengthen their brands, and ultimately achieve greater business success.  
(Copy of the Vendor Homepage:  
Abstract Advisory Information:  
An independent vulnerability laboratory researcher discovered multiple client-side vulnerabilities in the official adobe online-service web-application.  
Vulnerability Disclosure Timeline:  
2015-10-29: Researcher Notification & Coordination (Daniel Díez Tainta - DaniLabs)  
2015-10-30: Vendor Notification (Adobe PSIRT - Security Acknowledgements)  
2015-11-03: Vendor Response/Feedback (Adobe PSIRT - Security Acknowledgements)  
2015-02-03: Vendor Fix/Patch (Adobe - Developer Team)  
2015-02-14: Security Reward (Adobe PSIRT - Security Acknowledgements)  
2015-02-15: Public Disclosure (Vulnerability Laboratory)  
Discovery Status:  
Affected Product(s):  
Adobe Systems  
Product: Online Service - Web Application 2015 Q4  
Exploitation Technique:  
Severity Level:  
Technical Details & Description:  
Multiple client-side web vulnerabilities has been discovered in the official Adobe (arvato) online service web-application. The first vulnerability   
is a Cross Site Scripting of type reflected. The second vulnerability is an open redirect is an application that takes a parameter and redirects an   
user to the parameter value without any validation.  
The vulnerability is located in the `tduid` and `url` parameter values of the arvato_redirect.html file GET method request. The `tduid` parameter   
receives as argument `0`. The `url` parameter receives as argument an url or javascript code. Remote attackers are able to inject script codes   
to the client-side browser to application GET method requests. The attack vector of the issues are client-side and the request method to inject   
is GET. An attacker can send an url like and the request redirect to the external target url without approval.  
An attacker can also send a javascript code like `javascript:alert(documen.cookie)` and the request executes without secure validation.  
The security risk of the client-side web vulnerabilities are estimated as medium with a cvss (common vulnerability scoring system) count of 3.0.  
Exploitation of the non-persistent web vulnerabilities requires no privileged web application user account and low or medium user interaction.   
Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing, non-persistent external redirects,   
non-persistent load of malicious script codes or non-persistent web module context manipulation.  
Request Method(s):  
[+] GET  
Vulnerable Module(s):  
[+] Adobe - arvato  
Vulnerable File(s):  
[+] arvato_redirect.html  
Vulnerable Parameter(s):  
[+] tduid  
[+] url  
Proof of Concept (PoC):  
The client-side vulnerabilities can be exploited by remote attackers without privileged web-application user account and with low or medium user interaction.  
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.  
PoC: Cross Site Scripting  
PoC: Open Redirect  
--- PoC Session Logs [GET] ---  
Status: OK[200]  
Load Flags[LOAD_DOCUMENT_URI LOAD_INITIAL_DOCUMENT_URI ] Größe des Inhalts[unknown] Mime Type[unknown]  
Request Header:  
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0]  
Accept-Encoding[gzip, deflate]  
Cookie[dtLatC=56; dtPC=198644794_638h1; TRADEDOUBLER=0; mbox=session#1446198637998-786547#1446200498|PC#1446198637998-786547.26_19#1449222639;   
s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2B199EBC05314EB1-6000011420006DAD[CE];   
sfdc_session=-; s_sess=%20s_cc%3Dtrue%3B%20s_cpc%3D1%3B%20s_sq%3D%3B%20s_demandbase_v2.2%3Ddone%3B%20s_dmdbase%3D%255Bn%252Fa%255D%253A%255Bn%252Fa%2  
_nr%3D1446198638908-New%7C1477734638908%3B; s_cc=true; aam_uuid=88603075514468463170269453653802973821;   
PoC: Source (Arvato Affiliate tracking Redirect Page)  
function setCookie(name, value, expires, path, domain, secure)  
console.log("Entering to set Cookie");  
var today = new Date();  
today.setTime( today.getTime() );  
if ( expires )  
expires = expires * 1000 * 60 * 60 * 24;  
var expires_date = new Date( today.getTime() + (expires) );  
document.cookie= name + "=" + escape(value) +  
((expires) ? "; expires=" + expires_date.toGMTString() : "") +  
((path) ? "; path=" + path : "") +  
((domain) ? "; domain=" + domain : "") +  
((secure) ? "; secure" : "");  
function getVar(name)  
get_string =;  
return_value = '';  
name_index = get_string.indexOf(name + '=');  
if(name_index != -1)  
get_string = get_string.substr(name_index + name.length + 1, get_string.length - name_index);  
end_of_value = get_string.indexOf('&');  
if(end_of_value != -1)  
value = get_string.substr(0, end_of_value);  
value = get_string;  
if(return_value == '' || value == '')  
return_value += value;  
return_value += ', ' + value;  
while(name_index != -1)  
space = return_value.indexOf('+');  
while(space != -1)  
return_value = return_value.substr(0, space) + ' ' + return_value.substr(space + 1, return_value.length);  
space = return_value.indexOf('+');  
function redirTo()  
var strReturn = "";  
var strHref = document.location.href;  
if ( strHref.indexOf("&url=") > -1 )  
strReturn = strHref.substr(strHref.indexOf("&url=")+5);  
strReturn = "";  
return strReturn;  
var mytduid = getVar('tduid');  
console.log("TDUID : "+mytduid);  
setCookie('TRADEDOUBLER', mytduid, 365,"/","",true);  
window.location = redirTo();  
Solution - Fix & Patch:  
The open vulnerability can be patched by a restriction of the requested parameters in the url value. Disallow special chars and use a whitelist to deny external redirects.  
The client-side cross site scripting vulnerability can be patched by a secure parse and encode of the vulnerable tduid value in the arvato_redirect.html file.  
Disallow special chars and filter the input to correct the context to prevent further client-side javascript code injection attacks against the web-application.  
Security Risk:  
The security risk of the client-side cross site scripting web vulnerability in the adobe web-application is estimated as medium. (CVSS 3.0)  
The security risk of the client-side open redirect web vulnerability in the adobe web-application is estimated as low. (CVSS 2.1)  
Credits & Authors:  
Daniel Díez Tainta - (@DaniLabs)  
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: - -  
Contact: - -  
Section: - -  
Social:!/vuln_lab - -  
Feeds: - -  
Programs: - -  
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   
( or to get a permission.  
Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™