Vulnerabilities > CVE-2008-4255 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Microsoft products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
microsoft
CWE-119
nessus
exploit available

Summary

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."

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionMS Visual Basic ActiveX Controls mscomct2.ocx Buffer Overflow PoC. CVE-2008-4255. Dos exploit for windows platform
idEDB-ID:7431
last seen2016-02-01
modified2008-12-12
published2008-12-12
reporterJerome Athias
sourcehttps://www.exploit-db.com/download/7431/
titleMicrosoft Visual Basic ActiveX Controls mscomct2.ocx Buffer Overflow PoC

Msbulletin

bulletin_idMS08-070
bulletin_url
date2008-12-09T00:00:00
impactRemote Code Execution
knowledgebase_id932349
knowledgebase_url
severityCritical
titleVulnerabilities in Visual Basic 6.0 Runtime Extended Files (ActiveX Controls) Could Allow Remote Code Execution

Nessus

  • NASL familyWindows
    NASL idSMB_KB_960715.NASL
    descriptionThe remote host is missing a list of kill bits for ActiveX controls that are known to contain vulnerabilities. If these ActiveX controls are ever installed on the remote host, either now or in the future, they would expose it to various security issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id35634
    published2009-02-11
    reporterThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/35634
    titleMS KB960715: Cumulative Security Update of ActiveX Kill Bits
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
     script_id(35634);
     script_version("1.32");
     script_cvs_date("Date: 2018/11/15 20:50:28");
    
     script_cve_id(
      "CVE-2008-4252",
      "CVE-2008-4253",
      "CVE-2008-4254",
      "CVE-2008-4255",
      "CVE-2008-4256",
      "CVE-2009-0305"
     );
     script_bugtraq_id(33663);
     script_xref(name:"IAVA", value:"2008-A-0088");
     script_xref(name:"IAVA", value:"2009-A-0016");
     script_xref(name:"IAVB", value:"2009-B-0009");
     script_xref(name:"MSKB", value:"960715");
    
     script_name(english:"MS KB960715: Cumulative Security Update of ActiveX Kill Bits");
     script_summary(english:"Determines if the newest kill bits are set");
    
     script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host is missing a security update containing
    ActiveX kill bits.");
     script_set_attribute(attribute:"description", value:
    "The remote host is missing a list of kill bits for ActiveX controls
    that are known to contain vulnerabilities. 
    
    If these ActiveX controls are ever installed on the remote host,
    either now or in the future, they would expose it to various security
    issues.");
     script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityAdvisories/2009/960715");
     script_set_attribute(attribute:"solution", value:
    "Microsoft has released an advisory for KB960715.");
     script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P");
     script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
     script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
     script_set_attribute(attribute:"exploit_available", value:"true");
     script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
     script_set_attribute(attribute:"canvas_package", value:'D2ExploitPack');
     script_cwe_id(119, 189, 264, 399);
    
     script_set_attribute(attribute:"plugin_publication_date", value:"2009/02/11");
     script_set_attribute(attribute:"plugin_type", value:"local");
     script_set_attribute(attribute:"cpe",value:"cpe:/o:microsoft:windows");
     script_set_attribute(attribute:"stig_severity", value:"I");
     script_end_attributes();
     
     script_category(ACT_GATHER_INFO);
     
     script_copyright(english:"This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.");
     script_family(english:"Windows");
     
     script_dependencies("smb_hotfixes.nasl");
     script_require_keys("SMB/Registry/Enumerated", "SMB/WindowsVersion");
     script_require_ports(139, 445);
     exit(0);
    }
    
    
    include("smb_func.inc");
    include("smb_hotfixes.inc");
    include("smb_activex_func.inc");
    
    
    if (!get_kb_item("SMB/Registry/Enumerated")) exit(0, "The 'SMB/Registry/Enumerated' KB item is missing.");
    if (hotfix_check_sp(win2k:6, xp:4, win2003:3, vista:2) <= 0)
      exit(0, "The host is not affected based on its version / service pack.");
    if (hotfix_check_server_core() == 1) exit(0, "Windows Server Core installs are not affected.");
    if (activex_init() != ACX_OK) exit(1, "Unable to initialize the ActiveX API.");
    
    
    # Test each control.
    info = "";
    clsids = make_list(
      "{FFBB3F3B-0A5A-4106-BE53-DFE1E2340CB1}",
      "{4788DE08-3552-49EA-AC8C-233DA52523B9}",
      "{1E216240-1B7D-11CF-9D53-00AA003C9CB6}",
      "{3A2B370C-BA0A-11d1-B137-0000F8753F5D}",
      "{B09DE715-87C1-11d1-8BE3-0000F8754DA1}",
      "{cde57a43-8b86-11d0-b3c6-00a0c90aea82}",
      "{6262d3a0-531b-11cf-91f6-c2863c385e30}",
      "{0ECD9B64-23AA-11d0-B351-00A0C9055D8E}",
      "{C932BA85-4374-101B-A56C-00AA003668DC}",
      "{248dd896-bb45-11cf-9abc-0080c7e7b78d}"
    );
    
    foreach clsid (clsids)
    {
      if (activex_get_killbit(clsid:clsid) == 0)
      {
        info += '  ' + clsid + '\n';
        if (!thorough_tests) break;
      }
    }
    activex_end();
    
    
    if (info)
    {
      if (report_verbosity > 0)
      {
        if (max_index(split(info)) > 1) s = "s";
        else s = "";
    
        report = string(
          "\n",
          "The kill bit has not been set for the following control", s, " :\n",
          "\n",
          info
        );
    
        if (!thorough_tests)
        {
          report = string(
            report,
            "\n",
            "Note that Nessus did not check whether there were other kill bits\n",
            "that have not been set because the 'Perofrm thorough tests' setting\n",
            "was not enabled when this scan was run.\n"
          );
        }
        security_warning(port:kb_smb_transport(), extra:report);
      }
      else security_warning(kb_smb_transport());
    }
    
  • NASL familyWindows : Microsoft Bulletins
    NASL idSMB_NT_MS08-070.NASL
    descriptionThe remote host contains a version of the ActiveX control for Visual Basic 6.0 Runtime Extended Files that may allow an attacker to execute arbitrary code on the remote host by constructing a malicious web page and enticing a victim to visit it. Note that this control may have been included with Visual Studio or FoxPro or as part of a third-party application created by one of those products.
    last seen2020-06-01
    modified2020-06-02
    plugin id35069
    published2008-12-10
    reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/35069
    titleMS08-070: Vulnerabilities in Visual Basic 6.0 ActiveX Controls Could Allow Remote Code Execution (932349)

Oval

accepted2012-11-12T04:00:36.165-05:00
classvulnerability
contributors
  • nameSudhir Gandhe
    organizationSecure Elements, Inc.
  • namePradeep R B
    organizationSecPod Technologies
  • namePradeep R B
    organizationSecPod Technologies
definition_extensions
  • commentMicrosoft Project 2003 SP3 is installed
    ovaloval:org.mitre.oval:def:5755
  • commentMicrosoft Project 2007 is installed
    ovaloval:org.mitre.oval:def:5953
  • commentMicrosoft Visual Studio .NET 2002 SP1 is installed
    ovaloval:org.mitre.oval:def:981
  • commentMicrosoft Visual Studio .NET 2003 SP1 is installed
    ovaloval:org.mitre.oval:def:168
  • commentMicrosoft Visual FoxPro is installed
    ovaloval:org.mitre.oval:def:14198
  • commentMicrosoft Visual Basic 6.0 is installed
    ovaloval:org.mitre.oval:def:15369
descriptionHeap-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."
familywindows
idoval:org.mitre.oval:def:6032
statusaccepted
submitted2008-12-09T13:31:00
titleWindows Common AVI Parsing Overflow Vulnerability
version76

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/72926/mscomct2-overflow.txt
idPACKETSTORM:72926
last seen2016-12-05
published2008-12-12
reporterJerome Athias
sourcehttps://packetstormsecurity.com/files/72926/Microsoft-Visual-Basic-ActiveX-Buffer-Overflow.html
titleMicrosoft Visual Basic ActiveX Buffer Overflow

