CVE-2021-4007: Rapid7 Insight Agent Privilege Escalation

Published Dec 14, 2021
·
Updated

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

1 affected component
Rapid7 Insight Agent>=3.0.1<3.1.2.35

Event History

Dec 14, 2021
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How severe is CVE-2021-4007?

CVE-2021-4007 has a severity score of 7.8, which is considered high.

3

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.

4

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.

5

How can I fix CVE-2021-4007?

To fix CVE-2021-4007, update Rapid7 Insight Agent to version 3.1.2.35 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203