SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Local File Include Vulnerability in Pixelpost 1.7.1


Arrow  SecurityAlert : 4062
Arrow  CVE : CVE-2008-3365
Arrow  CWE : CWE-22
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
  ExploitAlert :   4407
Arrow  Credit : Digital Security Research Group [DSecRG]
Arrow  Published : 31.07.2008

Arrow  Affected Software : Pixelpost, Pixelpost, 1.7.1



Arrow  Advisory Content :  

Digital Security Research Group [DSecRG] Advisory #DSECRG-08-033

Application: Pixelpost photoblog
Versions Affected: 1.7.1
Vendor URL: http://www.pixelpost.org/
Bug: Local File Include
Exploits: YES
Reported: 22.07.2008
Vendor response: 23.07.2008
Solution: YES
Date of Public Advisory: 28.07.2008
Authors: Digital Security Research Group [DSecRG]
(research [at] dsec [dot] ru)

Description
***********

Pixelpost photoblog has local file include vulnerability in script
index.php

Successful exploitation requires that "register_globals" is enabled.

Code
****
#################################################

$PP_supp_lang =
array('dutch'=>array('NL','Nederlands'),

'english'=>array('EN','English'),

'french'=>array('FR','Francais'),

'german'=>array('DE','Deutsch'),

'italian'=>array('IT','Italiano'),

'norwegian'=>array('NO','Norsk'),

'persian'=>array('FA','Farsi'),

'polish'=>array('PL','Polskiego'),

'portuguese'=>array('PT','Portugues'),

'simplified_chinese'=>array('CN','Chinese'),

'spanish'=>array('ES','Espanol'),

'swedish'=>array('SE','Svenska'),

'danish'=>array('DK','Dansk'),

'japanese'=>array('JP','Japanese'),

'hungarian'=>array('HU','Magyar'),

'romanian'=>array('RO','Romana'),

'russian'=>array('RU','Russian'),

'czech'=>array('CS','Cesky')
);
...
if(isset($_GET['lang'])) { $language_abr =
substr($_GET['lang'],0,2); }

foreach ($PP_supp_lang as $key => $row) {
foreach($row as $cell){
if ($cell == strtoupper($language_abr)) { $language_full =
$key; }
}
}
...
if(!empty($language_full)) {
if(file_exists("language/lang-".$language_full.".php")) {

if( !isset($_GET['x'])OR($_GET['x'] != "rss" &
$_GET['x'] != "atom")) {
require("language/lang-".$language_full.".php");
}
}else{
...

#################################################

Example:

http://[server]/[installdir]/index.php?lang=DSecRG&language_full=../../.
./../../../../../../../../../../boot.ini%00

Solution
********

Vendor fix this flaw on 27.07.2008. Security Patch can be downloaded here:

http://www.pixelpost.org/blog/2008/07/27/pixelpost-171-security-patch/

About
*****

Digital Security is leading IT security company in Russia, providing
information security consulting, audit and penetration testing services,
risk analysis and ISMS-related services and certification for ISO/IEC
27001:2005 and PCI DSS standards. Digital Security Research Group focuses
on web application and database security problems with vulnerability
reports, advisories and whitepapers posted regularly on our website.

Contact: research [at] dsec [dot] ru
http://www.dsec.ru (in Russian)



Arrow  References :

http://securityreason.com/expldownload/1/4407/1 (Exploit)
http://www.securityfocus.com/bid/30397
http://www.pixelpost.org/blog/2008/07/27/pixelpost-171-security-patch
http://www.securityfocus.com/archive/1/archive/1/494817/100/0/threaded
http://www.milw0rm.com/exploits/6150
http://www.frsirt.com/english/advisories/2008/2207/references
http://secunia.com/advisories/31239




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.