Severity: Unknown
Description: An untrusted search path vulnerability in IBM i Access for Windows versions 7.1 and earlier on Windows can allow arbitrary code execution via a Trojan horse DLL in the current working directory, related to use of the LoadLibrary function. IBM X-Force ID: 152079.
CVSS Score: N/A
D
No data available.
No data available.
1. Risk Assessment
The vulnerability CVE-2018-1888 is an untrusted search path vulnerability within IBM i Access for Windows versions 7.1 and earlier. This allows for potential arbitrary code execution if a Trojan horse DLL is present in the current working directory. The vulnerability stems from the use of the LoadLibrary function which doesn’t properly restrict the search path for DLLs. This presents a medium risk. The likelihood of exploitation is moderate, as it requires an attacker to place a malicious DLL in a directory that IBM i Access for Windows will search. The ease of exploitation is also moderate, requiring user interaction to trigger the loading of the malicious DLL, but once triggered, the code execution can occur. The potential impact includes compromise of confidentiality, integrity, and availability, as the attacker can execute code with the privileges of the IBM i Access for Windows process. A successful exploit could lead to data theft, system modification, or denial of service. The CVSS v3.0 score is 5.3 (Medium) with a Temporal Score of 4.6, indicating a confirmed vulnerability with a moderate level of severity.
2. Potential Attack Scenarios
An attacker could leverage this vulnerability through a phishing campaign. The attacker crafts an email containing a link that downloads a seemingly harmless file, such as a report or document, to a directory that IBM i Access for Windows utilizes. This directory becomes the current working directory when the user launches IBM i Access for Windows. The attacker also places a Trojan horse DLL, named in such a way that IBM i Access will attempt to load it, in the same directory. When the user opens the file with IBM i Access for Windows, the application attempts to load a DLL, and the LoadLibrary function pulls in the malicious DLL from the current working directory. This allows the attacker to execute arbitrary code on the system, potentially leading to full system compromise or data exfiltration. The attacker could install a keylogger, ransomware, or gain remote access to the system, depending on the functionality of the Trojan horse DLL.
3. Mitigation Recommendations
The primary mitigation for CVE-2018-1888 is to apply the official fix provided by IBM. Upgrade IBM i Access for Windows to a version later than 7.1. This patch corrects the untrusted search path vulnerability. The IBM documentation for this fix can be found at https://www.ibm.com/support/docview.wss?uid=ibm10740233. As an interim measure, restrict the current working directory of IBM i Access for Windows to trusted locations. Implement application control solutions to limit the execution of DLLs from untrusted sources. Regularly scan the system for malicious DLLs using antivirus software and vulnerability scanners. Educate users about phishing attacks and encourage them to be cautious when opening files from unknown sources.
4. Executive Summary
IBM i Access for Windows, versions 7.1 and earlier, contains a vulnerability (CVE-2018-1888) that could allow attackers to execute arbitrary code on affected systems. This vulnerability is due to an untrusted search path, meaning a malicious DLL placed in a common directory could be loaded by the application. A successful attack could result in data theft, system modifications, or denial of service. The risk is considered moderate, but the potential impact on business operations is significant. We recommend upgrading IBM i Access for Windows to the latest version to resolve this vulnerability. Patching is critical to reduce the risk of exploitation and protect sensitive data. Implementing additional security measures such as application control and user awareness training can further mitigate the risk and ensure the continued security of our systems. This is an important vulnerability to address promptly to minimize potential business disruption.