CVE-2018-19518

HIGH
7.5
CVSS Score
Published: November 25, 2018 at 10:00 AM UTC
Updated: June 17, 2026 at 01:49 AM UTC
4 products affected across 4 vendorsDebian LinuxUbuntu LinuxPHP

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 96%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
5.6.0 ≤ v ≤ 5.6.387.0.0 ≤ v ≤ 7.0.327.1.0 ≤ v ≤ 7.1.247.2.0 ≤ v ≤ 7.2.12

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (20)

VDB Entryx_refsource_BIDBroken Link
http://www.securityfocus.com/bid/106018
VDB Entryx_refsource_SECTRACKBroken Link
http://www.securitytracker.com/id/1042157
x_refsource_MISCExploitThird Party Advisory
https://antichat.com/threads/463395/#post-4254681
x_refsource_MISCMailing ListThird Party Advisory
https://bugs.debian.org/913775
x_refsource_MISCMailing ListThird Party Advisory
https://bugs.debian.org/913835
x_refsource_MISCMailing ListThird Party Advisory
https://bugs.debian.org/913836
x_refsource_MISCExploitMailing ListVendor Advisory
https://bugs.php.net/bug.php?id=76428
x_refsource_MISCExploitMailing ListVendor Advisory
https://bugs.php.net/bug.php?id=77153

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-88

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card