# CVE-2022-32223
Source files for generating a demonstration exploit of [CVE-2022-32223](https://nvd.nist.gov/vuln/detail/CVE-2022-32223):
> 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 for `providers.dll` in the current user directory.
> After that, `node.exe` will try to search for `providers.dll` by the DLL Search Order in Windows.
> It is possible for an attacker to place the malicious file `providers.dll` under a variety of paths and exploit this vulnerability.
[4.0K] /data/pocs/ad809ae18d102d8d6cbd358f58c1b980ef081bab
├── [4.0K] npm-package
│ ├── [ 354] package.json
│ └── [ 692] README.md
├── [4.0K] payload
│ ├── [ 433] providers.cpp
│ └── [ 665] README.md
└── [ 807] README.md
2 directories, 5 files