CVE-2018-19518

HIGH EXPLOITED RANSOMWARE NUCLEI

University of Washington IMAP Toolkit 2007f - Command Injection

Title source: llm

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.

Exploits (5)

nomisec WORKING POC 4 stars
by houqe · remote
https://github.com/houqe/EXP_CVE-2018-19518
nomisec WORKING POC
by ensimag-security · poc
https://github.com/ensimag-security/CVE-2018-19518
gitlab WORKING POC
by ensimag-security · poc
https://gitlab.com/ensimag-security/CVE-2018-19518
exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotelinux
https://www.exploit-db.com/exploits/45914

Nuclei Templates (1)

PHP imap - Remote Command Execution
HIGHby princechaddha

References (20)

Scores

CVSS v3 7.5
EPSS 0.9396
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation Intel

VulnCheck KEV 2023-02-14
Ransomware Use Confirmed

Classification

CWE
CWE-88
Status published

Affected Products (7)

php/php < 5.6.38
debian/debian_linux
debian/debian_linux
uw-imap_project/uw-imap
canonical/ubuntu_linux
canonical/ubuntu_linux
canonical/ubuntu_linux

Timeline

Published Nov 25, 2018
Tracked Since Feb 18, 2026