p PatchFirst

CVE-2018-19518

CVE-2018-19518

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 7.5 · High · EPSS 96.1% · Public exploit · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • uw-imap Debian:12

    Affected ranges
    • ECOSYSTEM: < 8:2007f~dfsg-6

    Update to 8:2007f~dfsg-6

  • php-imap Ubuntu:14.04:LTS

    Versions
    • 5.4.6-0ubuntu3
    • 5.4.6-0ubuntu5
    Affected ranges
    • ECOSYSTEM: < 5.4.6-0ubuntu5.1

    Update to 5.4.6-0ubuntu5.1

  • uw-imap Ubuntu:Pro:14.04:LTS

    Versions
    • 8:2007e~dfsg-3.2ubuntu2
    • 8:2007f~dfsg-2
    Affected ranges
    • ECOSYSTEM: < 8:2007f~dfsg-2ubuntu0.1~esm1

    Update to 8:2007f~dfsg-2ubuntu0.1~esm1

  • php7.0 Ubuntu:16.04:LTS

    Versions
    • 7.0.1-5
    • 7.0.1-6
    • 7.0.2-1
    • 7.0.2-3
    • 7.0.2-4
    • 7.0.2-5
    • 7.0.3-2
    • 7.0.3-3
    • 7.0.3-9ubuntu1
    • 7.0.4-5ubuntu1
    • 7.0.4-5ubuntu2
    • 7.0.4-7ubuntu1
    • 7.0.4-7ubuntu2
    • 7.0.4-7ubuntu2.1
    • 7.0.8-0ubuntu0.16.04.1
    • 7.0.8-0ubuntu0.16.04.2
    • 7.0.8-0ubuntu0.16.04.3
    • 7.0.13-0ubuntu0.16.04.1
    • 7.0.15-0ubuntu0.16.04.1
    • 7.0.15-0ubuntu0.16.04.2
    • 7.0.15-0ubuntu0.16.04.4
    • 7.0.18-0ubuntu0.16.04.1
    • 7.0.22-0ubuntu0.16.04.1
    • 7.0.25-0ubuntu0.16.04.1
    • 7.0.28-0ubuntu0.16.04.1
    • 7.0.30-0ubuntu0.16.04.1
    • 7.0.32-0ubuntu0.16.04.1
    Affected ranges
    • ECOSYSTEM: < 7.0.33-0ubuntu0.16.04.1

    Update to 7.0.33-0ubuntu0.16.04.1

  • uw-imap Ubuntu:16.04:LTS

    Versions
    • 8:2007f~dfsg-4
    Affected ranges
    • ECOSYSTEM: < 8:2007f~dfsg-4+deb8u1build0.16.04.1

    Update to 8:2007f~dfsg-4+deb8u1build0.16.04.1

  • php7.2 Ubuntu:18.04:LTS

    Versions
    • 7.2.1-1ubuntu2
    • 7.2.2-1ubuntu1
    • 7.2.2-1ubuntu2
    • 7.2.3-1ubuntu1
    • 7.2.5-0ubuntu0.18.04.1
    • 7.2.7-0ubuntu0.18.04.1
    • 7.2.7-0ubuntu0.18.04.2
    • 7.2.10-0ubuntu0.18.04.1
    Affected ranges
    • ECOSYSTEM: < 7.2.15-0ubuntu0.18.04.1

    Update to 7.2.15-0ubuntu0.18.04.1

  • uw-imap Ubuntu:18.04:LTS

    Versions
    • 8:2007f~dfsg-5
    • 8:2007f~dfsg-5build1
    • 8:2007f~dfsg-5ubuntu0.18.04.1
    Affected ranges
    • ECOSYSTEM: < 8:2007f~dfsg-5ubuntu0.18.04.2

    Update to 8:2007f~dfsg-5ubuntu0.18.04.2

Original sources

Check your server →