CVE-2018-19518
Vendor not yet named
Vendor fix available · Exploitation: public proof of concept (unverified)
Verdict
Patch this cycleExploit code is public; no attacks reported yet.
- NoAttacks seen
- YesPublic exploit code since 31 Dec 2018
- 96%Chance of exploitation in 30 days, higher than 99% of scored CVEs
- YesFix available: Vendor fix available
How we decide
Patch now: attacks are on record (CISA KEV, the EU exploited list, CISA marking exploitation active, or a report of exploitation), or exploit code is public for a flaw reachable over the network with no login that has exploit odds of 10% or more, or is rated critical with odds of at least 1%. Patch this cycle: any other public exploit code, scanning observed, or exploit odds of 10% or more. Routine: a fix exists and none of those. No verdict yet: no fix on record and nothing else known. The verdict says how soon to act, not how severe the flaw is, and it changes when these facts change.
What it isNVD
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.
Exploit requirements
Also needed, according to the published text
- The IMAP server name must be untrusted input“if the IMAP server name is untrusted input (e.g., entered by a user of a web application)” · the CVE record
- The rsh command must be replaced by a program with different argument semantics“if rsh has been replaced by a program with different argument semantics” · the CVE record
Higher than 99% of scored CVEs
Not scored yet. NVD has not published a CVSS score.
ExploitationProof of concept public
ExploitationProof of concept public
Not in CISA KEV as of catalogue 2026.11.25 (25 Nov)
- Proof of concept public2 public GitHub repositories (unverified), listed by PoC-in-GitHub31 Dec 2018
Not seen so far: in CISA KEV · exploited (reported) · scanning observed.
Weakness and public checksImproper Neutralization of Argument Delimiters in a Command
Weakness and public checks
- Public check
- No public nuclei template
- Weakness
- Improper Neutralization of Argument Delimiters in a Command · Command and Code Injection
Related CVEs
Other CVEs in Php
Every published CVE for Php , by how far exploitation has gone. This one is among them.
What changed1 change, latest 31 Dec 2018
What changed
- PoC-in-GitHub lists 2 public GitHub repositories (unverified) PoC-in-GitHub
Coverage1 article · 1 outlet
Coverage1 article · 1 outlet
First in our coverage: CISA, 27 Aug.
- Critical flaws in Fuel-Boss systems let hackers run code remotelyCISA · official notice · first in our coverage
New articles also arrive in the RSS feed.