University of Washington IMAP Toolkit 2007f on Unix rsh Command c-client/imap4r1.c imap_open -oProxyCommand os command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.1$0-$5k0.00

Summaryinfo

A vulnerability was found in University of Washington IMAP Toolkit 2007f on Unix and classified as critical. This affects the function imap_open of the file c-client/imap4r1.c of the component rsh Command Handler. Executing a manipulation of the argument -oProxyCommand can lead to os command injection. This vulnerability is handled as CVE-2018-19518. The attack can be executed remotely. Additionally, an exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in University of Washington IMAP Toolkit 2007f on Unix. It has been declared as critical. This vulnerability affects the function imap_open of the file c-client/imap4r1.c of the component rsh Command Handler. The manipulation of the argument -oProxyCommand with an unknown input leads to a os command injection vulnerability. The CWE definition for the vulnerability is CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

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.

The bug was discovered 11/28/2018. The weakness was released 11/25/2018 (Website). The advisory is shared for download at securityfocus.com. This vulnerability was named CVE-2018-19518 since 11/25/2018. The attack can be initiated remotely. A single authentication is needed for exploitation. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1202.

It is possible to download the exploit at exploit-db.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 119569 (openSUSE Security Update : php5 (openSUSE-2018-1506)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176543 (Debian Security Update for php7.0 (DSA 4353-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (45914), Tenable (119569), SecurityFocus (BID 106018†) and OSVDB (5282†). Entries connected to this vulnerability are available at VDB-124095 and VDB-127696. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.2
VulDB Meta Temp Score: 6.1

VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Os command injection
CWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 119569
Nessus Name: openSUSE Security Update : php5 (openSUSE-2018-1506)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Saint ID: horde_imp_rce
Saint Name: Horde Imp Unauthenticated Remote Command Execution

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: php_imap_open_rce.rb
MetaSploit Name: php imap_open Remote Code Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: e5bfea64c81ae34816479bb05d17cdffe45adddb

Timelineinfo

11/22/2018 🔍
11/25/2018 +3 days 🔍
11/25/2018 +0 days 🔍
11/25/2018 +0 days 🔍
11/25/2018 +0 days 🔍
11/28/2018 +3 days 🔍
12/07/2018 +9 days 🔍
12/11/2018 +4 days 🔍
12/21/2024 +2202 days 🔍

Sourcesinfo

Vendor: washington.edu

Advisory: USN-4160-1
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-19518 (🔍)
GCVE (CVE): GCVE-0-2018-19518
GCVE (VulDB): GCVE-100-127096

OVAL: 🔍

SecurityFocus: 106018 - PHP CVE-2018-19518 Remote Command Injection Vulnerability
OSVDB: 5282 - CVE-2002-0484 - PHP - Security Bypass Issue
SecurityTracker: 1042157

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 11/25/2018 18:42
Updated: 12/21/2024 03:57
Changes: 11/25/2018 18:42 (84), 04/14/2020 16:58 (11), 06/11/2023 11:50 (7), 12/21/2024 03:57 (14)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!