Out-of-bounds write in dovecot (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-11500
CWE-ID CWE-787
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
dovecot (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Out-of-bounds write

EUVDB-ID: #VU20432

Risk: High

CVSSv4.0: 8.9 [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:P/U:Amber]

CVE-ID: CVE-2019-11500

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error within IMAP and ManageSieve protocol implementation the when scanning data in quoted strings. A remote attacker can send a specially crafted request to the affected server, trigger out-of-bounds write and execute arbitrary code on the target system.

Exploitation example:

perl -e 'print "a id (\"foo\" \"".("x"x1021)."\\A\" \"bar\"
\"\000".("x"x1020)."\\A\")\n"' | nc localhost 143

Mitigation

Install update from vendor's website.

Vulnerable software versions

dovecot (Alpine package): 2.2.1-r0 - 2.2.36.3-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=311f42f1afe58945d1cc08642c2c0bce80fa848f
https://git.alpinelinux.org/aports/commit/?id=43341d57c42c2ba9f572ee12de44ea680a532416
https://git.alpinelinux.org/aports/commit/?id=8ff339e0a750d552ff3d3be235aca6f4ddfc6a6f
https://git.alpinelinux.org/aports/commit/?id=1a3664292d8641c136f1b09d244490108ffe7799
https://git.alpinelinux.org/aports/commit/?id=b819553afa05bacbf987368d81c9314eba613947


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. However, proof of concept for this vulnerability is available.



###SIDEBAR###