Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple XSS Vulnerabilities in Xaraya

Advisory ID:HTB23156
Product:Xaraya
Vendor:Xaraya Development Group
Vulnerable Versions:2.4.0-b1 and probably prior
Tested Version:2.4.0-b1
Advisory Publication:May 15, 2013 [without technical details]
Vendor Notification:May 15, 2013
Public Disclosure:June 26, 2013
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2013-3639
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Solution Available
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered four XSS vulnerabilities in Xaraya, which can be exploited to perform cross-site scripting attacks against administrators of vulnerable application.

1) Multiple Cross-Site Scripting (XSS) in Xaraya: CVE-2013-3639
1.1 The vulnerability exists due to insufficient sanitisation of user-supplied data passed via the "id" HTTP GET parameter to "/index.php" script. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to display administrator's cookies:
http://xaraya/index.php?func=modinfonew&id=%3Cscript%3Ealert%28document.cook ie%29;%3C/script%3E&module=modules&type=admin

1.2 The vulnerability exists due to insufficient filtration of user-supplied data passed via the "interface" HTTP GET parameter to "/index.php" script. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to display administrator's cookies:
http://xaraya/index.php?block_id=7&func=modify_instance&interface=%3Cscript% 3Ealert%28document.cookie%29;%3C/script%3E&module=blocks&tab=config&type=adm in

1.3 The vulnerability exists due to insufficient sanitisation of user-supplied data passed via the "name" HTTP GET parameter to "/index.php" script. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to display administrator's cookies:
http://xaraya/index.php?func=aliases&module=modules&name=%3Cscript%3Ealert%2 8document.cookie%29;%3C/script%3E&type=admin

1.4 The vulnerability exists due to insufficient filtration of user-supplied data passed via the "tabmodule" HTTP GET parameter to "/index.php" script. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to display administrator's cookies:
http://xaraya/index.php?func=assignprivileges&module=privileges&tab=authsyst em&tabmodule=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E&type=admin

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Vendor did not reply to 8 notifications by email, 1 notification via website, 1 notification via twitter, 1 notification via github and 4 notifications via sourceforge. Currently we are not aware of any official solution for these vulnerabilities.

Unofficial patch developed by High-Tech Bridge Security Research Lab is available here: https://www.immuniweb.com/advisory/HTB23156-patch.zip


References:
[1] High-Tech Bridge Advisory HTB23156 - https://www.immuniweb.com/advisory/HTB23156 - Multiple XSS Vulnerabilities in Xaraya.
[2] Xaraya - http://www.xaraya.com - Xaraya is a cutting edge open source framework (written in PHP) on which developers can create sophisticated web applications and designers enjoy considerable flexibility.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential