Vulnerabilities > CVE-2012-2897 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

The kernel-mode drivers in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, Windows 7 Gold and SP1, Windows 8, Windows Server 2012, and Windows RT, as used by Google Chrome before 22.0.1229.79 and other programs, do not properly handle objects in memory, which allows remote attackers to execute arbitrary code via a crafted TrueType font file, aka "Windows Font Parsing Vulnerability" or "TrueType Font Parsing Vulnerability."

Vulnerable Configurations

Part Description Count
Application
Google
2456
OS
Microsoft
17

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.

Msbulletin

bulletin_idMS12-075
bulletin_url
date2012-11-13T00:00:00
impactRemote Code Execution
knowledgebase_id2761226
knowledgebase_url
severityCritical
titleVulnerabilities in Windows Kernel-Mode Drivers Could Allow Remote Code Execution

Nessus

  • NASL familyWindows : Microsoft Bulletins
    NASL idSMB_NT_MS12-075.NASL
    descriptionThe remote Windows host is affected by the following remote code execution vulnerabilities: - Two use-after-free vulnerabilities exist within Windows kernel-mode drivers. (CVE-2012-2530, CVE-2012-2553) - A TrueType Font Parsing vulnerability exists due to the way TrueType font files are handled. (CVE-2012-2897)
    last seen2020-06-01
    modified2020-06-02
    plugin id62907
    published2012-11-14
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/62907
    titleMS12-075: Vulnerability in Windows Kernel-Mode Drivers Could Allow Remote Code Execution (2761226)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(62907);
      script_version("1.17");
      script_cvs_date("Date: 2019/12/04");
    
      script_cve_id("CVE-2012-2530", "CVE-2012-2553", "CVE-2012-2897");
      script_bugtraq_id(56447, 56448, 56457);
      script_xref(name:"MSFT", value:"MS12-075");
      script_xref(name:"MSKB", value:"2761226");
    
      script_name(english:"MS12-075: Vulnerability in Windows Kernel-Mode Drivers Could Allow Remote Code Execution (2761226)");
      script_summary(english:"Checks version of win32k.sys");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host is affected by remote code execution
    vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The remote Windows host is affected by the following remote code
    execution vulnerabilities:
    
      - Two use-after-free vulnerabilities exist within Windows
        kernel-mode drivers. (CVE-2012-2530, CVE-2012-2553)
    
      - A TrueType Font Parsing vulnerability exists due to the
        way TrueType font files are handled. (CVE-2012-2897)");
      script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2012/ms12-075");
      script_set_attribute(attribute:"solution", value:
    "Microsoft has released a set of patches for Windows XP, 2003, Vista,
    2008, 7, 2008 R2, 8, and 2012.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-2897");
    
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploit_framework_core", value:"true");
      script_set_attribute(attribute:"exploited_by_malware", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2012/09/25");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/11/13");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/11/14");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows : Microsoft Bulletins");
    
      script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
      script_require_keys("SMB/MS_Bulletin_Checks/Possible");
      script_require_ports(139, 445, "Host/patch_management_checks");
    
      exit(0);
    }
    
    include("audit.inc");
    include("smb_func.inc");
    include("smb_hotfixes.inc");
    include("smb_hotfixes_fcheck.inc");
    include("misc_func.inc");
    
    get_kb_item_or_exit('SMB/MS_Bulletin_Checks/Possible');
    
    bulletin = 'MS12-075';
    kb = '2761226';
    
    kbs = make_list(kb);
    if (get_kb_item('Host/patch_management_checks')) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);
    
    get_kb_item_or_exit("SMB/Registry/Enumerated");
    get_kb_item_or_exit('SMB/WindowsVersion', exit_code:1);
    
    if (hotfix_check_sp_range(xp:'3', win2003:'2', vista:'2', win7:'0,1', win8:'0') <= 0) audit(AUDIT_OS_SP_NOT_VULN);
    
    rootfile = hotfix_get_systemroot();
    if (!rootfile) exit(1, "Failed to get the system root.");
    
    share = hotfix_path2share(path:rootfile);
    if (!is_accessible_share(share:share)) audit(AUDIT_SHARE_FAIL, share);
    
    if (
      # Windows 8 / 2012
      hotfix_is_vulnerable(os:"6.2", sp:0, file:"Win32k.sys", version:"6.2.9200.16439", min_version:"6.2.9200.16000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"6.2", sp:0, file:"Win32k.sys", version:"6.2.9200.20541", min_version:"6.2.9200.20000", dir:"\system32", bulletin:bulletin, kb:kb) ||
    
      # Windows 7 / 2008 R2
      hotfix_is_vulnerable(os:"6.1", sp:0, file:"Win32k.sys", version:"6.1.7600.17147", min_version:"6.1.7600.16000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"6.1", sp:0, file:"Win32k.sys", version:"6.1.7600.21347", min_version:"6.1.7600.20000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"6.1", sp:1, file:"Win32k.sys", version:"6.1.7601.17977", min_version:"6.1.7601.17000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"6.1", sp:1, file:"Win32k.sys", version:"6.1.7601.22137", min_version:"6.1.7601.21000", dir:"\system32", bulletin:bulletin, kb:kb) ||
    
      # Windows Vista / 2008
      hotfix_is_vulnerable(os:"6.0", sp:2, file:"Win32k.sys", version:"6.0.6002.18709", min_version:"6.0.6002.18000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"6.0", sp:2, file:"Win32k.sys", version:"6.0.6002.22949", min_version:"6.0.6002.22000", dir:"\system32", bulletin:bulletin, kb:kb) ||
    
      # Windows 2003 / XP 64-bit
      hotfix_is_vulnerable(os:"5.2", sp:2, file:"Win32k.sys", version:"5.2.3790.5079", dir:"\system32", bulletin:bulletin, kb:kb) ||
    
      # Windows XP 32-bit
      hotfix_is_vulnerable(os:"5.1", sp:3, file:"Win32k.sys", version:"5.1.2600.6307", dir:"\system32", bulletin:bulletin, kb:kb)
    )
    {
      set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
      hotfix_security_hole();
      hotfix_check_fversion_end();
      exit(0);
    }
    else
    {
      hotfix_check_fversion_end();
      audit(AUDIT_HOST_NOT, 'affected');
    }
    
  • NASL familyWindows
    NASL idGOOGLE_CHROME_22_0_1229_79.NASL
    descriptionThe version of Google Chrome installed on the remote host is earlier than 22.0.1229.79 and is, therefore, affected by the following vulnerabilities : - Out-of-bounds write errors exist related to Skia and the PDF viewer. (CVE-2012-2874, CVE-2012-2883, CVE-2012-2895) - Various, unspecified errors exist related to the PDF viewer. (CVE-2012-2875) - A buffer overflow error exists related to
    last seen2020-06-01
    modified2020-06-02
    plugin id62313
    published2012-09-26
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/62313
    titleGoogle Chrome < 22.0.1229.79 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(62313);
      script_version("1.17");
      script_cvs_date("Date: 2019/12/04");
    
      script_cve_id(
        "CVE-2012-2874",
        "CVE-2012-2875",
        "CVE-2012-2876",
        "CVE-2012-2877",
        "CVE-2012-2878",
        "CVE-2012-2879",
        "CVE-2012-2880",
        "CVE-2012-2881",
        "CVE-2012-2882",
        "CVE-2012-2883",
        "CVE-2012-2884",
        "CVE-2012-2885",
        "CVE-2012-2886",
        "CVE-2012-2887",
        "CVE-2012-2888",
        "CVE-2012-2889",
        "CVE-2012-2890",
        "CVE-2012-2891",
        "CVE-2012-2892",
        "CVE-2012-2893",
        "CVE-2012-2894",
        "CVE-2012-2895",
        "CVE-2012-2897"
      );
      script_bugtraq_id(55676, 56457);
    
      script_name(english:"Google Chrome < 22.0.1229.79 Multiple Vulnerabilities");
      script_summary(english:"Checks version number of Google Chrome");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host contains a web browser that is affected by multiple
    vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Google Chrome installed on the remote host is earlier
    than 22.0.1229.79 and is, therefore, affected by the following
    vulnerabilities :
    
      - Out-of-bounds write errors exist related to Skia and
        the PDF viewer. (CVE-2012-2874, CVE-2012-2883,
        CVE-2012-2895)
    
      - Various, unspecified errors exist related to the PDF
        viewer. (CVE-2012-2875)
    
      - A buffer overflow error exists related to 'SSE2'
        optimizations. (CVE-2012-2876)
    
      - An unspecified error exists related to extensions and
        modal dialogs that can allow application crashes.
        (CVE-2012-2877)
    
      - Use-after-free errors exist related to plugin handling,
        'onclick' handling, 'SVG' text references and the PDF
        viewer. (CVE-2012-2878, CVE-2012-2887, CVE-2012-2888,
        CVE-2012-2890)
    
      - An error exists related to 'DOM' topology corruption.
        (CVE-2012-2879)
    
      - Race conditions exist in the plugin paint buffer.
        (CVE-2012-2880)
    
      - 'DOM' tree corruption can occur with plugins.
        (CVE-2012-2881)
    
      - A pointer error exists related to 'OGG' container
        handling. (CVE-2012-2882)
    
      - An out-of-bounds read error exists related to Skia.
        (CVE-2012-2884)
    
      - The possibility of a double-free error exists related to
        application exit. (CVE-2012-2885)
    
      - Universal cross-site scripting issues exist related
        to the v8 JavaScript engine bindings and frame
        handling. (CVE-2012-2886, CVE-2012-2889)
    
      - Address information can be leaked via inter process
        communication (IPC). (CVE-2012-2891)
    
      - A bypass error exists related to pop-up block.
        (CVE-2012-2892)
    
      - A double-free error exists related to 'XSL' transforms.
        (CVE-2012-2893)
    
      - An error exists related to graphics context handling.
        (CVE-2012-2894)
    
      - An unspecified memory corruption issue exists in the
        Windows 7 kernel, as used by Google Chrome.
        (CVE-2012-2897)
    
    Successful exploitation of any of these issues could lead to an
    application crash or even allow arbitrary code execution, subject to the
    user's privileges.");
      # https://chromereleases.googleblog.com/2012/09/stable-channel-update_25.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8ccfa44f");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Google Chrome 22.0.1229.79 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-2897");
    
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploit_framework_core", value:"true");
      script_set_attribute(attribute:"exploited_by_malware", value:"true");
      script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2012/09/25");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/09/25");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/09/26");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:google:chrome");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("google_chrome_installed.nasl");
      script_require_keys("SMB/Google_Chrome/Installed");
    
      exit(0);
    }
    
    include("google_chrome_version.inc");
    
    get_kb_item_or_exit("SMB/Google_Chrome/Installed");
    
    installs = get_kb_list("SMB/Google_Chrome/*");
    google_chrome_check_version(installs:installs, fix:'22.0.1229.79', severity:SECURITY_HOLE, xss:TRUE);
    

