CVE-2018-19518
- State
- Published
- Severity
- Not scored
- Published
- Nov 25, 2018
- Updated
- Aug 5, 2024
- Reserved
- Nov 25, 2018
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://bugs.php.net/bug.php?id=77160
- 45914exploit
- [debian-lts-announce] 20190301 [SECURITY] [DLA 1700-1] uw-imap security updatemailing-list
- https://security.netapp.com/advisory/ntap-20181221-0004/
- 1042157vdb-entry
- DSA-4353vendor-advisory
- 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
- 106018vdb-entry
- 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
- [debian-lts-announce] 20181217 [SECURITY] [DLA 1608-1] php5 security updatemailing-list
- USN-4160-1vendor-advisory
- GLSA-202003-57vendor-advisory
- [debian-lts-announce] 20211229 [SECURITY] [DLA 2866-1] uw-imap security updatemailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.