Command injection in Heirloom mailx and BSD mailx - CVE-2004-2771

 

Command injection in Heirloom mailx and BSD mailx - CVE-2004-2771

Published: April 13, 2018


Vulnerability identifier: #VU11822
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2004-2771
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Heirloom mailx
BSD mailx
Software vendor:
Heirloom Project
FreeBSD Foundation

Description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists in the expand function in fio.c due to command injection. A remote attacker can execute arbitrary commands via shell metacharacters in an email address.

Remediation

Update BSD mailx to version 8.1.2.20160123.

External links