University of Washington IMAP Toolkit 2007f on Unix rsh Command c-client/imap4r1.c imap_open -oProxyCommand os command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.washington.edu/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.2VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Os command injectionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: e5bfea64c81ae34816479bb05d17cdffe45adddb
Timeline
11/22/2018 🔍11/25/2018 🔍
11/25/2018 🔍
11/25/2018 🔍
11/25/2018 🔍
11/28/2018 🔍
12/07/2018 🔍
12/11/2018 🔍
12/21/2024 🔍
Sources
Vendor: washington.eduAdvisory: 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: 🔍
Entry
Created: 11/25/2018 18:42Updated: 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.
No comments yet. Languages: en.
Please log in to comment.