The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


SQL Injection in Chinese ASP Webcounter


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: 19 Jul 2005 08:51:41 -0000
From: [email protected]
To: [email protected]
Subject: SQL Injection in Chinese ASP Webcounter
X-Virus-Scanned: antivirus-gw at tyumen.ru

I found a vulnerability in a webcounter quite spread in China,
I was not able to retrieve its name (if someone could help...).
You can find examples of this webcounter by searching for
&quot;StatDay.asp&quot; (hourly statistics for a given day), &quot;StatMonth.asp&quot; 
(daily statistics for a given month) or &quot;StatYear.asp&quot;
(monthly statistics for a given year).
>From some URLs it is possible to download the whole package.
This software is written in ASP (there is also a PHP version),
and it has a SQL Injection vulnerability:
for example you can call the script StatYear with parameter &quot;QYear&quot;
[...]/StatYear.asp?QYear=2004
and retrieve the stats for 2004.
The input is not filtered properly, so you can send a request like:
[...]/StatYear.asp?QYear=2006%26%22%27%20union%20Select%20asc(mid(PassWord,1,1))%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%20From%20Infolist
as Infolist is the (MS Access) table which stores the informations
about the site being analyzed.


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру