CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  What's the CVSS score of your company?
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2018-19518

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.
Publish Date : 2018-11-25 Last Update Date : 2021-12-29
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
8.5
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication ???
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 88

- Products Affected By CVE-2018-19518

# Product Type Vendor Product Version Update Edition Language
1 OS Debian Debian Linux 8.0 * * * Version Details Vulnerabilities
2 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
3 Application PHP PHP * * * * Version Details Vulnerabilities
4 Application Uw-imap Project Uw-imap 2007f * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Debian Debian Linux 2
PHP PHP 1
Uw-imap Project Uw-imap 1

- References For CVE-2018-19518

https://bugs.debian.org/913836
https://bugs.debian.org/913835
https://bugs.debian.org/913775
https://antichat.com/threads/463395/#post-4254681
https://security.gentoo.org/glsa/202003-57
GENTOO GLSA-202003-57
https://usn.ubuntu.com/4160-1/
UBUNTU USN-4160-1
https://security.netapp.com/advisory/ntap-20181221-0004/ CONFIRM
https://lists.debian.org/debian-lts-announce/2019/03/msg00001.html
MLIST [debian-lts-announce] 20190301 [SECURITY] [DLA 1700-1] uw-imap security update
https://lists.debian.org/debian-lts-announce/2021/12/msg00031.html
MLIST [debian-lts-announce] 20211229 [SECURITY] [DLA 2866-1] uw-imap security update
https://www.exploit-db.com/exploits/45914/
EXPLOIT-DB 45914
https://www.debian.org/security/2018/dsa-4353
DEBIAN DSA-4353
https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html
MLIST [debian-lts-announce] 20181217 [SECURITY] [DLA 1608-1] php5 security update
http://www.securityfocus.com/bid/106018
BID 106018 PHP CVE-2018-19518 Remote Command Injection Vulnerability Release Date:2018-11-22
https://git.php.net/?p=php-src.git;a=commit;h=e5bfea64c81ae34816479bb05d17cdffe45adddb CONFIRM
http://www.securitytracker.com/id/1042157
SECTRACK 1042157
https://bugs.php.net/bug.php?id=77160
https://bugs.php.net/bug.php?id=76428
https://bugs.php.net/bug.php?id=77153
https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php
https://www.openwall.com/lists/oss-security/2018/11/22/3

- Metasploit Modules Related To CVE-2018-19518

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.