SilverStripe Security Bypass and Cross-Site Scripting Vulnerabilities


Description   Two vulnerabilities have been discovered in SilverStripe, which can be exploited by malicious users to bypass certain security restrictions and by malicious people to conduct cross-site scripting attacks.
1) Input appended to the URL via e.g. admin/reports/ is not properly sanitised in the "process()" function in sapphire/core/SSViewer.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Successful exploitation requires that the victim uses a browser that does not URL-encode the request (e.g. Internet Explorer 6).
2) An error within the implementation of access permissions does not properly verify requests to change a user's assigned groups. This can be exploited to add a user to the "Administrators" group.
Successful exploitation requires "Access to all CMS sections" and "Manage permissions for groups" privileges.
The vulnerabilities are confirmed in version 2.4.5. Prior versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
SilverStripe 2.x
     
Solution   Update to version 2.4.6.
     
CVE  
     
References   SilverStripe:
http://doc.silverstripe.org/sapphire/en/trunk/changelogs/2.4.6
SSCHADV2011-024:
http://www.rul3z.de/advisories/SSCHADV2011-024.txt
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'meta' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - GET : suspicious 'img' tag found in URL
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
     


 
 
 
 
 Risk level 
Low 

 Vulnerability First Public Report Date 
2011-10-12 

 Target Type 
Server 

 Possible exploit 
Remote