Skip to main content
CVE Radar
highRemote Code Execpublic exploit

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

Affects

Unknown

Unknown

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

fixed0affected62not affected133

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.

Affected vendors, products and versions
VendorProductVersionsStatus
UnknownUnknownn/aVulnerable

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.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
7.5CVSS 3.1high1.65.9NVD, GHSA
8.5CVSS 2.0high6.810NVD
8.1CVSS 3.1highn/an/aRed 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.

MITRE

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.

CAPEC-41 · Using Meta-characters in E-mail Headers to Inject Malicious PayloadsCAPEC-137 · Parameter InjectionCAPEC-174 · Flash Parameter InjectionCAPEC-460 · HTTP Parameter Pollution (HPP)CAPEC-88 · OS Command Injection

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.
web/proxy/WAF logsapplication logsnetwork IDS/IPSEDR process telemetryhost service logs

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

SOCRadar5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock free

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Added · CVSS 3.1 7.5 (AV:N)

    Jun 17, 2026 · NVD

  3. 2023
  4. CVE is exploited. "houqe/POC_CVE-2018-19518"

    Feb 15, 2023 · SOCRadar CTI

  5. CVE is exploited. "houquanen/POC_CVE-2018-19518"

    Feb 11, 2023 · SOCRadar CTI

  6. 2022
  7. Added · GHSA-5qmr-54g6-4256 published (high)

    May 13, 2022 · GitHub Security Advisory

  8. Bulletin released on NIST.

    Apr 19, 2022 · SOCRadar CTI

  9. 2020
  10. Bulletin released on MITRE_REFERENCES.

    Sep 16, 2020 · SOCRadar CTI

  11. 2018
  12. Added · Verified remote entry: PHP imap_open - Remote Code Execution (RCE) (Metasploit)

    Nov 29, 2018 · Exploit-DB

  13. Added · Verified remote entry: PHP imap_open - Remote Code Execution (RCE) (Metasploit)

    Nov 29, 2018 · Exploit-DB

  14. Initial · CVE published

    Nov 25, 2018 · NVD

  15. 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

Coverage

1 story from the feeds we poll

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

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.