VULNERABILITY REPORT: DLL Hijacking Vulnerability in CygWin setup-x86_64.exe
Suman Chakraborty
chakrabortysuman487@gmail.com
Fri Feb 2 09:24:57 GMT 2024
Hey Cygwin Team,
I hope this email finds you well. As an independent security researcher, I
often explore open-source projects to identify and report potential
security vulnerabilities. During my recent exploration of Cygwin, I came
across a critical vulnerability in setup-x86_64.exe
<https://cygwin.com/setup-x86_64.exe> that I believe warrants your
immediate attention.
1. Executive Summary:
The vulnerability pertains to not finding the profapi.dll and insecure
loading of dynamic link libraries (DLLs), specifically profapi.dll. If
exploited, this vulnerability could allow an attacker to execute arbitrary
code on a victim's machine, potentially leading to data breaches, system
compromise, and other malicious activities.
2. Details of the Vulnerability:
Type: DLL Hijacking
Affected Component: profapi.dll
Impact: Remote Code Execution, Data Theft or
Manipulation, Persistence, Bypassing Security Mechanisms, Spreading Malware.
Description: The application attempts to load profapi.dll from its current
working directory (CWD). If a malicious version of test.dll is present in
the CWD, the application will inadvertently load and execute the malicious
DLL.
3. Proof of Concept:
I've attached a proof of concept to this email, demonstrating the
vulnerability in action. Please review it to understand the potential
impact and exploitability.
The link is given below:
POC Video:
https://drive.google.com/file/d/11rBPnImiZS-CEwPM9eBlU6GSHjHYD2ns/view?usp=sharing
4. Conclusion:
The identified DLL Hijacking vulnerability poses a significant risk to
users of Cygwin during the installation and executing the setup-x86_64.exe
<https://cygwin.com/setup-x86_64.exe>. I urge you to address this issue
promptly. I'm available for any further clarification or assistance in
addressing the vulnerability
Thank you for your attention to this matter, and I appreciate the hard work
you put into maintaining and improving open-source projects for the
community.Best regards,
Submitted by:
Suman Kumar Chakraborty
LinkedIn:https://www.linkedin.com/in/suman-chakraborty-b857901b1/
More information about the Cygwin
mailing list