Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI: CVE-2018-19518: Security patch for php56,php70,php71,php72 (ALAS-2019-1147)

Back to Search

Amazon Linux AMI: CVE-2018-19518: Security patch for php56,php70,php71,php72 (ALAS-2019-1147)

Severity
9
CVSS
(AV:N/AC:M/Au:S/C:C/I:C/A:C)
Published
11/25/2018
Created
03/19/2019
Added
01/12/2019
Modified
05/07/2019

Description

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.

Solution(s)

  • amazon-linux-upgrade-php56
  • amazon-linux-upgrade-php70
  • amazon-linux-upgrade-php71
  • amazon-linux-upgrade-php72

References

  • amazon-linux-upgrade-php56
  • amazon-linux-upgrade-php70
  • amazon-linux-upgrade-php71
  • amazon-linux-upgrade-php72

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;