CVE-2018-19518 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php 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 |
CPE
Remediation
| |
| debian debian linux | 8.0 9.0 |
CPE
Remediation
| |
| uw-imap project uw-imap | 2007f |
CPE
Remediation
| |
| canonical ubuntu linux | 16.04 18.04 19.04 |
CPE
Remediation
| |
Change History
19 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Apr 18, 2022 | Modified Analysis | [email protected] |
| Dec 29, 2021 | CVE Modified | [email protected] |
| Aug 24, 2020 | CWE Remap | [email protected] |
| Mar 26, 2020 | CVE Modified | [email protected] |
| Oct 21, 2019 | CVE Modified | [email protected] |
| Mar 5, 2019 | Modified Analysis | [email protected] |
| Mar 2, 2019 | CVE Modified | [email protected] |
| Feb 4, 2019 | Initial Analysis | [email protected] |
| Dec 22, 2018 | CVE Modified | [email protected] |
| Dec 17, 2018 | CVE Modified | [email protected] |
| Dec 11, 2018 | CVE Modified | [email protected] |
| Dec 1, 2018 | CVE Modified | [email protected] |
| Nov 28, 2018 | CVE Modified | [email protected] |
| Nov 28, 2018 | CVE Modified | [email protected] |
| Nov 27, 2018 | CVE Modified | [email protected] |