Vulnerabilities > CVE-2008-1684 - Race Condition vulnerability in SUN Solaris 10
Attack vector
LOCAL Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
COMPLETE Summary
inetd on Sun Solaris 10, when debug logging is enabled, allows local users to write to arbitrary files via a symlink attack on the /var/tmp/inetd.log temporary file.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 2 |
Common Weakness Enumeration (CWE)
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 family Solaris Local Security Checks NASL id SOLARIS10_127718.NASL description SunOS 5.10: svc.startd and rpc.metad patch. Date this patch was last updated by Sun : Apr/01/08 last seen 2018-09-01 modified 2018-08-13 plugin id 31759 published 2008-04-04 reporter Tenable source https://www.tenable.com/plugins/index.php?view=single&id=31759 title Solaris 10 (sparc) : 127718-05 code #%NASL_MIN_LEVEL 80502 # @DEPRECATED@ # # This script has been deprecated as the associated patch is not # currently a recommended security fix. # # Disabled on 2011/10/24. # # # (C) Tenable Network Security, Inc. # # if ( ! defined_func("bn_random") ) exit(0); include("compat.inc"); if(description) { script_id(31759); script_version("1.17"); script_name(english: "Solaris 10 (sparc) : 127718-05"); script_cve_id("CVE-2008-1684"); script_set_attribute(attribute: "synopsis", value: "The remote host is missing Sun Security Patch number 127718-05"); script_set_attribute(attribute: "description", value: 'SunOS 5.10: svc.startd and rpc.metad patch. Date this patch was last updated by Sun : Apr/01/08'); script_set_attribute(attribute: "solution", value: "You should install this patch for your system to be up-to-date."); script_set_attribute(attribute: "see_also", value: "http://download.oracle.com/sunalerts/1019015.1.html"); script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:C"); script_cwe_id(59,362); script_set_attribute(attribute:"plugin_publication_date", value: "2008/04/04"); script_cvs_date("Date: 2019/10/25 13:36:24"); script_end_attributes(); script_summary(english: "Check for patch 127718-05"); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2008-2019 Tenable Network Security, Inc."); family["english"] = "Solaris Local Security Checks"; script_family(english:family["english"]); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/Solaris/showrev"); exit(0); } # Deprecated. exit(0, "The associated patch is not currently a recommended security fix.");
NASL family Solaris Local Security Checks NASL id SOLARIS10_X86_127719.NASL description SunOS 5.10_x86: svc.startd and rpc.metad p. Date this patch was last updated by Sun : Apr/01/08 last seen 2018-09-01 modified 2018-08-13 plugin id 31334 published 2008-03-04 reporter Tenable source https://www.tenable.com/plugins/index.php?view=single&id=31334 title Solaris 10 (x86) : 127719-05 code #%NASL_MIN_LEVEL 80502 # @DEPRECATED@ # # This script has been deprecated as the associated patch is not # currently a recommended security fix. # # Disabled on 2011/10/24. # # # (C) Tenable Network Security, Inc. # # if ( ! defined_func("bn_random") ) exit(0); include("compat.inc"); if(description) { script_id(31334); script_version("1.17"); script_name(english: "Solaris 10 (x86) : 127719-05"); script_cve_id("CVE-2008-1684"); script_set_attribute(attribute: "synopsis", value: "The remote host is missing Sun Security Patch number 127719-05"); script_set_attribute(attribute: "description", value: 'SunOS 5.10_x86: svc.startd and rpc.metad p. Date this patch was last updated by Sun : Apr/01/08'); script_set_attribute(attribute: "solution", value: "You should install this patch for your system to be up-to-date."); script_set_attribute(attribute: "see_also", value: "http://download.oracle.com/sunalerts/1019015.1.html"); script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:C"); script_cwe_id(59,362); script_set_attribute(attribute:"plugin_publication_date", value: "2008/03/04"); script_cvs_date("Date: 2019/10/25 13:36:24"); script_end_attributes(); script_summary(english: "Check for patch 127719-05"); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2008-2019 Tenable Network Security, Inc."); family["english"] = "Solaris Local Security Checks"; script_family(english:family["english"]); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/Solaris/showrev"); exit(0); } # Deprecated. exit(0, "The associated patch is not currently a recommended security fix.");
Oval
accepted | 2008-05-19T04:00:13.301-04:00 | ||||||||
class | vulnerability | ||||||||
contributors |
| ||||||||
definition_extensions |
| ||||||||
description | inetd on Sun Solaris 10, when debug logging is enabled, allows local users to write to arbitrary files via a symlink attack on the /var/tmp/inetd.log temporary file. | ||||||||
family | unix | ||||||||
id | oval:org.mitre.oval:def:5369 | ||||||||
status | accepted | ||||||||
submitted | 2008-04-08T07:20:30.000-04:00 | ||||||||
title | Security Vulnerability in inetd(1M) Daemon When Debug Logging is Enabled | ||||||||
version | 35 |
References
- http://secunia.com/advisories/29654
- http://securitytracker.com/id?1019781
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-233284-1
- http://www.securityfocus.com/bid/28584
- http://www.vupen.com/english/advisories/2008/1076
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41626
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5369