ID CVE-2008-4579
Summary The (1) fence_apc and (2) fence_apc_snmp programs, as used in (a) fence 2.02.00-r1 and possibly (b) cman, when running in verbose mode, allows local users to append to arbitrary files via a symlink attack on the apclog temporary file.
References
Vulnerable Configurations
  • cpe:2.3:a:gentoo:fence:2.02.00:r1
    cpe:2.3:a:gentoo:fence:2.02.00:r1
  • cpe:2.3:a:gentoo:cman:2.02.00:r1
    cpe:2.3:a:gentoo:cman:2.02.00:r1
CVSS
Base: 1.9 (as of 16-10-2008 - 10:55)
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
NONE PARTIAL NONE
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-875-1.NASL
    description Multiple insecure temporary file handling vulnerabilities were discovered in Red Hat Cluster. A local attacker could exploit these to overwrite arbitrary local files via symlinks. (CVE-2008-4192, CVE-2008-4579, CVE-2008-4580, CVE-2008-6552) It was discovered that CMAN did not properly handle malformed configuration files. An attacker could cause a denial of service (via CPU consumption and memory corruption) in a node if the attacker were able to modify the cluster configuration for the node. (CVE-2008-6560). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 43368
    published 2009-12-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=43368
    title Ubuntu 6.06 LTS / 8.04 LTS / 8.10 : redhat-cluster, redhat-cluster-suite vulnerabilities (USN-875-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201009-09.NASL
    description The remote host is affected by the vulnerability described in GLSA-201009-09 (fence: Multiple symlink vulnerabilities) The fence_apc, fence_apc_snmp (CVE-2008-4579) and fence_manual (CVE-2008-4580) programs contain symlink vulnerabilities. Impact : These vulnerabilities may allow arbitrary files to be overwritten with root privileges. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 49732
    published 2010-10-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=49732
    title GLSA-201009-09 : fence: Multiple symlink vulnerabilities
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20110216_FENCE_ON_SL4_X.NASL
    description Insecure temporary file use flaws were found in fence_egenera, fence_apc, and fence_apc_snmp. A local attacker could use these flaws to overwrite an arbitrary file writable by the victim running those utilities via a symbolic link attack. (CVE-2008-4192, CVE-2008-4579) This update also fixes the following bugs : - fence_apc_snmp now waits for five seconds after fencing to properly get status. (BZ#494587) - The fence_drac5 help output now shows the proper commands. (BZ#498870) - fence_scsi_test.pl now verifies that sg_persist is in the path before running. (BZ#500172) - fence_drac5 is now more consistent with other agents and uses module_name instead of modulename. (BZ#500546) - fence_apc and fence_wti no longer fail with a pexpect exception. (BZ#501890, BZ#504589) - fence_wti no longer issues a traceback when an option is missing. (BZ#508258) - fence_sanbox2 is now able to properly obtain the status after fencing. (BZ#510279) - Fencing no longer fails if fence_wti is used without telnet. (BZ#510335) - fence_scsi get_scsi_devices no longer hangs with various devices. (BZ#545193) - fence_ilo no longer fails to reboot with ilo2 firmware 1.70. (BZ#545682) - Fixed an issue with fence_ilo not rebooting in some implementations. (BZ#576036) - fence_ilo no longer throws exceptions if the user does not have power privileges. (BZ#576178) As well, this update adds the following enhancements : - Support has been added for SSH-enabled RSA II fence devices. (BZ#476161) - The APC fence agent will now work with a non-root account. (BZ#491643)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 60958
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60958
    title Scientific Linux Security Update : fence on SL4.x i386/x86_64
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-9042.NASL
    description This update includes security fixes for: CVE-2008-4192 CVE-2008-4579 among many other upstream bug fixes. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-21
    plugin id 34482
    published 2008-10-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34482
    title Fedora 9 : cman-2.03.08-1.fc9 / gfs2-utils-2.03.08-1.fc9 / rgmanager-2.03.08-1.fc9 (2008-9042)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2009-1341.NASL
    description Updated cman packages that fix several security issues, various bugs, and add enhancements are now available for Red Hat Enterprise Linux 5. This update has been rated as having low security impact by the Red Hat Security Response Team. The Cluster Manager (cman) utility provides services for managing a Linux cluster. Multiple insecure temporary file use flaws were found in fence_apc_snmp and ccs_tool. A local attacker could use these flaws to overwrite an arbitrary file writable by a victim running those utilities (typically root) with the output of the utilities via a symbolic link attack. (CVE-2008-4579, CVE-2008-6552) Bug fixes : * a buffer could overflow if cluster.conf had more than 52 entries per block inside the block. The limit is now 1024. * the output of the group_tool dump subcommands were NULL padded. * using device='' instead of label='' no longer causes qdiskd to incorrectly exit. * the IPMI fencing agent has been modified to time out after 10 seconds. It is also now possible to specify a different timeout value with the '-t' option. * the IPMI fencing agent now allows punctuation in passwords. * quickly starting and stopping the cman service no longer causes the cluster membership to become inconsistent across the cluster. * an issue with lock syncing caused 'receive_own from' errors to be logged to '/var/log/messages'. * an issue which caused gfs_controld to segfault when mounting hundreds of file systems has been fixed. * the LPAR fencing agent now properly reports status when an LPAR is in Open Firmware mode. * the LPAR fencing agent now works properly with systems using the Integrated Virtualization Manager (IVM). * the APC SNMP fencing agent now properly recognizes outletStatusOn and outletStatusOff return codes from the SNMP agent. * the WTI fencing agent can now connect to fencing devices with no password. * the rps-10 fencing agent now properly performs a reboot when run with no options. * the IPMI fencing agent now supports different cipher types with the '-C' option. * qdisk now properly scans devices and partitions. * cman now checks to see if a new node has state to prevent killing the first node during cluster setup. * 'service qdiskd start' now works properly. * the McData fence agent now works properly with the McData Sphereon 4500 Fabric Switch. * the Egenera fence agent can now specify an SSH login name. * the APC fence agent now works with non-admin accounts when using the 3.5.x firmware. * fence_xvmd now tries two methods to reboot a virtual machine. * connections to OpenAIS are now allowed from unprivileged CPG clients with the user and group of 'ais'. * groupd no longer allows the default fence domain to be '0', which previously caused rgmanager to hang. Now, rgmanager no longer hangs. * the RSA fence agent now supports SSH enabled RSA II devices. * the DRAC fence agent now works with the Integrated Dell Remote Access Controller (iDRAC) on Dell PowerEdge M600 blade servers. * fixed a memory leak in cman. * qdisk now displays a warning if more than one label is found with the same name. * the DRAC5 fencing agent now shows proper usage instructions for the '-D' option. * cman no longer uses the wrong node name when getnameinfo() fails. * the SCSI fence agent now verifies that sg_persist is installed. * the DRAC5 fencing agent now properly handles modulename. * QDisk now logs warning messages if it appears its I/O to shared storage is hung. * fence_apc no longer fails with a pexpect exception. * removing a node from the cluster using 'cman_tool leave remove' now properly reduces the expected_votes and quorum. * a semaphore leak in cman has been fixed. * 'cman_tool nodes -F name' no longer segfaults when a node is out of membership. Enhancements : * support for: ePowerSwitch 8+ and LPAR/HMC v3 devices, Cisco MDS 9124 and MDS 9134 SAN switches, the virsh fencing agent, and broadcast communication with cman. * fence_scsi limitations added to fence_scsi man page. Users of cman are advised to upgrade to these updated packages, which resolve these issues and add these enhancements.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 43788
    published 2010-01-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=43788
    title CentOS 5 : cman (CESA-2009:1341)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20090902_CMAN_ON_SL5_X.NASL
    description Multiple insecure temporary file use flaws were found in fence_apc_snmp and ccs_tool. A local attacker could use these flaws to overwrite an arbitrary file writable by a victim running those utilities (typically root) with the output of the utilities via a symbolic link attack. (CVE-2008-4579, CVE-2008-6552) Bug fixes : - a buffer could overflow if cluster.conf had more than 52 entries per block inside the block. The limit is now 1024. - the output of the group_tool dump subcommands were NULL padded. - using device='' instead of label='' no longer causes qdiskd to incorrectly exit. - the IPMI fencing agent has been modified to time out after 10 seconds. It is also now possible to specify a different timeout value with the '-t' option. - the IPMI fencing agent now allows punctuation in passwords. - quickly starting and stopping the cman service no longer causes the cluster membership to become inconsistent across the cluster. - an issue with lock syncing caused 'receive_own from' errors to be logged to '/var/log/messages'. - an issue which caused gfs_controld to segfault when mounting hundreds of file systems has been fixed. - the LPAR fencing agent now properly reports status when an LPAR is in Open Firmware mode. - the LPAR fencing agent now works properly with systems using the Integrated Virtualization Manager (IVM). - the APC SNMP fencing agent now properly recognizes outletStatusOn and outletStatusOff return codes from the SNMP agent. - the WTI fencing agent can now connect to fencing devices with no password. - the rps-10 fencing agent now properly performs a reboot when run with no options. - the IPMI fencing agent now supports different cipher types with the '-C' option. - qdisk now properly scans devices and partitions. - cman now checks to see if a new node has state to prevent killing the first node during cluster setup. - 'service qdiskd start' now works properly. - the McData fence agent now works properly with the McData Sphereon 4500 Fabric Switch. - the Egenera fence agent can now specify an SSH login name. - the APC fence agent now works with non-admin accounts when using the 3.5.x firmware. - fence_xvmd now tries two methods to reboot a virtual machine. - connections to OpenAIS are now allowed from unprivileged CPG clients with the user and group of 'ais'. - groupd no longer allows the default fence domain to be '0', which previously caused rgmanager to hang. Now, rgmanager no longer hangs. - the RSA fence agent now supports SSH enabled RSA II devices. - the DRAC fence agent now works with the Integrated Dell Remote Access Controller (iDRAC) on Dell PowerEdge M600 blade servers. - fixed a memory leak in cman. - qdisk now displays a warning if more than one label is found with the same name. - the DRAC5 fencing agent now shows proper usage instructions for the '-D' option. - cman no longer uses the wrong node name when getnameinfo() fails. - the SCSI fence agent now verifies that sg_persist is installed. - the DRAC5 fencing agent now properly handles modulename. - QDisk now logs warning messages if it appears its I/O to shared storage is hung. - fence_apc no longer fails with a pexpect exception. - removing a node from the cluster using 'cman_tool leave remove' now properly reduces the expected_votes and quorum. - a semaphore leak in cman has been fixed. - 'cman_tool nodes -F name' no longer segfaults when a node is out of membership. Enhancements : - support for: ePowerSwitch 8+ and LPAR/HMC v3 devices, Cisco MDS 9124 and MDS 9134 SAN switches, the virsh fencing agent, and broadcast communication with cman. - fence_scsi limitations added to fence_scsi man page. NOTE: openais and pexpect updates are required.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 60650
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60650
    title Scientific Linux Security Update : cman on SL5.x i386/x86_64
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2009-1341.NASL
    description Updated cman packages that fix several security issues, various bugs, and add enhancements are now available for Red Hat Enterprise Linux 5. This update has been rated as having low security impact by the Red Hat Security Response Team. The Cluster Manager (cman) utility provides services for managing a Linux cluster. Multiple insecure temporary file use flaws were found in fence_apc_snmp and ccs_tool. A local attacker could use these flaws to overwrite an arbitrary file writable by a victim running those utilities (typically root) with the output of the utilities via a symbolic link attack. (CVE-2008-4579, CVE-2008-6552) Bug fixes : * a buffer could overflow if cluster.conf had more than 52 entries per block inside the block. The limit is now 1024. * the output of the group_tool dump subcommands were NULL padded. * using device='' instead of label='' no longer causes qdiskd to incorrectly exit. * the IPMI fencing agent has been modified to time out after 10 seconds. It is also now possible to specify a different timeout value with the '-t' option. * the IPMI fencing agent now allows punctuation in passwords. * quickly starting and stopping the cman service no longer causes the cluster membership to become inconsistent across the cluster. * an issue with lock syncing caused 'receive_own from' errors to be logged to '/var/log/messages'. * an issue which caused gfs_controld to segfault when mounting hundreds of file systems has been fixed. * the LPAR fencing agent now properly reports status when an LPAR is in Open Firmware mode. * the LPAR fencing agent now works properly with systems using the Integrated Virtualization Manager (IVM). * the APC SNMP fencing agent now properly recognizes outletStatusOn and outletStatusOff return codes from the SNMP agent. * the WTI fencing agent can now connect to fencing devices with no password. * the rps-10 fencing agent now properly performs a reboot when run with no options. * the IPMI fencing agent now supports different cipher types with the '-C' option. * qdisk now properly scans devices and partitions. * cman now checks to see if a new node has state to prevent killing the first node during cluster setup. * 'service qdiskd start' now works properly. * the McData fence agent now works properly with the McData Sphereon 4500 Fabric Switch. * the Egenera fence agent can now specify an SSH login name. * the APC fence agent now works with non-admin accounts when using the 3.5.x firmware. * fence_xvmd now tries two methods to reboot a virtual machine. * connections to OpenAIS are now allowed from unprivileged CPG clients with the user and group of 'ais'. * groupd no longer allows the default fence domain to be '0', which previously caused rgmanager to hang. Now, rgmanager no longer hangs. * the RSA fence agent now supports SSH enabled RSA II devices. * the DRAC fence agent now works with the Integrated Dell Remote Access Controller (iDRAC) on Dell PowerEdge M600 blade servers. * fixed a memory leak in cman. * qdisk now displays a warning if more than one label is found with the same name. * the DRAC5 fencing agent now shows proper usage instructions for the '-D' option. * cman no longer uses the wrong node name when getnameinfo() fails. * the SCSI fence agent now verifies that sg_persist is installed. * the DRAC5 fencing agent now properly handles modulename. * QDisk now logs warning messages if it appears its I/O to shared storage is hung. * fence_apc no longer fails with a pexpect exception. * removing a node from the cluster using 'cman_tool leave remove' now properly reduces the expected_votes and quorum. * a semaphore leak in cman has been fixed. * 'cman_tool nodes -F name' no longer segfaults when a node is out of membership. Enhancements : * support for: ePowerSwitch 8+ and LPAR/HMC v3 devices, Cisco MDS 9124 and MDS 9134 SAN switches, the virsh fencing agent, and broadcast communication with cman. * fence_scsi limitations added to fence_scsi man page. Users of cman are advised to upgrade to these updated packages, which resolve these issues and add these enhancements.
    last seen 2019-02-21
    modified 2018-11-27
    plugin id 63894
    published 2013-01-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63894
    title RHEL 5 : cman (RHSA-2009:1341)
oval via4
accepted 2013-04-29T04:08:54.249-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 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description The (1) fence_apc and (2) fence_apc_snmp programs, as used in (a) fence 2.02.00-r1 and possibly (b) cman, when running in verbose mode, allows local users to append to arbitrary files via a symlink attack on the apclog temporary file.
family unix
id oval:org.mitre.oval:def:10799
status accepted
submitted 2010-07-09T03:56:16-04:00
title The (1) fence_apc and (2) fence_apc_snmp programs, as used in (a) fence 2.02.00-r1 and possibly (b) cman, when running in verbose mode, allows local users to append to arbitrary files via a symlink attack on the apclog temporary file.
version 18
redhat via4
advisories
  • rhsa
    id RHSA-2009:1341
  • rhsa
    id RHSA-2011:0266
rpms
  • cman-0:2.0.115-1.el5
  • cman-devel-0:2.0.115-1.el5
refmap via4
bid 31904
confirm https://bugzilla.redhat.com/show_bug.cgi?id=467386
fedora FEDORA-2008-9042
misc http://bugs.gentoo.org/show_bug.cgi?id=240576
mlist [oss-security] 20081013 Re: CVE Request
secunia
  • 32387
  • 32390
  • 36530
  • 43362
ubuntu USN-875-1
vupen ADV-2011-0419
statements via4
contributor Tomas Hoger
lastmodified 2009-09-02
organization Red Hat
statement The Red Hat Security Response Team has rated this issue as having low security impact. This issue is addressed in the cman package for Red Hat Enterprise Linux 5: https://rhn.redhat.com/errata/RHSA-2009-1337.html This issue also affects the fence package in Red Hat Cluster Suite for Enterprise Linux 4AS, a future update may address this flaw: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2008-4579
Last major update 22-01-2013 - 23:03
Published 15-10-2008 - 16:08
Last modified 28-09-2017 - 21:32
Back to Top