CVE-2018-19518
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…
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 Updated Sources: NVD, Unknown (CNA), GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
96%
ahead of 99.9% of scored CVEs
CVSS base
7.5
high · 3 sources
Remediation
The vendor's own words where we have them.
Upgrade Unknown to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
Red Hat VEX · CVE-2018-19518
no_fix_planned: Will not fix
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Unknown | Unknown | n/a | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
High
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | high | 1.6 | 5.9 | NVD, GHSA |
| 8.5 | CVSS 2.0 | high | 6.8 | 10 | NVD |
| 8.1 | CVSS 3.1 | high | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
- Execute Unauthorized Code or Commands
- Alter Execution Logic
- Read Application Data
- Modify Application Data
Mitigation: Where possible, avoid building a single string that contains the command and its arguments. Some languages or frameworks have functions that support specifying independent arguments, e.g. as an array, which is used to automatically perform the appropriate quoting or escaping while building the command. For example, in PHP, escapeshellarg() can be used to escape a single argument to system(), or exec() can be called with an array of arguments. In C, code can often be refactored from using system() - which accepts a single string - to using exec(), which requires separate function arguments for each parameter.
Weakness & attack patterns
- CWE-88
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
19
1 of the 5 sampled are weaponized
Exploit entries
4
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /imap4r1.c, /unix/tcp_unix.c).
- Prioritize edge telemetry for network-reachable Unknown.
- Monitor for scanner or exploit-pattern traffic after 23 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip120.224.242.7867
Zonefiles · May 18, 2024
- hostnamerilegno.org79
Maltiverse Domain List · Nov 21, 2026
- ip202.162.36.21036
AbuseIPDB Hourly Update · Oct 25, 2020
- hostnametutorialbar.com74
SOCRadar Threat Exchange Services · Jun 1, 2026
- ip198.27.74.11282
AbuseIPDB Hourly Update · Oct 29, 2021
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 7.5 (AV:N)
Jun 17, 2026 · NVD
- 2023
CVE is exploited. "houqe/POC_CVE-2018-19518"
Feb 15, 2023 · SOCRadar CTI
CVE is exploited. "houquanen/POC_CVE-2018-19518"
Feb 11, 2023 · SOCRadar CTI
- 2022
Added · GHSA-5qmr-54g6-4256 published (high)
May 13, 2022 · GitHub Security Advisory
Bulletin released on NIST.
Apr 19, 2022 · SOCRadar CTI
- 2020
Bulletin released on MITRE_REFERENCES.
Sep 16, 2020 · SOCRadar CTI
- 2018
Added · Verified remote entry: PHP imap_open - Remote Code Execution (RCE) (Metasploit)
Nov 29, 2018 · Exploit-DB
Added · Verified remote entry: PHP imap_open - Remote Code Execution (RCE) (Metasploit)
Nov 29, 2018 · Exploit-DB
Initial · CVE published
Nov 25, 2018 · NVD
CVE published by NIST.
Nov 25, 2018 · SOCRadar CTI
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 3×SvrsFeb 22, 2023 – May 12, 2023 · SOCRadar CTI
- 3×Github ReposFeb 10, 2023 – Apr 15, 2023 · SOCRadar CTI
- 1×Tweets · 1 time tweeted.Aug 29, 2026 · SOCRadar CTI
- 1×CVE modified by NIST.Apr 18, 2022 · SOCRadar CTI
References
26 on the record
- www.securityfocus.com/bid/106018
Broken Link, NIST
- www.securitytracker.com/id/1042157
Broken Link, NIST
- antichat.com/threads/463395/#post-4254681
Exploit, Third Party Advisory, MITRE_REFERENCES, NIST, GITHUB
- bugs.debian.org/913775
Mailing List, Third Party Advisory, GITHUB, MITRE_REFERENCES, NIST
- bugs.debian.org/913835
Mailing List, Third Party Advisory, GITHUB, MITRE_REFERENCES, NIST
- bugs.debian.org/913836
Mailing List, Third Party Advisory, GITHUB, MITRE_REFERENCES, NIST
- bugs.php.net/bug.php?id=76428
Exploit, Mailing List, Vendor Advisory, MITRE_REFERENCES, NIST
- bugs.php.net/bug.php?id=77153
Exploit, Mailing List, Vendor Advisory, MITRE_REFERENCES, NIST
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2020-24186 A Remote Code Execution vulnerability exists in the gVectors wpDiscuz plugin 7.0 through 7.0.4 for WordPress, which allows unauthenticated…CVSS 10.0
- CVE-2015-1538 Integer overflow in the SampleTable::setSampleToChunkParams function in SampleTable.cpp in libstagefright in Android before 5.1.1 LMY48I…CVSS 10.0
- CVE-2015-0235 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows…CVSS 10.0
- CVE-2014-0515 Buffer overflow in Adobe Flash Player before 11.7.700.279 and 11.8.x through 13.0.x before 13.0.0.206 on Windows and OS X, and before…CVSS 10.0
- CVE-2011-4862 Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications (aka krb5-appl) 1.0.2 and…CVSS 10.0
- CVE-2010-3972 Heap-based buffer overflow in the TELNET_STREAM_CONTEXT::OnSendData function in ftpsvc.dll in Microsoft FTP Service 7.0 and 7.5 for…CVSS 10.0
Elsewhere on this site
- Unknownevery CVE for this vendor
- Unknownevery page on this product
- Remote Code Execsame class
- CWE-88other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2018-19518 is 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…, a high vulnerability affecting Unknown from Unknown. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 23 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.5 describes technical severity, while EPSS 96% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.