#VU13925 Off by one error in Mutt


Published: 2018-07-20

Vulnerability identifier: #VU13925

Vulnerability risk: Medium

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

CVE-ID: N/A

CWE-ID: CWE-193

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Mutt
Client/Desktop applications / Office applications

Vendor: Mutt.org

Description

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

The vulnerability exists due to an off-by-one error in cmd_parse_lsub() function in imap/command.c file. A remote attacker that controls the IMAP server can send a specially crafted  response to the vulnerable mail client, trigger off-by-one overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that victim connects to a compromised server or the attacker is able to perform MitM (man-in-the-middle) attack.

Mitigation
Update to version 1.10.1.

Vulnerable software versions

Mutt: 0.95.6 - 1.10.0


External links
http://gitlab.com/muttmua/mutt/commit/ed9d7727dc705754871e31cb41420f0ea956495b


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability