#VU11771 Stack-based buffer overflow in zsh


Published: 2018-04-11 | Updated: 2018-04-12

Vulnerability identifier: #VU11771

Vulnerability risk: Low

CVSSv3.1: 7.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-1100

CWE-ID: CWE-121

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
zsh
Client/Desktop applications / Software for system administration

Vendor: SourceForge

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker can trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

zsh: 4.0.0 - 5.4.2


External links
http://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability