PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 
Site Navigation

Home:

 
Donate o Meter
Help Keep Our Servers Online AND Our Services Free!
Make donations with PayPal!
Donat-o-Meter Stats
August´s Goal:  $400.00
Due Date:  Aug 31
Net Balance:  $47.45
Left to go:  $352.55
Donations
Luckson Aug-4
Doulos Aug-4
amber222 Aug-3
 
Please Link To Me!
 
Services Available
Quality PHP Web Host!

Great Reviews!
Need help setting up your website, installing Apache, PHP, MySQL, or PhpNuke?
Need help customizing or designing scripts?
Please contact me via the Contact Us option for further details and pricing.

Link to Me

RavenPHPScripts

RavenPHPScripts

There are more Link To Me icons here.
 
Site Info v2.2.2 ©
Your IP: 38.103.63.16

 Welcome, Anonymous
Nickname
Password
Security Code:
Security Code
Type Security Code:

· Register
· Lost Password
Server Date/Time
7 August 2008 21:29:29 EDT (GMT -4)
 
Verse of the Day
 
PHP-Nuke *cat* Old Articles Block SQL Injection 
Security

SECUNIA ADVISORY ID: SA23748

VERIFY ADVISORY: http://secunia.com/advisories/23748/

CRITICAL: Moderately critical

IMPACT: Manipulation of data, Exposure of sensitive information product/2385/

DESCRIPTION: Paisterist has discovered a vulnerability in PHP-Nuke, which can be exploited by malicious people to conduct SQL injection attacks.




Input passed to the "cat" parameter through index.php to blocks/block-Old_Articles.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation e.g. allows retrieval of administrator usernames and password hashes, but requires that "register_globals" is enabled, "magic_quotes_gpc" is disabled, and the attacker knows the prefix for the database tables. The vulnerability is confirmed in version 7.9. Other versions may also be affected.

SOLUTION: Edit the source code to ensure that input is properly sanitised. Use another product.

PROVIDED AND/OR DISCOVERED BY: Paisterist

ORIGINAL ADVISORY: http://www.neosecurityteam.net/advisories/PHP-Nuke-7.9-Old-Articles-Block-cat-SQL-Injection-vulnerability-31.html






Posted on Wednesday, January 17, 2007 @ 23:28:52 EST by Raven
 
Related Links
· More about Security
· News by Raven


Most read story about Security:
PHP-Nuke *eid* SQL Injection Vulnerability

 
Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


 
Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

 

Re: PHP-Nuke *cat* Old Articles Block SQL Injection (Score: 1)
by Gremmie on Thursday, January 18, 2007 @ 11:56:53 EST
Not registered user
I looked at the code, and a simple
$cat = intval($cat);
after the global statement should fix that.

However, that begs the question...why does the block rely on some random global variable like $cat? I looked for $cat in mainfile.php and did not find it. I think that block is using several other globals that aren't defined anywhere. Could it be this block is really old and was not updated? Anyway, I didn't understand where $cat was coming from and all that code that uses it should probably get removed. I cannot recall ever seeing anything that allows the Old Articles block to display old articles from a certain category only.



Re: PHP-Nuke *cat* Old Articles Block SQL Injection (Score: 1)
by oprime2001 on Friday, January 19, 2007 @ 11:49:08 EST
Not registered user
Wouldn't NukeSentinel pick up any attempts to use this vulnerability since phpnuke blocks are required to have been called from index.php which in itself requires mainfile.php which ultimately calls NukeSentinel security procs and the such? Or am I mistaken?

Thanks.


 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum