Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Informations
NameCVE-2018-19518First vendor Publication2018-11-25
VendorCveLast vendor Modification2019-03-05

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:S/C:C/I:C/A:C)
Cvss Base Score8.5Attack RangeNetwork
Cvss Impact Score10Attack ComplexityMedium
Cvss Expoit Score6.8AuthenticationRequires single instance
Calculate full CVSS 2.0 Vectors scores

Detail

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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19518

CWE : Common Weakness Enumeration

%idName
100 %CWE-78Improper Sanitization of Special Elements used in an OS Command ('OS Command Injection') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application111
Application1
Os2

SAINT Exploits

DescriptionLink
Horde Imp Unauthenticated Remote Command ExecutionMore info here

Metasploit Database

idDescription
2018-10-23 php imap_open Remote Code Execution

Nessus® Vulnerability Scanner

DateDescription
2019-01-14Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2019-1147.nasl - Type : ACT_GATHER_INFO
2019-01-03Name : The remote Fedora host is missing a security update.
File : fedora_2018-7ebfe1e6f2.nasl - Type : ACT_GATHER_INFO
2019-01-03Name : The remote Fedora host is missing a security update.
File : fedora_2018-dfe1f0bac6.nasl - Type : ACT_GATHER_INFO
2018-12-17Name : The remote Debian host is missing a security update.
File : debian_DLA-1608.nasl - Type : ACT_GATHER_INFO
2018-12-11Name : The remote Debian host is missing a security-related update.
File : debian_DSA-4353.nasl - Type : ACT_GATHER_INFO

Sources (Detail)

SourceUrl
BID http://www.securityfocus.com/bid/106018
CONFIRM https://git.php.net/?p=php-src.git;a=commit;h=e5bfea64c81ae34816479bb05d17cdf...
https://security.netapp.com/advisory/ntap-20181221-0004/
DEBIAN https://www.debian.org/security/2018/dsa-4353
EXPLOIT-DB https://www.exploit-db.com/exploits/45914/
MISC https://antichat.com/threads/463395/#post-4254681
https://bugs.debian.org/913775
https://bugs.debian.org/913835
https://bugs.debian.org/913836
https://bugs.php.net/bug.php?id=76428
https://bugs.php.net/bug.php?id=77153
https://bugs.php.net/bug.php?id=77160
https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php
https://www.openwall.com/lists/oss-security/2018/11/22/3
MLIST https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html
https://lists.debian.org/debian-lts-announce/2019/03/msg00001.html
SECTRACK http://www.securitytracker.com/id/1042157

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
DateInformations
2019-03-05 17:19:20
  • Multiple Updates
2019-03-02 17:18:56
  • Multiple Updates
2019-02-04 21:19:19
  • Multiple Updates
2019-01-25 21:19:08
  • Multiple Updates
2018-12-22 17:19:21
  • Multiple Updates
2018-12-17 17:19:10
  • Multiple Updates
2018-12-11 17:18:57
  • Multiple Updates
2018-12-01 17:19:01
  • Multiple Updates
2018-11-28 21:19:52
  • Multiple Updates
2018-11-28 17:18:59
  • Multiple Updates
2018-11-27 17:20:18
  • Multiple Updates
2018-11-25 13:21:36
  • First insertion