EliteHackers
SALUT 2022!!
NE-AM MUTAT PE DISCORD !
Vrei să inviți un prieten?
[T]eoria [H]aosului [C]ontrolat - https://discord.com/invite/U4HBCHzm7r
Acesta aste link-ul oficial al acestui server.
|
Lista Forumurilor Pe Tematici
|
EliteHackers | Reguli | Inregistrare | Login
POZE ELITEHACKERS
Nu sunteti logat.
|
Nou pe simpatie: deyutza07 pe Simpatie.ro
 | Femeie 23 ani Buzau cauta Barbat 25 - 48 ani |
|
r3v
Moderator
 Inregistrat: acum 16 ani
Postari: 1158
|
|
Code:
iScripts MultiCart 2.2 Multiple SQL Injection Vulnerability
Name iScripts MultiCart
Vendor http://www.iscripts.com
Versions Affected 2.2
Author Salvatore Fresta aka Drosophila
Website http://www.salvatorefresta.net
Contact salvatorefresta [at] gmail [dot] com
Date 2010-03-07
X. INDEX
I. ABOUT THE APPLICATION
II. DESCRIPTION
III. ANALYSIS
IV. SAMPLE CODE
V. FIX
I. ABOUT THE APPLICATION
iScripts MultiCart 2.2 is a unique online shopping cart
solution that enables you to have one storefront and
multiple vendors for physical or digital (downloadable)
products.
II. DESCRIPTION
The solution adopted to avoid SQL Injection flaws is not
appropriate. This allows the existence of many SQL
Injection flaws.
III. ANALYSIS
Summary:
A) Multiple SQL Injection
A) Multiple SQL Injection
The solution adopted consists in transforming the query
string in uppercase and checking the existence of the
words UNION and SELECT. But using the C-like comments in
the query string, it is possible to bypass the filter.
Example:
SELECT becomes SE/**/LE/**/CT
UNION becomes UN/**/ION
The new strings do not match with the words in the black
list but they are good for MySQL.
The following is the affected code (session.php):
$mystring = strtoupper($_SERVER['QUERY_STRING']);
$server_injec1=strpos($mystring, 'SELECT');
$server_injec2=strpos($mystring, 'UNION');
if (($server_injec1 === false) && ($server_injec2 === false) || ($server_injec1 === '0') && ($server_injec2 === '0'))
{
;
}//end if
else
{
header('location:index.php');
exit();
}
IV. SAMPLE CODE
A) Multiple SQL Injection
http://site/path/refund_request.php?orderid=SQL
V. FIX
No Fix. |
_______________________________________ http://thieves-team.com r3vyk.info mess id: doar prin PM datorita faptului ca mi-au dat add 10000 de retardati care joaca metin
|
|
| pus acum 15 ani |
|