Skip to content
Noroxi
CVE-2018-19518· NVD / CVE Program· CNA mitre

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

Noroxi assessment

Priority: Plan (action score 59/100)

  • A ready-made attack module is public (Metasploit, Nuclei); exploiting it takes no special expertise.
  • Probability of exploitation in the next 30 days: 96.1% (FIRST EPSS); higher than 99.8% of all records.
  • Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: uw-imap (Debian:12) 8:2007f~dfsg-6; php5 (Debian:8) 5.6.39+dfsg-0+deb8u1; uw-imap (Debian:8) 8:2007f~dfsg-4+deb8u1.

Add it to your regular patch cycle. Upgrade to uw-imap (Debian:12) 8:2007f~dfsg-6; php5 (Debian:8) 5.6.39+dfsg-0+deb8u1; uw-imap (Debian:8) 8:2007f~dfsg-4+deb8u1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—Weaponized Fix available
Published
Nov 25, 2018
Updated
Jun 16, 2026
EPSS
96.1% · 100th percentile

Report tools

JSON

Action score

59

Plan

Add it to your regular patch cycle.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
29 / 30 · 96.1%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2018-19518

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Port scanning: 5 full scans a day (members only)
  • Uptime monitoring: 1 site, instant email when it goes down
  • Verify your domain: subdomains and takeover risk scanned every week
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
phpphp
debiandebian linux
uw-imap projectuw-imap
canonicalubuntu linux

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php php5.6.0 and later · up to 5.6.38 inclusive
  • php php7.0.0 and later · up to 7.0.32 inclusive
  • php php7.1.0 and later · up to 7.1.24 inclusive
  • php php7.2.0 and later · up to 7.2.12 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12uw-imapbefore 8:2007f~dfsg-68:2007f~dfsg-6
Debian:8php5before 5.6.39+dfsg-0+deb8u15.6.39+dfsg-0+deb8u1
Debian:8uw-imapbefore 8:2007f~dfsg-4+deb8u18:2007f~dfsg-4+deb8u1
Debian:9php7.0before 7.0.33-0+deb9u17.0.33-0+deb9u1
Debian:9uw-imapbefore 8:2007f~dfsg-5+deb9u18:2007f~dfsg-5+deb9u1
SUSE:Linux Enterprise Module for Web and Scripting 12php5before 5.5.14-109.45.25.5.14-109.45.2
SUSE:Linux Enterprise Module for Web and Scripting 12php7before 7.0.7-50.56.27.0.7-50.56.2
SUSE:Linux Enterprise Software Development Kit 11 SP4php53before 5.3.17-112.45.15.3.17-112.45.1

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV
    99Now
  • CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa
    65This week
  • CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b
    56Plan
  • CVE-2015-6834Multiple use-after-free vulnerabilities in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 allow remote attackers to execute
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:php55.6.39+dfsg-0+deb8u1 · Debian:8Package registry (OSV)
debian:php7.07.0.33-0+deb9u1 · Debian:9Package registry (OSV)
debian:uw-imap8:2007f~dfsg-6 · Debian:12Package registry (OSV)
suse:php55.5.14-109.45.2 · SUSE:Linux Enterprise Module for Web and Scripting 12Package registry (OSV)
suse:php535.3.17-112.45.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:php77.0.7-50.56.2 · SUSE:Linux Enterprise Module for Web and Scripting 12Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×2
  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2018-11-29
Exploit-DB entryremote2018-11-29
Metasploit moduleexploit/linux/http/php_imap_open_rcephp imap_open Remote Code Executionexploit2018-10-23
Nuclei detection templateNuclei template CVE-2018-19518 —
Proof-of-concept repository on GitHubstars:02018-12-31
Proof-of-concept repository on GitHubstars:42023-04-15

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-33 d
  2. Published
  3. First PoC+4 d
  4. TodayOct 15, 2026+2881 d
EPSS, last 120 days+1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records