Hacking

Trend Micro addressed two DLL Hijacking flaws in Trend Micro Password Manager

Trend Micro addressed 2 DLL hijacking flaws in Trend Micro Password Manager that could allow malicious actors to escalate privileges and much more.

Security expert Peleg Hadar from SafeBreach discovered a DLL hijacking vulnerability in the Trend Micro Password Manager that could be exploited to execute arbitrary code with the permissions of the most privileged account on a Windows system.

The flaw, tracked as CVE-2019-14684, could allow an authenticated attacker to run with SYSTEM privileges an arbitrary, unsigned DLL file within a trusted process. 

SafeBreach Labs discovered a new vulnerability in Trend Micro Password Manager software.” reads the post published by SafeBreach.

“In this post, we will demonstrate how this vulnerability could have been used in order to achieve privilege escalation and persistence by loading an arbitrary unsigned DLL into a service that runs as NT AUTHORITY\SYSTEM.”

The Trend Micro Password Manager is provided as a standalone application or integrated with Trend Micro Maximum Security product, it allows to manage website passwords and login IDs in one secure location.

The flaw resides in the “Trend Micro Password Manager Central Control Service” that fails to check if a certain DLL (tmtap.dll) is installed on the system.

According to the experts, the service executes the signed process PwmSvc.exe with SYSTEM privileges that then loads the Trend Micro Whitelist Module library (tmwlutil.dll), which attempts to load the tmtap.dll.

The tmtap.dll DLL is not loaded is a safe way from an absolute path, and the security software does not verify that the loaded DLL is signed.

The software searches the DLL also in system folders and also in c:/python27 that allowed exploitation.

“In our VM, the c:\python27 has an ACL which allows any authenticated user to write files onto the ACL. This makes the privilege escalation simple and allows a regular user to write the missing DLL file and achieve code execution as NT AUTHORITY\SYSTEM.” continues the advisory.

“It is important to note that an administrative user or process must (1) set the directory ACLs to allow access to non-admin user accounts, and (2) modify the system’s PATH variable to include that directory. This can be done by different applications.”

The expert wrote PoC exploit code for the privilege escalation, he compiled an unsigned DLL that wrote to a text file the name of the process loading it, the username that executed it, and the name of the DLL file.

The DLL ran with SYSTEM privileges within a signed Trend Micro process demonstrating the possible exploitation of the issue.

The expert explained that the exploit code will be executed every time the PwmSvc.exe service loads, allowing a malware using this mechanism to achieve persistence on a system running a vulnerable version of Trend Micro Password Manager.

Another researcher, Trần Văn Khang of Infiniti Team – VinCSS, reported a second DLL injection issue that was tracked as CVE-2019-14687.

This second vulnerability could be exploited using a different DLL.

“A separate, but similar DLL hijacking vulnerability exists in Trend Micro Password Manager 5.0, utilizing a separate DLL.” reads the security advisory published by Trend Micro.

Users having the automatic updates feature enabled in Trend Micro Password Manager should have already received the fix to address the flaws.

Trend Micro confirmed it is not aware of any actual attacks exploiting the above vulnerabilities.

[adrotate banner=”9″] [adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – Trend Micro’s Password Manager, hacking)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Google: China dominates government exploitation of zero-day vulnerabilities in 2023

Google's Threat Analysis Group (TAG) and Mandiant reported a surge in the number of actively…

4 hours ago

Google addressed 2 Chrome zero-days demonstrated at Pwn2Own 2024

Google addressed two zero-day vulnerabilities in the Chrome web browser that have been demonstrated during…

16 hours ago

INC Ransom stole 3TB of data from the National Health Service (NHS) of Scotland

The INC Ransom extortion group hacked the National Health Service (NHS) of Scotland and is threatening…

20 hours ago

CISA adds Microsoft SharePoint bug disclosed at Pwn2Own to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a Microsoft SharePoint vulnerability disclosed at the…

1 day ago

The DDR Advantage: Real-Time Data Defense

This is the advantage of Data Detection and Response (DDR) for organizations aiming to build…

1 day ago

Finnish police linked APT31 to the 2021 parliament attack

The Finnish Police attributed the attack against the parliament that occurred in March 2021 to…

1 day ago

This website uses cookies.