8.5

CVE-2018-19518: canonical ubuntu_linux

Modified
AliasesMGASA-2018-0484SUSE-SU-2018:3986-1SUSE-SU-2018:3988-1
Published 25-11-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-19518 is a high (CVSS 8.5) vulnerability in canonical ubuntu_linux. EPSS estimates a 96.11% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 7 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (exploit-database, 29-11-2018)

Source freshness unavailable

How is this decided?
CVSS score
8.5/10
010
High · v2.0 (NVD)
EPSS score
96.11%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits7github, reference, exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 2 · Duplicates 1

Timeline

  1. 25-11-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

96.11%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 96.11% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

7 found
  • githubUnverified

    Php Imap Open Exploit

    Maturity: poc

  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Show all 7 exploits
  • referenceUnverified

    Exploit Reference (antichat.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

  • exploit-databaseremotelinuxVerified

    PHP imap_open - Remote Code Execution (Metasploit)

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    php imap_open Remote Code Execution

    exploit/linux/http/php_imap_open_rce

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse9 products
  • php53&distro=SUSE Linux Enterprise Server 11 SP4< 5.3.17-112.45.1
  • php53&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4< 5.3.17-112.45.1
  • php53&distro=SUSE Linux Enterprise Software Development Kit 11 SP4< 5.3.17-112.45.1
  • php5&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 5.5.14-109.45.2
  • php5&distro=SUSE Linux Enterprise Software Development Kit 12 SP3< 5.5.14-109.45.2
Ubuntu4 products
  • php-imap< 5.4.6-0ubuntu5.1
  • php7.0< 7.0.33-0ubuntu0.16.04.1
  • php7.2< 7.2.15-0ubuntu0.18.04.1
  • uw-imap< 8:2007f~dfsg-2ubuntu0.1~esm1 | < 8:2007f~dfsg-4+deb8u1build0.16.04.1 | < 8:2007f~dfsg-5ubuntu0.18.04.2
Debian2 products
  • uw-imap< 8:2007f~dfsg-5+deb9u1 | < 8:2007f~dfsg-4+deb8u1 | < 8:2007f~dfsg-6
  • debian_linuxEOL8.0 | 9.0
Alpine1 product
  • php7< 7.1.29-r0
Canonical1 product
Mageia1 product
  • php< 5.6.39-1.mga6
Php1 product
  • php≥ 5.6.0, ≤ 5.6.38 | ≥ 7.0.0, ≤ 7.0.32 | ≥ 7.1.0, ≤ 7.1.24 | ≥ 7.2.0, ≤ 7.2.12
Uw-imap_project1 product

8 vendors · 20 products

References

32 links
Show all 32 references