Vulnerabilities > CVE-2007-6180 - Race Condition vulnerability in SUN Solaris 10.0/8.0/9.0

047910
CVSS 7.6 - HIGH
Attack vector
ADJACENT_NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
COMPLETE
Availability impact
COMPLETE
sun
CWE-362
nessus

Summary

Race condition in the Remote Procedure Call kernel module (rpcmod) in Sun Solaris 8 through 10 allows local users to cause a denial of service (NULL dereference and panic) via unspecified vectors.

Vulnerable Configurations

Part Description Count
OS
Sun
6

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leveraging Race Conditions
    This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.

Nessus

  • NASL familySolaris Local Security Checks
    NASL idSOLARIS8_116959.NASL
    descriptionSunOS 5.8: nfs and rpcmod patch. Date this patch was last updated by Sun : Dec/04/07
    last seen2020-06-01
    modified2020-06-02
    plugin id22507
    published2006-10-05
    reporterThis script is Copyright (C) 2006-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/22507
    titleSolaris 8 (sparc) : 116959-21
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text in this plugin was
    # extracted from the Oracle SunOS Patch Updates.
    #
    include("compat.inc");
    
    if (description)
    {
      script_id(22507);
      script_version("1.34");
      script_cvs_date("Date: 2019/10/25 13:36:24");
    
      script_cve_id("CVE-2007-2882", "CVE-2007-6180");
    
      script_name(english:"Solaris 8 (sparc) : 116959-21");
      script_summary(english:"Check for patch 116959-21");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote host is missing Sun Security Patch number 116959-21"
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "SunOS 5.8: nfs and rpcmod patch.
    Date this patch was last updated by Sun : Dec/04/07"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/116959-21"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"You should install this patch for your system to be up-to-date."
      );
      script_set_cvss_base_vector("CVSS2#AV:A/AC:M/Au:N/C:P/I:C/A:C");
      script_cwe_id(362);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:sun:solaris");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/12/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2006/10/05");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2006-2019 Tenable Network Security, Inc.");
      script_family(english:"Solaris Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Solaris/showrev");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("solaris.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    if (solaris_check_patch(release:"5.8", arch:"sparc", patch:"116959-21", obsoleted_by:"127721-02 ", package:"SUNWhea", version:"11.8.0,REV=2000.01.08.18.12") < 0) flag++;
    if (solaris_check_patch(release:"5.8", arch:"sparc", patch:"116959-21", obsoleted_by:"127721-02 ", package:"SUNWcarx", version:"11.8.0,REV=2000.01.13.13.40") < 0) flag++;
    if (solaris_check_patch(release:"5.8", arch:"sparc", patch:"116959-21", obsoleted_by:"127721-02 ", package:"SUNWcsr", version:"11.8.0,REV=2000.01.08.18.12") < 0) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:solaris_get_report());
      else security_hole(0);
      exit(0);
    }
    audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS8_X86_116960.NASL
    descriptionSunOS 5.8_x86: nfs and rpcmod patch. Date this patch was last updated by Sun : Dec/04/07
    last seen2020-06-01
    modified2020-06-02
    plugin id22508
    published2006-10-05
    reporterThis script is Copyright (C) 2006-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/22508
    titleSolaris 8 (x86) : 116960-21
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_X86_127740.NASL
    descriptionSunOS 5.10_x86: rpcmod patch. Date this patch was last updated by Sun : Dec/18/07
    last seen2018-09-01
    modified2018-08-13
    plugin id29207
    published2007-12-04
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=29207
    titleSolaris 10 (x86) : 127740-03
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_X86_119439.NASL
    descriptionSunOS 5.9_x86: NFS Daemon, rpcmod Patch. Date this patch was last updated by Sun : Mar/12/09
    last seen2016-09-26
    modified2011-09-18
    plugin id22250
    published2006-08-21
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=22250
    titleSolaris 9 (x86) : 119439-15
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_127739.NASL
    descriptionSunOS 5.10: rpcmod patch. Date this patch was last updated by Sun : Dec/07/07
    last seen2018-09-02
    modified2018-08-13
    plugin id29205
    published2007-12-04
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=29205
    titleSolaris 10 (sparc) : 127739-03
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_113278.NASL
    descriptionSunOS 5.9: NFS Daemon, rpcmod Patch. Date this patch was last updated by Sun : Mar/12/09
    last seen2016-09-26
    modified2011-09-18
    plugin id13533
    published2004-07-12
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=13533
    titleSolaris 9 (sparc) : 113278-22