Seebug

  • bulletinFamilyexploit
    descriptionCVE-2008-4255 Microsoft Windows Common AVI ActiveX control is prone to a remote buffer-overflow vulnerability. Remote attackers can exploit this issue to execute arbitrary code in the context of the application using the ActiveX control (typically Internet Explorer). Successful exploits will compromise the application and possibly the underlying computer. Failed attacks will cause denial-of-service conditions. Microsoft Visual Studio .NET 2003 0 Microsoft Visual Studio .NET 2002 + Microsoft Visual Basic .NET Standard 2002 + Microsoft Visual C# .NET Standard 2002 + Microsoft Visual C++ .NET Standard 2002 Microsoft Visual Studio .NET 2003 SP1 Microsoft Visual Studio .NET 2002 SP1 Microsoft Visual FoxPro 9.0 SP2 Microsoft Visual FoxPro 9.0 SP1 Microsoft Visual FoxPro 8.0 SP1 Microsoft Visual Basic 6.0 - Microsoft Windows NT 4.0 - Microsoft Windows NT 4.0 Microsoft Project Standard 2007 SP 1 Microsoft Project Standard 2007 0 Microsoft Project Professional 2007 SP 1 Microsoft Project Professional 2007 0 Microsoft Project 2003 SP3 Microsoft Project 2003 SP2 Microsoft Project 2003 SP1 Microsoft Project 2003 Microsoft Project Standard 2007 SP 1 Microsoft Security Update for Microsoft Office Project 2007 (KB949046) <a href=http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35</a> -4a2d-9fa0-4e62b6486fe6 Microsoft Visual FoxPro 8.0 SP1 Microsoft Visual FoxPro 8.0 SP1 ActiveX Controls Security Update <a href=http://www.microsoft.com/downloads/details.aspx?familyid=A6977F81-F7F6 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=A6977F81-F7F6</a> -486B-96AD-8D296D79F205 Microsoft Visual FoxPro 9.0 SP1 Microsoft Visual FoxPro 9.0 SP1 ActiveX Controls Security Update <a href=http://www.microsoft.com/downloads/details.aspx?familyid=386D27A6-B2C7 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=386D27A6-B2C7</a> -4ACC-BF3E-EDCBC7358172 Microsoft Visual Studio .NET 2003 SP1 Microsoft Visual Studio .NET 2003 Service Pack 1 ActiveX Controls Security Update Rollup <a href=http://www.microsoft.com/downloads/details.aspx?familyid=6AC7CF8F-D046 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=6AC7CF8F-D046</a> -43A8-B4EF-253153D65AED Microsoft Visual FoxPro 9.0 SP2 Microsoft Visual FoxPro 9.0 SP2 ActiveX Controls Security Update <a href=http://www.microsoft.com/downloads/details.aspx?familyid=5B1F28A9-DA8D target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=5B1F28A9-DA8D</a> -463A-8AE4-DFC8FCC6C41A Microsoft Project 2003 SP3 Microsoft Security Update for Microsoft Office Project 2003 (KB949045) <a href=http://www.microsoft.com/downloads/details.aspx?familyid=89a44042-a629 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=89a44042-a629</a> -40f3-800a-0bb45fc36591 Microsoft Visual Basic 6.0 Microsoft Microsoft Visual Basic 6.0 Service Pack 6 Security Rollup Update <a href=http://www.microsoft.com/downloads/details.aspx?familyid=E27EEBCB-095D target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=E27EEBCB-095D</a> -43EC-A19E-4A46E591715C Microsoft Project Professional 2007 0 Microsoft Security Update for Microsoft Office Project 2007 (KB949046) <a href=http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35</a> -4a2d-9fa0-4e62b6486fe6 Microsoft Project Professional 2007 SP 1 Microsoft Security Update for Microsoft Office Project 2007 (KB949046) <a href=http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35</a> -4a2d-9fa0-4e62b6486fe6 Microsoft Project Standard 2007 0 Microsoft Security Update for Microsoft Office Project 2007 (KB949046) <a href=http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=2fbf6a5b-ff35</a> -4a2d-9fa0-4e62b6486fe6 Microsoft Visual Studio .NET 2002 SP1 Microsoft Visual Studio .NET 2002 Service Pack 1 Security Update Rollup <a href=http://www.microsoft.com/downloads/details.aspx?familyid=AFAD980D-7F27 target=_blank>http://www.microsoft.com/downloads/details.aspx?familyid=AFAD980D-7F27</a> -49D9-AA23-B762C7B94CD6
    idSSV:4548
    last seen2017-11-19
    modified2008-12-10
    published2008-12-10
    reporterRoot
    titleMicrosoft Windows Common AVI ActiveX Control File Parsing Buffer Overflow Vulnerability(MS08-070)
  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:10237
    last seen2017-11-19
    modified2008-12-13
    published2008-12-13
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-10237
    titleMS Visual Basic ActiveX Controls mscomct2.ocx Buffer Overflow PoC