[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

WeBid 1.0.2 presistent XSS via SQL Injection

Author
Saif
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-16353
Category
web applications
Date add
17-06-2011
Platform
php
# Exploit Title: presistent XSS through SQLi WeBid 1.0.2
# Google Dork: "powered by WeBid"
# Author: Saif El-Sherei
# Software Link: http://sourceforge.net/projects/simpleauction/
# Version: 1.0.2
# Tested on: Firefox 4, XAMPP
 
 
Info:
 
Open source php/mysql fully featured auction script. Perfect for those who
want to start their own auction site.
 
Details:
 
an attacker could inject malicous HTML/JS through a SQL injection flow in
the adsearch.php. the SQl injection flaw exist in the "maxprice" field (see
POC I). the SQL
 
injection attack cannot be elevated, so we leverage the SQL injection to
trigger an error that would write our malicious HTML/JS to the error log.
the XSS attack
 
happens when the admin or any user capable of viewing the error log from the
ACP.
 
POC I (SQL injection):
 
'0') ----> this will trigger the error
'0') OR (1)=(1 ------> will not trigger error
 
 
POC II (XSS through SQLi):
 
 
'0') <script>alert('XSS');</script>
 
Time Line:
 
15-06-2011 Vulnerability discovered
15-06-2011 Vendor notified
17-06-2011 No response from vendor, public disclosure
 


#  0day.today [2024-11-15]  #