From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 19 Apr 2005 11:52:01 +0200
Subject: [UNIX] PHP-Nuke Blind SQL Injection (Download Module)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20050419102648.63F0C5856@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
PHP-Nuke Blind SQL Injection (Download Module)
------------------------------------------------------------------------
SUMMARY
<http://phpnuke.org/> Php-Nuke is "a popular open source content
management system, written in PHP by Francisco Burzi. This CMS is used on
many thousands websites, because it's freeware, easy to install and manage
and has broad set of features".
Several blind SQL injection vulnerabilities were discovered in PHP-Nuke.
DETAILS
Vulnerable Systems:
* PHP-Nuke version 7.6
An insert SQL Injection exists in function Add(), variables $email, $url
are vulnerable to injection, this is a blind SQL Injection, meaning that
no error will be displayed:
http://[HOST]/[DIR]/modules.php?name=Downloads&d_op=Add&title=title&url=ma& description=description &email=',[SQL]
An insert SQL Injection exists in function modifydownloadrequestS(),
$email, $url variables are vulnerable:
http://[HOST]/[DIR]/modules.php?name=Downloads&d_op=modifydownloadrequestS&url=',[SQL]
An insert SQL injection exists in viewsdownload() function:
http://[HOST]/[DIR]/modules.php?name=Downloads&d_op=viewsdownload&min=[SQL]
Resulting SQL:
SELECT lid, url, title, description, date, hits, downloadratingsummary,
totalvotes, totalcomments, filesize, version, homepage FROM
nuke_downloads_downloads WHERE sid='0' order by title ASC limit [SQL],10
An insert SQL injection exists in search() function:
http://[HOST]/[DIR]/modules.php?name=Downloads&d_op=search&min=[SQL]
Resulting SQL:
SELECT lid, cid, title, url, description, date, hits,
downloadratingsummary, totalvotes, totalcomments, filesize, version,
homepage FROM nuke_downloads_downloads WHERE title LIKE '%%' OR
description LIKE '%%' ORDER BY title ASC LIMIT [SQL],10
ADDITIONAL INFORMATION
The information has been provided by <mailto:max@jestsuper.pl.>
Maksymilian Arciemowicz.
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.