#VU14702 Authorization bypass in zsh - CVE-2018-0502

 

#VU14702 Authorization bypass in zsh - CVE-2018-0502

Published: September 8, 2018


Vulnerability identifier: #VU14702
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2018-0502
CWE-ID: CWE-862
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
zsh
Software vendor:
SourceForge

Description

The vulnerability allows a local attacker to execute a program without proper authorization on the target system.

The vulnerability exists due to improper handling of the beginning of a shebang (#!) script file. A local attacker can execute a shebang script file that submits malicious input, pass content from the second line of the file to execve() and execute a program without proper authorization on the system. 


Remediation

Update to version 5.6.

External links