Vulnerabilities > CVE-2008-4221 - Resource Management Errors vulnerability in Apple mac OS X and mac OS X Server

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
apple
CWE-399
critical
nessus

Summary

The strptime API in Libsystem in Apple Mac OS X before 10.5.6 allows context-dependent attackers to cause a denial of service (memory corruption and application crash) or execute arbitrary code via a crafted date string, related to improper memory allocation.

Vulnerable Configurations

Part Description Count
OS
Apple
114

Common Weakness Enumeration (CWE)

Nessus

  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_10_5_6.NASL
    descriptionThe remote host is running a version of Mac OS X 10.5.x that is prior to 10.5.6. Mac OS X 10.5.6 contains security fixes for the following products : - ATS - BOM - CoreGraphics - CoreServices - CoreTypes - Flash Player Plug-in - Kernel - Libsystem - Managed Client - network_cmds - Podcast Producer - UDF
    last seen2020-06-01
    modified2020-06-02
    plugin id35111
    published2008-12-16
    reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/35111
    titleMac OS X 10.5.x < 10.5.6 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    
    if (!defined_func("bn_random")) exit(0);
    if (NASL_LEVEL < 3004) exit(0);
    
    
    
    include("compat.inc");
    
    if (description)
    {
      script_id(35111);
      script_version("1.21");
      script_cvs_date("Date: 2018/07/14  1:59:35");
    
      script_cve_id(
        "CVE-2008-1391", 
        "CVE-2008-3170", 
        "CVE-2008-3623", 
        "CVE-2008-4217", 
        "CVE-2008-4218",
        "CVE-2008-4219", 
        "CVE-2008-4220", 
        "CVE-2008-4221", 
        "CVE-2008-4222", 
        "CVE-2008-4223",
        "CVE-2008-4224", 
        "CVE-2008-4234", 
        "CVE-2008-4236", 
        "CVE-2008-4237", 
        "CVE-2008-4818",
        "CVE-2008-4819", 
        "CVE-2008-4820", 
        "CVE-2008-4821", 
        "CVE-2008-4822", 
        "CVE-2008-4823",
        "CVE-2008-4824"
      );
      script_bugtraq_id(
        28479, 
        30192, 
        32129, 
        32291, 
        32870, 
        32872, 
        32873, 
        32874, 
        32875, 
        32876, 
        32877, 
        32879, 
        32880, 
        32881
      );
    
      script_name(english:"Mac OS X 10.5.x < 10.5.6 Multiple Vulnerabilities");
      script_summary(english:"Check the version of Mac OS X");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host is missing a Mac OS X update that fixes various
    security issues." );
      script_set_attribute(attribute:"description", value:
    "The remote host is running a version of Mac OS X 10.5.x that is prior
    to 10.5.6. 
    
    Mac OS X 10.5.6 contains security fixes for the following products :
    
      - ATS
      - BOM
      - CoreGraphics
      - CoreServices
      - CoreTypes
      - Flash Player Plug-in
      - Kernel
      - Libsystem
      - Managed Client
      - network_cmds
      - Podcast Producer
      - UDF" );
      script_set_attribute(attribute:"see_also", value:"http://support.apple.com/kb/HT3338" );
      script_set_attribute(attribute:"see_also", value:"http://lists.apple.com/archives/security-announce/2008/Dec/msg00000.html" );
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Mac OS X 10.5.6 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:POC/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_cwe_id(20, 79, 119, 189, 200, 264, 287, 399);
    
      script_set_attribute(attribute:"plugin_publication_date", value: "2008/12/16");
      script_set_attribute(attribute:"patch_publication_date", value: "2008/12/15");
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:mac_os_x");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
      script_copyright(english:"This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.");
      script_dependencies("ssh_get_info.nasl", "os_fingerprint.nasl");
      exit(0);
    }
    
    
    os = get_kb_item("Host/MacOSX/Version");
    if (!os) os = get_kb_item("Host/OS");
    if (!os) exit(0);
    
    if (ereg(pattern:"Mac OS X 10\.5\.[0-5]([^0-9]|$)", string:os)) 
      security_hole(0);
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_SECUPD2008-008.NASL
    descriptionThe remote host is running a version of Mac OS X 10.4 that does not have Security Update 2008-008 applied. This security update contains fixes for the following products : - BOM - CoreGraphics - CoreServices - Flash Player Plug-in - Libsystem - network_cmds - UDF
    last seen2020-06-01
    modified2020-06-02
    plugin id35110
    published2008-12-16
    reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/35110
    titleMac OS X Multiple Vulnerabilities (Security Update 2008-008)