GLSA-201511-01 : MirBSD Korn Shell: Arbitrary code execution
Medium Nessus Plugin ID 86701
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-201511-01 (MirBSD Korn Shell: Arbitrary code execution)
Improper sanitation of environment import allows for appending of values to passed parameters.
An attacker who already had access to the environment could so append values to parameters passed through programs (including sudo(8) or setuid) to shell scripts, including indirectly, after those programs intended to sanitise the environment, e.g. invalidating the last $PATH component.
There is no known workaround at this time.
SolutionAll mksh users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-shells/mksh-50c'