Vulnerability in PHP

CVE-2018-19518

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.961 (99.9th percentile), scored .

Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 99.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-19518: rose from 0.952 to 0.961.

EPSS over last 30 days · oldest: 0.952 · newest: 0.961 · change: +0.009

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-19518?
CVE-2018-19518 is a high-severity vulnerability in PHP, classified under Argument Injection. CVSS score: 7.5/10. Published 2018-11-25.
How severe is CVE-2018-19518?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2018-19518 known to be exploited?
21 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.