[manjaro-security] [ASA-201803-2] mkinitcpio-busybox: arbitrary code execution

Santiago Torres-Arias santiago at archlinux.org
Mon Mar 5 01:59:21 CET 2018


Arch Linux Security Advisory ASA-201803-2
=========================================

Severity: High
Date    : 2018-03-01
CVE-ID  : CVE-2017-16544
Package : mkinitcpio-busybox
Type    : arbitrary code execution
Remote  : No
Link    : https://security.archlinux.org/AVG-514

Summary
=======

The package mkinitcpio-busybox before version 1.28.1-1 is vulnerable to
arbitrary code execution.

Resolution
==========

Upgrade to 1.28.1-1.

# pacman -Syu "mkinitcpio-busybox>=1.28.1-1"

The problem has been fixed upstream in version 1.28.1.

Workaround
==========

None.

Description
===========

In the add_match function in libbb/lineedit.c in BusyBox through
1.27.2, the tab autocomplete feature of the shell, used to get a list
of filenames in a directory, does not sanitize filenames and results in
executing any escape sequence in the terminal. This could potentially
result in code execution, arbitrary file writes, or other attacks.

Impact
======

An attacker is able to execute arbitrary code by tricking the user into
auto-completing a crafted filename.

References
==========

https://bugs.archlinux.org/task/56391
https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8
https://www.twistlock.com/2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/
https://security.archlinux.org/CVE-2017-16544
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.manjaro.org/pipermail/manjaro-security/attachments/20180304/1b30fabc/attachment.sig>


More information about the manjaro-security mailing list