Oval

accepted2014-08-18T04:01:26.144-04:00
classvulnerability
contributors
  • nameSecPod Team
    organizationSecPod Technologies
  • namePradeep R B
    organizationSecPod Technologies
  • nameSharath S
    organizationSecPod Technologies
  • nameMaria Kedovskaya
    organizationALTX-SOFT
  • nameMaria Mikhno
    organizationALTX-SOFT
definition_extensions
  • commentMicrosoft Windows 7 is installed
    ovaloval:org.mitre.oval:def:12541
  • commentGoogle Chrome is installed
    ovaloval:org.mitre.oval:def:11914
  • commentMicrosoft Windows XP (32-bit) is installed
    ovaloval:org.mitre.oval:def:1353
  • commentMicrosoft Windows XP x64 is installed
    ovaloval:org.mitre.oval:def:15247
  • commentMicrosoft Windows Server 2003 (32-bit) is installed
    ovaloval:org.mitre.oval:def:1870
  • commentMicrosoft Windows Server 2003 (x64) is installed
    ovaloval:org.mitre.oval:def:730
  • commentMicrosoft Windows Server 2003 (ia64) Gold is installed
    ovaloval:org.mitre.oval:def:396
  • commentMicrosoft Windows Vista (32-bit) is installed
    ovaloval:org.mitre.oval:def:1282
  • commentMicrosoft Windows Vista x64 Edition is installed
    ovaloval:org.mitre.oval:def:2041
  • commentMicrosoft Windows Server 2008 (32-bit) is installed
    ovaloval:org.mitre.oval:def:4870
  • commentMicrosoft Windows Server 2008 (64-bit) is installed
    ovaloval:org.mitre.oval:def:5356
  • commentMicrosoft Windows Server 2008 (ia-64) is installed
    ovaloval:org.mitre.oval:def:5667
  • commentMicrosoft Windows 7 is installed
    ovaloval:org.mitre.oval:def:12541
  • commentMicrosoft Windows Server 2008 R2 x64 Edition is installed
    ovaloval:org.mitre.oval:def:6438
  • commentMicrosoft Windows Server 2008 R2 Itanium-Based Edition is installed
    ovaloval:org.mitre.oval:def:5954
  • commentMicrosoft Windows 7 (32-bit) is installed
    ovaloval:org.mitre.oval:def:6165
  • commentMicrosoft Windows 7 x64 Edition is installed
    ovaloval:org.mitre.oval:def:5950
  • commentMicrosoft Windows Server 2008 R2 x64 Edition is installed
    ovaloval:org.mitre.oval:def:6438
  • commentMicrosoft Windows Server 2008 R2 Itanium-Based Edition is installed
    ovaloval:org.mitre.oval:def:5954
  • commentMicrosoft Windows 8 is installed
    ovaloval:org.mitre.oval:def:15732
  • commentMicrosoft Windows Server 2012 is installed
    ovaloval:org.mitre.oval:def:16359
