CVE-2007-6404 : Détail

CVE-2007-6404

Directory Traversal
A01-Broken Access Control
2.4%V3
Network
2007-12-17
17h00 +00:00
2018-10-15
18h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Directory traversal vulnerability in Sergey Lyubka Simple HTTPD (shttpd) 1.38 and earlier on Windows allows remote attackers to read arbitrary files via a ..\ (dot dot backslash) in the URI.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-22 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 5 AV:N/AC:L/Au:N/C:N/I:P/A:N [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 : 4700

Date de publication : 2007-12-06 23h00 +00:00
Auteur : Luigi Auriemma
EDB Vérifié : Yes

####################################################################### Luigi Auriemma Application: Simple HTTPD http://shttpd.sourceforge.net Versions: <= 1.38 Platforms: Windows, *nix, QNX, RTEMS only Windows seems vulnerable Bugs: A] directory traversal B] scripts and CGI viewing/downloading (%20 char found by Shay priel in Jun 2007) Exploitation: remote Date: 07 Dec 2007 Author: Luigi Auriemma e-mail: [email protected] web: aluigi.org ####################################################################### 1) Introduction 2) Bugs 3) The Code 4) Fix ####################################################################### =============== 1) Introduction =============== Simple HTTPD (shttpd) is an open source web server created for embedded systems. ####################################################################### ======= 2) Bugs ======= ---------------------- A] directory traversal ---------------------- Using the "..\" pattern is possible to download any file in the disk on which is located the web root directory. -------------------------------------- B] scripts and CGI viewing/downloading -------------------------------------- Any script or CGI in the server can be viewed/downloaded instead of being executed simply appending the chars '+', '.', %20 (this one reported by Shay priel in the summer 2007), %2e and any other byte (in hex format too) major than 0x7f to the requested filename. Note that only Windows seems vulnerable to the above bugs. ####################################################################### =========== 3) The Code =========== A] http://SERVER/..\..\..\boot.ini http://SERVER/..\%2e%2e%5c..\boot.ini B] http://SERVER/file.php+ http://SERVER/file.php. http://SERVER/file.php%80 http://SERVER/file.php%ff ####################################################################### ====== 4) Fix ====== I have posted the problems in the shttpd-general mailing-list but there is no reply yet: http://sourceforge.net/mailarchive/forum.php?forum_name=shttpd-general ####################################################################### --- Luigi Auriemma http://aluigi.org # milw0rm.com [2007-12-07]

Products Mentioned

Configuraton 0

Microsoft>>Windows >> Version *

Shttp>>Shttp >> Version To (including) 1.38

    Références

    http://securityreason.com/securityalert/3457
    Tags : third-party-advisory, x_refsource_SREASON
    http://osvdb.org/44013
    Tags : vdb-entry, x_refsource_OSVDB
    https://www.exploit-db.com/exploits/4700
    Tags : exploit, x_refsource_EXPLOIT-DB
    http://www.securityfocus.com/bid/26768
    Tags : vdb-entry, x_refsource_BID