A Really Simple Chat (ARSC) 3.3-rc2 XSS / SQL Injection



EKU-ID: 407 CVE: OSVDB-ID:
Author: expku Published: 2011-06-02 Verified: Not Verified
Download:

Rating

☆☆☆☆☆
Home


==============================
Vulnerability ID: HTB22999
Reference: http://www.htbridge.ch/advisory/multiple_sql_injections_in_a_really_simple_chat_arsc.html
Product: A Really Simple Chat (ARSC)
Vendor: http://www.reallysimplechat.org/ ( http://www.reallysimplechat.org/ ) 
Vulnerable Version: 3.3-rc2
Vendor Notification: 12 May 2011 
Vulnerability Type: SQL Injection
Risk level: High 
Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) 

Vulnerability Details:
The vulnerability exists due to failure in the "/base/admin/edit_user.php" script to properly sanitize user-supplied input in "user" variable.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.
The following PoC is available:

http://[host]/base/admin/edit_user.php?arsc_user=-1%27%20union%20select%201,version%28%29,3,4,5,6,7,8,9,10,11,12,13,14,15%20--%202

The vulnerability exists due to failure in the "/base/admin/edit_layout.php" script to properly sanitize user-supplied input in "arsc_layout_id" variable.
The following PoC is available:

http://[host]/base/admin/edit_layout.php?arsc_layout_id=-1%20union%20select%201,version%28%29,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20

The vulnerability exists due to failure in the "/base/admin/edit_room.php" script to properly sanitize user-supplied input in "arsc_room" variable.
The following PoC is available:

http://[host]/base/admin/edit_room.php?arsc_room=%27%20union%20select%201,2,version%28%29,4,5,6,7%20--%202


==============================
Vulnerability ID: HTB22997
Reference: http://www.htbridge.ch/advisory/xss_in_a_really_simple_chat_arsc.html
Product: A Really Simple Chat (ARSC)
Vendor: http://www.reallysimplechat.org/ ( http://www.reallysimplechat.org/ ) 
Vulnerable Version: 3.3-rc2
Vendor Notification: 12 May 2011 
Vulnerability Type: XSS (Cross Site Scripting)
Risk level: Medium 
Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) 

Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.
The vulnerability exists due to failure in the "dereferer.php" script to properly sanitize user-supplied input in "arsc_link" variable.
Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based auwhentication credentials, disclosure or modification of sensitive data.
The following PoC is available:

http://[host]/base/dereferer.php?arsc_link=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E