ID CVE-2008-1926
Summary Argument injection vulnerability in login (login-utils/login.c) in util-linux-ng 2.14 and earlier makes it easier for remote attackers to hide activities by modifying portions of log events, as demonstrated by appending an "addr=" statement to the login name, aka "audit log injection."
References
Vulnerable Configurations
  • cpe:2.3:a:linux:util-linux:2.13
    cpe:2.3:a:linux:util-linux:2.13
  • cpe:2.3:a:linux:util-linux:2.13.0.1
    cpe:2.3:a:linux:util-linux:2.13.0.1
  • cpe:2.3:a:linux:util-linux:2.13.1
    cpe:2.3:a:linux:util-linux:2.13.1
  • cpe:2.3:a:linux:util-linux:2.13.1.1
    cpe:2.3:a:linux:util-linux:2.13.1.1
  • cpe:2.3:a:linux:util-linux:2.14:rc1
    cpe:2.3:a:linux:util-linux:2.14:rc1
CVSS
Base: 7.5 (as of 24-04-2008 - 14:37)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • 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 User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2008-114.NASL
    description Argument injection vulnerability in login (login-utils/login.c) in util-linux-ng 2.14 and earlier makes it easier for remote attackers to hide activities by modifying portions of log events. The updated packages have been patched to fix the issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 36569
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36569
    title Mandriva Linux Security Advisory : util-linux-ng (MDVSA-2008:114)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2009-0981.NASL
    description An updated util-linux package that fixes one security issue and several bugs is now available. This update has been rated as having low security impact by the Red Hat Security Response Team. The util-linux package contains a collection of basic system utilities, such as fdisk and mount. A log injection attack was found in util-linux when logging log in attempts via the audit subsystem of the Linux kernel. A remote attacker could use this flaw to modify certain parts of logged events, possibly hiding their activities on a system. (CVE-2008-1926) This updated package also fixes the following bugs : * partitions created by VMware ESX(tm) were not included in the list of recognized file systems used by fdisk. Consequently, if VMware ESX was installed, 'fdisk -l' returned 'Unknown' for these partitions. With this update, information regarding the VMKcore and VMFS partitions has been added to the file systems list. On systems running VMware ESX, 'fdisk -l' now lists information about these partitions as expected. (BZ#447264) * if a username was not set, the login command would fail with a Segmentation fault. With this update, login lets the audit system handle NULL usernames (it sends an AUDIT_USER_LOGIN message to the audit system in the event there is no username set). (BZ#456213) * the nfs(5) man page listed version 2 as the default. This is incorrect: unless otherwise specified, the NFS client uses NFS version 3. The man page has been corrected. (BZ#458539) * in certain situations, backgrounded NFS mounts died shortly after being backgrounded when the mount command was executed by the initlog command, which, for example, would occur when running an init script, such as running the 'service netfs start' command. In these situations, running the 'ps -ef' command showed backgrounded NFS mounts disappearing shortly after being backgrounded. In this updated package, backgrounded mount processes detach from the controlling terminal, which resolves this issue. (BZ#461488) * if a new partition's starting cylinder was beyond one terabyte, fdisk could not create the partition. This has been fixed. (BZ#471372) * in rare cases 'mount -a' ignored fstab order and tried to re-mount file systems on mpath devices. With this update, mount honors fstab order even in the rare cases reported. (BZ#472186) * the 'mount --move' command moved a file system's mount point as expected (for example, /proc/mounts showed the changed mount point as expected) but did not update /etc/mtab properly. With this update, the 'mount --move' command gathers all necessary information about the old mount point, copies it to the new mount point and then deletes the old point, ensuring /etc/mtab is updated properly. (BZ#485004) Util-linux users are advised to upgrade to this updated package, which addresses this vulnerability and resolves these issues.
    last seen 2019-02-21
    modified 2018-11-27
    plugin id 38817
    published 2009-05-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=38817
    title RHEL 4 : util-linux (RHSA-2009:0981)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-3419.NASL
    description - Tue Apr 22 2008 Karel Zak 2.13.1-2 - fix audit log injection attack via login - Wed Jan 16 2008 Karel Zak 2.13.1-1 - upgrade to stable util-linux-ng 2.13.1 - fix #427874 - util-linux-ng gets 'excess command line argument' on update - Thu Jan 3 2008 Karel Zak 2.13-3.2 - fix #427207 - util-linux-ng-2.13-3.1.fc8.src.rpm not rebuilded - Wed Dec 5 2007 Karel Zak 2.13-3.1 - fix #409551 - hwclock: check for ENODEV (upstream patch) - fix #408391 - setarch: add missing alpha subarchs (upstream patch) - mkswap: possible to crash with SELinux relabeling support (upstream patch) - mount: don't call canonicalize(SPEC) for cifs, smbfs and nfs (upstream patch) 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 32108
    published 2008-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32108
    title Fedora 8 : util-linux-ng-2.13.1-2.fc8 (2008-3419)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2009-0981.NASL
    description An updated util-linux package that fixes one security issue and several bugs is now available. This update has been rated as having low security impact by the Red Hat Security Response Team. The util-linux package contains a collection of basic system utilities, such as fdisk and mount. A log injection attack was found in util-linux when logging log in attempts via the audit subsystem of the Linux kernel. A remote attacker could use this flaw to modify certain parts of logged events, possibly hiding their activities on a system. (CVE-2008-1926) This updated package also fixes the following bugs : * partitions created by VMware ESX(tm) were not included in the list of recognized file systems used by fdisk. Consequently, if VMware ESX was installed, 'fdisk -l' returned 'Unknown' for these partitions. With this update, information regarding the VMKcore and VMFS partitions has been added to the file systems list. On systems running VMware ESX, 'fdisk -l' now lists information about these partitions as expected. (BZ#447264) * if a username was not set, the login command would fail with a Segmentation fault. With this update, login lets the audit system handle NULL usernames (it sends an AUDIT_USER_LOGIN message to the audit system in the event there is no username set). (BZ#456213) * the nfs(5) man page listed version 2 as the default. This is incorrect: unless otherwise specified, the NFS client uses NFS version 3. The man page has been corrected. (BZ#458539) * in certain situations, backgrounded NFS mounts died shortly after being backgrounded when the mount command was executed by the initlog command, which, for example, would occur when running an init script, such as running the 'service netfs start' command. In these situations, running the 'ps -ef' command showed backgrounded NFS mounts disappearing shortly after being backgrounded. In this updated package, backgrounded mount processes detach from the controlling terminal, which resolves this issue. (BZ#461488) * if a new partition's starting cylinder was beyond one terabyte, fdisk could not create the partition. This has been fixed. (BZ#471372) * in rare cases 'mount -a' ignored fstab order and tried to re-mount file systems on mpath devices. With this update, mount honors fstab order even in the rare cases reported. (BZ#472186) * the 'mount --move' command moved a file system's mount point as expected (for example, /proc/mounts showed the changed mount point as expected) but did not update /etc/mtab properly. With this update, the 'mount --move' command gathers all necessary information about the old mount point, copies it to the new mount point and then deletes the old point, ensuring /etc/mtab is updated properly. (BZ#485004) Util-linux users are advised to upgrade to this updated package, which addresses this vulnerability and resolves these issues.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 67065
    published 2013-06-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67065
    title CentOS 4 : util-linux (CESA-2009:0981)
oval via4
accepted 2013-04-29T04:22:37.269-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 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
description Argument injection vulnerability in login (login-utils/login.c) in util-linux-ng 2.14 and earlier makes it easier for remote attackers to hide activities by modifying portions of log events, as demonstrated by appending an "addr=" statement to the login name, aka "audit log injection."
family unix
id oval:org.mitre.oval:def:9833
status accepted
submitted 2010-07-09T03:56:16-04:00
title Argument injection vulnerability in login (login-utils/login.c) in util-linux-ng 2.14 and earlier makes it easier for remote attackers to hide activities by modifying portions of log events, as demonstrated by appending an "addr=" statement to the login name, aka "audit log injection."
version 23
redhat via4
advisories
  • bugzilla
    id 456378
    title RHEL5: audit log injection attack via login
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • comment util-linux is earlier than 0:2.13-0.50.el5
      oval oval:com.redhat.rhba:tst:20090070002
    • comment util-linux is signed with Red Hat redhatrelease key
      oval oval:com.redhat.rhba:tst:20090070003
    rhsa
    released 2009-01-20
    severity None
    title RHBA-2009:0070: util-linux bug-fix update (None)
  • bugzilla
    id 485004
    title Move mount doesn't correctly update mtab
    oval
    AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • comment util-linux is earlier than 0:2.12a-24.el4
      oval oval:com.redhat.rhsa:tst:20090981002
    • comment util-linux is signed with Red Hat master key
      oval oval:com.redhat.rhsa:tst:20070235003
    rhsa
    id RHSA-2009:0981
    released 2009-05-18
    severity Low
    title RHSA-2009:0981: util-linux security and bug fix update (Low)
rpms
  • util-linux-0:2.13-0.50.el5
  • util-linux-0:2.12a-24.el4
refmap via4
bid 28983
bugtraq 20091112 rPSA-2009-0143-1 util-linux util-linux-extras
confirm
fedora FEDORA-2008-3419
mandriva MDVSA-2008:114
misc http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=blobdiff;f=login-utils/login.c;h=230121316d953c59e7842c1325f6e9f326a37608;hp=aad27794327c60391b5148b367d2c79338fc6ee4;hb=8ccf0b253ac0f4f58d64bc9674de18bff5a88782;hpb=3a4a13b12a8065b0b5354686d2807cce421a9973
sectrack 1022256
secunia
  • 29982
  • 30014
  • 35161
vupen ADV-2008-1392
xf utillinuxng-login-data-manipulation(41987)
statements via4
contributor Mark J Cox
lastmodified 2009-05-18
organization Red Hat
statement Red Hat is aware of this issue affecting Red Hat Enterprise Linux 5 and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2008-1926 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. This issue has been addressed in Red Hat Enterprise Linux 4 with the following update: https://rhn.redhat.com/errata/RHSA-2009-0981.html
Last major update 07-03-2011 - 22:08
Published 24-04-2008 - 01:05
Last modified 11-10-2018 - 16:37
Back to Top