descriptionThe kernel-mode drivers in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, Windows 7 Gold and SP1, Windows 8, Windows Server 2012, and Windows RT, as used by Google Chrome before 22.0.1229.79 and other programs, do not properly handle objects in memory, which allows remote attackers to execute arbitrary code via a crafted TrueType font file, aka "Windows Font Parsing Vulnerability" or "TrueType Font Parsing Vulnerability."
familywindows
idoval:org.mitre.oval:def:15847
statusaccepted
submitted2012-11-16T13:02:53
titleTrueType Font Parsing Vulnerability - MS12-075
version108

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 56457 CVE ID: CVE-2012-2897 Microsoft Windows是微软发布的非常流行的操作系统。 Microsoft Windows 7内核处理特制的TrueType字体文件时存在远程代码执行漏洞,如果用户打开特制的TrueType字体文件,此漏洞可允许远程代码执行。 0 Microsoft Windows 8 Microsoft Windows 7 Microsoft Windows XP Professional Microsoft Windows XP Home Edition Microsoft Windows Vista Microsoft Windows Storage Server 2003 Microsoft Windows Server 2008 Microsoft Windows Server 2003 Web Edition Microsoft Windows Server 2003 Standard Edition Microsoft Windows Server 2003 Enterprise Editi Microsoft Windows Server 2003 Datacenter Editi 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS12-075)以及相应补丁: MS12-075:Vulnerabilities in Windows Kernel-Mode Drivers Could Allow Remote Code Execution (2761226) 链接:http://www.microsoft.com/technet/security/bulletin/MS12-075.asp
idSSV:60462
last seen2017-11-19
modified2012-11-19
published2012-11-19
reporterRoot
titleMicrosoft Windows Kernel 'Win32k.sys' TrueType字体解析远程代码执行漏洞(MS12-075)