Lucene search

K
archlinuxArchLinuxASA-201803-2
HistoryMar 01, 2018 - 12:00 a.m.

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

2018-03-0100:00:00
security.archlinux.org
19

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

76.6%

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

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanymkinitcpio-busybox< 1.28.1-1UNKNOWN

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

76.6%