CVE-2018-19518
HIGH 8.5EPSS 95.2%
University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.
- CVSS v3.1
- 7.5 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0
- 8.5 HIGH
AV:N/AC:M/Au:S/C:C/I:C/A:C - EPSS
- 95.23% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- high · CWE-88
- Published
- 2018-11-25
- Updated
- 2024-08-05
Proof-of-concept exploits (6)
- https://antichat.com/threads/463395/#post-4254681
- https://www.openwall.com/lists/oss-security/2018/11/22/3
- Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php
- C-starm/PoC-and-Exp-of-Vulnerabilities0★ · 2019-01-06
- ensimag-security/CVE-2018-195180★ · 2019-01-14
- houqe/EXP_CVE-2018-195184★ · 2023-04-15