Node.js is vulnerable to Hijack Execution Flow: DLL...
High severity
Unreviewed
Published
Jul 15, 2022
to the GitHub Advisory Database
•
Updated Feb 2, 2023
Description
Published by the National Vulnerability Database
Jul 14, 2022
Published to the GitHub Advisory Database
Jul 15, 2022
Last updated
Feb 2, 2023
Node.js is vulnerable to Hijack Execution Flow: DLL Hijacking under certain conditions on Windows platforms.This vulnerability can be exploited if the victim has the following dependencies on a Windows machine:* OpenSSL has been installed and “C:\Program Files\Common Files\SSL\openssl.cnf” exists.Whenever the above conditions are present,
node.exe
will search forproviders.dll
in the current user directory.After that,node.exe
will try to search forproviders.dll
by the DLL Search Order in Windows.It is possible for an attacker to place the malicious fileproviders.dll
under a variety of paths and exploit this vulnerability.References