[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44.0505161202001.22146-100000@bugsbunny.castlecops.com>
Date: Mon May 16 17:06:09 2005
From: zx at castlecops.com (Paul Laudanski)
Subject: Re: Postnuke 0.750 - 0.760rc4 local file inclusion
On Mon, 16 May 2005, pokley wrote:
> Product : Postnuke 0.750 (http://www.postnuke.com)
> Description: Postnuke 0.750 - 0.760rc4 local file inclusion
> Severity: High
>
> Proof of concept
> ================
> http://server.com/index.php?module=Blocks&type=lang&func=../../../../../../etc/passwd%00
>
> Fix
> ===
> Fix Available from postnuke cvs since 5th May 2005
>
> http://cvs.postnuke.com/viewcvs.cgi/Historic_PostNuke_Library/postnuke-devel/html/includes/pnMod.php.diff?r1=1.47&r2=1.48
Directory traversal in a PHP environment can be avoided in a few different
ways:
1) Proper programming practice,
2) Usage of http://php.net/basename,
3) Install modsecurity and prevent path traversal,
4) Disable globals in php.ini.
--
Sincerely,
Paul Laudanski .. Computer Cops, LLC.
Microsoft MVP Windows-Security 2005
CastleCops(SM)... http://castlecops.com
CC Blog ......... http://blog.castlecops.com
Staff Blogs ..... http://busterbunny.castlecops.com
Our Vision ...... http://castlecops.com/postt63382.html
http://cuddlesnkisses.com http://justalittlepoke.com http://zhen-xjell.com
________ Information from Computer Cops, L.L.C. ________
This message was checked by NOD32 Antivirus System for Linux Mail Server.
part000.txt - is OK
http://castlecops.com
Powered by blists - more mailing lists