CVE-2021-4007: Rapid7 Insight Agent Privilege Escalation
Rapid7 Insight Agent, versions 3.0.1 to 3.1.2.34, suffer from a local privilege escalation due to an uncontrolled DLL search path. Specifically, when Insight Agent versions 3.0.1 to 3.1.2.34 start, the Python interpreter attempts to load python3.dll at "C:\DLLs\python3.dll," which normally is writable by locally authenticated users. Because of this, a malicious local user could use Insight Agent's startup conditions to elevate to SYSTEM privileges. This issue was fixed in Rapid7 Insight Agent 3.1.2.35. This vulnerability is a regression of CVE-2019-5629.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2021-4007?
CVE-2021-4007 is a vulnerability that affects Rapid7 Insight Agent versions 3.0.1 to 3.1.2.34 and allows for local privilege escalation due to an uncontrolled DLL search path.
How severe is CVE-2021-4007?
CVE-2021-4007 has a severity score of 7.8, which is considered high.
Which Rapid7 Insight Agent versions are affected by CVE-2021-4007?
Rapid7 Insight Agent versions 3.0.1 to 3.1.2.34 are affected by CVE-2021-4007.
How can local privilege escalation occur due to CVE-2021-4007?
Local privilege escalation can occur due to CVE-2021-4007 because when Insight Agent versions 3.0.1 to 3.1.2.34 start, the Python interpreter attempts to load python3.dll at "C:\DLLs\python3.dll," which normally is writable by a non-administrative user.
How can I fix CVE-2021-4007?
To fix CVE-2021-4007, update Rapid7 Insight Agent to version 3.1.2.35 or later.