Connect with us

Hi, what are you looking for?



DLL Hijacking Flaw Found in Bitdefender Antivirus Free 2020

A DLL hijacking vulnerability affecting Bitdefender Antivirus Free 2020 could have been exploited for privilege escalation and other malicious purposes, SafeBreach researchers revealed on Wednesday.

A DLL hijacking vulnerability affecting Bitdefender Antivirus Free 2020 could have been exploited for privilege escalation and other malicious purposes, SafeBreach researchers revealed on Wednesday.

The vulnerability, tracked as CVE-2019-15295 with a CVSS score of 5.9 (medium severity), impacted Bitdefender Antivirus Free 2020 versions prior to, which patches the vulnerability. Bitdefender, which described the flaw as an untrusted search path issue, said the mitigation was delivered to affected users automatically.

According to SafeBreach, the security hole is related to the ServiceInstance.dll library, which is loaded by the BitDefender Update Service (updatesrv.exe) and the BitDefender Security Service (vsserv.exe), both of which are signed by Bitdefender and run with SYSTEM privileges. ServiceInstance.dll in turn loads a library called RestartWatchDog.dll.

The problem, SafeBreach said, was that RestartWatchDog.dll was not loaded safely and the antivirus application did not ensure that the loaded library file was signed. This allowed an attacker with access to a system running Bitdefender Antivirus Free 2020 to plant a malicious version of the library that would be executed instead of the legitimate version.

However, it’s important to note that for the attack to work a user or process with administrative privileges would first need to modify the system PATH variable to include the folder where the attacker wants to plant the malicious DLL, and to set the permissions for that directory so that non-admin users can write files to it.

Ensuring that a malicious library is loaded instead of the legitimate component can help attackers achieve various goals. For example, once the PATH modifications are made by an admin, a regular user can plant the malicious DLL, escalating its privileges to SYSTEM.

“After an attacker gains access to a computer, he might have limited privileges which can limit access to certain files and data. The service provides him with the ability to operate as NT AUTHORITYSYSTEM which is the most powerful user in Windows, so he can access almost every file and process which belongs to the user on the computer,” SafeBreach said in a blog post.

Advertisement. Scroll to continue reading.

Since the Bitdefender Security Service and the Update Service are loaded every time the computer starts, the attack can be useful as a persistence mechanism for malware, which would get executed by these services on every boot.

SafeBreach says attackers could have also exploited the vulnerability to load and execute their malicious payloads using a signed service, which can be useful for bypassing application whitelisting mechanisms.

The vulnerability was reported to Bitdefender on July 17 and a patch was rolled out roughly one month later.

Earlier this month, SafeBreach reported finding a very similar vulnerability in Trend Micro’s Password Manager.

Related: Dozen Flaws Found in Trend Micro Email Encryption Gateway

Related: Code Execution Flaws Found in Trend Micro Smart Protection Server

Related: Trend Micro Patches Flaws in ServerProtect for Linux

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join security experts as they discuss ZTNA’s untapped potential to both reduce cyber risk and empower the business.


Join Microsoft and Finite State for a webinar that will introduce a new strategy for securing the software supply chain.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...


The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.


Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.


A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...


Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.