Vulnerabilities > CVE-2008-1926 - Code Injection vulnerability in Linux Util-Linux

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

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."

Common Attack Pattern Enumeration and Classification (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.

Nessus

  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2009-0981.NASL
    descriptionAn 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,
    last seen2020-06-01
    modified2020-06-02
    plugin id67065
    published2013-06-29
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/67065
    titleCentOS 4 : util-linux (CESA-2009:0981)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2008-3419.NASL
    description - Tue Apr 22 2008 Karel Zak <kzak at redhat.com> 2.13.1-2 - fix audit log injection attack via login - Wed Jan 16 2008 Karel Zak <kzak at redhat.com> 2.13.1-1 - upgrade to stable util-linux-ng 2.13.1 - fix #427874 - util-linux-ng gets
    last seen2020-06-01
    modified2020-06-02
    plugin id32108
    published2008-05-01
    reporterThis script is Copyright (C) 2008-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/32108
    titleFedora 8 : util-linux-ng-2.13.1-2.fc8 (2008-3419)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2009-0981.NASL
    descriptionAn 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,
    last seen2020-06-01
    modified2020-06-02
    plugin id38817
    published2009-05-19
    reporterThis script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/38817
    titleRHEL 4 : util-linux (RHSA-2009:0981)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2008-114.NASL
    descriptionArgument 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 seen2020-06-01
    modified2020-06-02
    plugin id36569
    published2009-04-23
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/36569
    titleMandriva Linux Security Advisory : util-linux-ng (MDVSA-2008:114)

Oval

accepted2013-04-29T04:22:37.269-04:00
classvulnerability
contributors
  • nameAharon Chernin
    organizationSCAP.com, LLC
  • nameDragos Prisaca
    organizationG2, Inc.
definition_extensions
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 4
    ovaloval:org.mitre.oval:def:11831
  • commentCentOS Linux 4.x
    ovaloval:org.mitre.oval:def:16636
  • commentOracle Linux 4.x
    ovaloval:org.mitre.oval:def:15990
descriptionArgument 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."
familyunix
idoval:org.mitre.oval:def:9833
statusaccepted
submitted2010-07-09T03:56:16-04:00
titleArgument 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."
version26

Redhat

advisories
  • bugzilla
    id456378
    titleRHEL5: audit log injection attack via login
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 5 is installed
        ovaloval:com.redhat.rhba:tst:20070331005
      • commentutil-linux is earlier than 0:2.13-0.50.el5
        ovaloval:com.redhat.rhba:tst:20090070001
      • commentutil-linux is signed with Red Hat redhatrelease key
        ovaloval:com.redhat.rhba:tst:20090070002
    rhsa
    idRHBA-2009:0070
    released2009-01-20
    severityNone
    titleRHBA-2009:0070: util-linux bug-fix update (None)
  • bugzilla
    id485004
    titleMove mount doesn't correctly update mtab
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 4 is installed
        ovaloval:com.redhat.rhba:tst:20070304025
      • commentutil-linux is earlier than 0:2.12a-24.el4
        ovaloval:com.redhat.rhsa:tst:20090981001
      • commentutil-linux is signed with Red Hat master key
        ovaloval:com.redhat.rhsa:tst:20070235002
    rhsa
    idRHSA-2009:0981
    released2009-05-18
    severityLow
    titleRHSA-2009:0981: util-linux security and bug fix update (Low)
rpms
  • util-linux-0:2.13-0.50.el5
  • util-linux-debuginfo-0:2.13-0.50.el5
  • util-linux-0:2.12a-24.el4
  • util-linux-debuginfo-0:2.12a-24.el4

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 28983 CVE(CAN) ID: CVE-2008-1926 util-linux-ng是增强版本的Util-linux软件包,包含有多种linux工具和应用。 util-linux-ng软件包的login.c在记录登录尝试时存在参数注入漏洞,远程攻击者可以在登录名称中添加addr=语句在审计日志中修改部分日志事件,从而隐藏其登录尝试等行为。 Karel Zak util-linux-ng &lt; 2.13.1.1 Karel Zak --------- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13 target=_blank>ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13</a>
idSSV:3244
last seen2017-11-19
modified2008-04-30
published2008-04-30
reporterRoot
titleutil-linux-ng登录远程日志注入漏洞

Statements

contributorMark J Cox
lastmodified2009-05-18
organizationRed Hat
statementRed 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