Patchfirst
CVE-2018-19518 Public exploit EPSS 96.1%

University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh…

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The University of Washington IMAP Toolkit 2007f, on UNIX, as used by imap_open() in PHP and other products, launches an rsh command via the imap_rimap and tcp_aopen functions without preventing argument injection. An attacker who can supply the IMAP server name (for example, a user of a web application that passes it through) can execute arbitrary OS commands remotely, provided rsh has been replaced by a program with different argument semantics, such as ssh, where an IMAP server name containing a "-oProxyCommand" argument is enough.

Official description · CVE.org

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.

Breakdown
71.1 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 4 years after disclosure. Public exploit code (Metasploit) was available 33 days before disclosure.

  1. Public exploit codeMetasploit33 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+4 yrs
↑ ↓ chooseEnter openEsc close