Vulnerabilities > CVE-2009-1207 - Race Condition vulnerability in SUN Opensolaris and Solaris

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
sun
CWE-362
nessus

Summary

Race condition in the dircmp script in Sun Solaris 8 through 10, and OpenSolaris snv_01 through snv_111, allows local users to overwrite arbitrary files, probably involving a symlink attack on temporary files.

Vulnerable Configurations

Part Description Count
OS
Sun
227

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 idSOLARIS10_X86_141015-01.NASL
    descriptionSunOS 5.10_x86: /usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2020-06-01
    modified2020-06-02
    plugin id108023
    published2018-03-12
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/108023
    titleSolaris 10 (x86) : 141015-01
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_X86_141015.NASL
    descriptionSunOS 5.10_x86: /usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2018-09-01
    modified2018-08-13
    plugin id37297
    published2009-04-23
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=37297
    titleSolaris 10 (x86) : 141015-01
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_138896.NASL
    descriptionSunOS 5.9: usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2020-06-01
    modified2020-06-02
    plugin id38075
    published2009-04-23
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/38075
    titleSolaris 9 (sparc) : 138896-01
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_141014.NASL
    descriptionSunOS 5.10: /usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2018-09-01
    modified2018-08-13
    plugin id36861
    published2009-04-23
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=36861
    titleSolaris 10 (sparc) : 141014-01
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS8_140837.NASL
    descriptionSunOS 5.8: usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2020-06-01
    modified2020-06-02
    plugin id36494
    published2009-04-23
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/36494
    titleSolaris 8 (sparc) : 140837-01
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_X86_138897.NASL
    descriptionSunOS 5.9_x86: usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2020-06-01
    modified2020-06-02
    plugin id37711
    published2009-04-23
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/37711
    titleSolaris 9 (x86) : 138897-01
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_141014-01.NASL
    descriptionSunOS 5.10: /usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2020-06-01
    modified2020-06-02
    plugin id107525
    published2018-03-12
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/107525
    titleSolaris 10 (sparc) : 141014-01
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS8_X86_140838.NASL
    descriptionSunOS 5.8_x86: usr/bin/dircmp patch. Date this patch was last updated by Sun : Mar/19/09
    last seen2020-06-01
    modified2020-06-02
    plugin id37644
    published2009-04-23
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/37644
    titleSolaris 8 (x86) : 140838-01

Oval

accepted2009-05-18T04:00:26.719-04:00
classvulnerability
contributors
namePai Peng
organizationHewlett-Packard
definition_extensions
  • commentSolaris 8 (SPARC) is installed
    ovaloval:org.mitre.oval:def:1539
  • commentSolaris 9 (SPARC) is installed
    ovaloval:org.mitre.oval:def:1457
  • commentSolaris 10 (SPARC) is installed
    ovaloval:org.mitre.oval:def:1440
  • commentSolaris 8 (x86) is installed
    ovaloval:org.mitre.oval:def:2059
  • commentSolaris 9 (x86) is installed
    ovaloval:org.mitre.oval:def:1683
  • commentSolaris 10 (x86) is installed
    ovaloval:org.mitre.oval:def:1926
descriptionRace condition in the dircmp script in Sun Solaris 8 through 10, and OpenSolaris snv_01 through snv_111, allows local users to overwrite arbitrary files, probably involving a symlink attack on temporary files.
familyunix
idoval:org.mitre.oval:def:6183
statusaccepted
submitted2009-04-02T11:13:52.000-04:00
titleA Security Vulnerability in the Solaris dircmp(1) Shell Script may Allow Overwriting of Arbitrary Files
version34