ID CVE-2009-1893
Summary The configtest function in the Red Hat dhcpd init script for DHCP 3.0.1 in Red Hat Enterprise Linux (RHEL) 3 allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file, related to the "dhcpd -t" command.
References
Vulnerable Configurations
  • cpe:2.3:o:redhat:enterprise_linux:3.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:3.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:3.0:*:as:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:3.0:*:as:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:3.0:*:es:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:3.0:*:es:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:3.0:*:ws:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:3.0:*:ws:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc1:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc1:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc10:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc10:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc11:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc11:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc12:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc12:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc13:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc13:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc14:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc14:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc2:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc2:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc5:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc5:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc6:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc6:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc7:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc7:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc8:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc8:*:*:*:*:*:*
  • cpe:2.3:a:isc:dhcp:3.0.1:rc9:*:*:*:*:*:*
    cpe:2.3:a:isc:dhcp:3.0.1:rc9:*:*:*:*:*:*
CVSS
Base: 6.9 (as of 29-09-2017 - 01:34)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:M/Au:N/C:C/I:C/A:C
oval via4
  • accepted 2013-04-29T04:14:52.240-04:00
    class vulnerability
    contributors
    • name Aharon Chernin
      organization SCAP.com, LLC
    • name Dragos Prisaca
      organization G2, Inc.
    definition_extensions
    • comment The operating system installed on the system is Red Hat Enterprise Linux 3
      oval oval:org.mitre.oval:def:11782
    • comment CentOS Linux 3.x
      oval oval:org.mitre.oval:def:16651
    description The configtest function in the Red Hat dhcpd init script for DHCP 3.0.1 in Red Hat Enterprise Linux (RHEL) 3 allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file, related to the "dhcpd -t" command.
    family unix
    id oval:org.mitre.oval:def:11597
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title The configtest function in the Red Hat dhcpd init script for DHCP 3.0.1 in Red Hat Enterprise Linux (RHEL) 3 allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file, related to the "dhcpd -t" command.
    version 24
  • accepted 2010-01-11T04:01:40.611-05:00
    class vulnerability
    contributors
    name Michael Wood
    organization Hewlett-Packard
    definition_extensions
    • comment VMWare ESX Server 3.0.3 is installed
      oval oval:org.mitre.oval:def:6026
    • comment VMware ESX Server 3.5.0 is installed
      oval oval:org.mitre.oval:def:5887
    description The configtest function in the Red Hat dhcpd init script for DHCP 3.0.1 in Red Hat Enterprise Linux (RHEL) 3 allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file, related to the "dhcpd -t" command.
    family unix
    id oval:org.mitre.oval:def:6440
    status accepted
    submitted 2009-09-23T15:39:02.000-04:00
    title Red Hat dhcpd init Script Symlink Flaw Lets Local Users Gain Elevated Privileges
    version 4
redhat via4
advisories
bugzilla
id 510024
title CVE-2009-1893 dhcp: insecure temporary file use in the dhcpd init script
oval
AND
  • comment Red Hat Enterprise Linux 3 is installed
    oval oval:com.redhat.rhba:tst:20070026001
  • OR
    • AND
      • comment dhclient is earlier than 7:3.0.1-10.2_EL3
        oval oval:com.redhat.rhsa:tst:20091154006
      • comment dhclient is signed with Red Hat master key
        oval oval:com.redhat.rhsa:tst:20091136007
    • AND
      • comment dhcp is earlier than 7:3.0.1-10.2_EL3
        oval oval:com.redhat.rhsa:tst:20091154002
      • comment dhcp is signed with Red Hat master key
        oval oval:com.redhat.rhsa:tst:20091136003
    • AND
      • comment dhcp-devel is earlier than 7:3.0.1-10.2_EL3
        oval oval:com.redhat.rhsa:tst:20091154004
      • comment dhcp-devel is signed with Red Hat master key
        oval oval:com.redhat.rhsa:tst:20091136005
rhsa
id RHSA-2009:1154
released 2009-07-14
severity Critical
title RHSA-2009:1154: dhcp security update (Critical)
rpms
  • dhclient-7:3.0.1-10.2_EL3
  • dhcp-7:3.0.1-10.2_EL3
  • dhcp-devel-7:3.0.1-10.2_EL3
refmap via4
bid 35670
confirm https://bugzilla.redhat.com/show_bug.cgi?id=510024
sectrack 1022554
secunia 35831
xf dhcp-dhcpdt-symlink(51718)
Last major update 29-09-2017 - 01:34
Published 17-07-2009 - 16:30
Back to Top