CVE-2018-19518
CVE-2018-19518
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 · Élevée · EPSS 96,1% · Code d’exploitation public · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
n/a
- Versions du logiciel
- n/a: Concernée
Aucun correctif publié
uw-imap Debian:12
- Plages de versions concernées
- ECOSYSTEM: < 8:2007f~dfsg-6
Mettez à jour vers 8:2007f~dfsg-6
php-imap Ubuntu:14.04:LTS
- Versions du logiciel
- 5.4.6-0ubuntu3
- 5.4.6-0ubuntu5
- Plages de versions concernées
- ECOSYSTEM: < 5.4.6-0ubuntu5.1
Mettez à jour vers 5.4.6-0ubuntu5.1
uw-imap Ubuntu:Pro:14.04:LTS
- Versions du logiciel
- 8:2007e~dfsg-3.2ubuntu2
- 8:2007f~dfsg-2
- Plages de versions concernées
- ECOSYSTEM: < 8:2007f~dfsg-2ubuntu0.1~esm1
Mettez à jour vers 8:2007f~dfsg-2ubuntu0.1~esm1
php7.0 Ubuntu:16.04:LTS
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: < 7.0.33-0ubuntu0.16.04.1
Mettez à jour vers 7.0.33-0ubuntu0.16.04.1
uw-imap Ubuntu:16.04:LTS
- Versions du logiciel
- 8:2007f~dfsg-4
- Plages de versions concernées
- ECOSYSTEM: < 8:2007f~dfsg-4+deb8u1build0.16.04.1
Mettez à jour vers 8:2007f~dfsg-4+deb8u1build0.16.04.1
php7.2 Ubuntu:18.04:LTS
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: < 7.2.15-0ubuntu0.18.04.1
Mettez à jour vers 7.2.15-0ubuntu0.18.04.1
uw-imap Ubuntu:18.04:LTS
- Versions du logiciel
- 8:2007f~dfsg-5
- 8:2007f~dfsg-5build1
- 8:2007f~dfsg-5ubuntu0.18.04.1
- Plages de versions concernées
- ECOSYSTEM: < 8:2007f~dfsg-5ubuntu0.18.04.2
Mettez à jour vers 8:2007f~dfsg-5ubuntu0.18.04.2
Sources originales
- https://bugs.php.net/bug.php?id=77160
- https://www.exploit-db.com/exploits/45914/
- https://lists.debian.org/debian-lts-announce/2019/03/msg00001.html
- https://security.netapp.com/advisory/ntap-20181221-0004/
- http://www.securitytracker.com/id/1042157
- https://www.debian.org/security/2018/dsa-4353
- https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php
- https://bugs.debian.org/913835
- https://www.openwall.com/lists/oss-security/2018/11/22/3
- https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=e5bfea64c81ae34816479bb05d17cdffe45adddb
- http://www.securityfocus.com/bid/106018
- https://bugs.php.net/bug.php?id=76428
- https://bugs.debian.org/913775
- https://bugs.debian.org/913836
- https://antichat.com/threads/463395/#post-4254681
- https://bugs.php.net/bug.php?id=77153
- https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html
- https://usn.ubuntu.com/4160-1/
- https://security.gentoo.org/glsa/202003-57
- https://lists.debian.org/debian-lts-announce/2021/12/msg00031.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-19518