CVE-2021-4007
Rapid7 Insight Cloud Agent vulnerability analysis and mitigation

Overview

Rapid7 Insight Agent, versions 3.0.1 to 3.1.2.34, contained a local privilege escalation vulnerability due to an uncontrolled DLL search path. The vulnerability was discovered in December 2021 and was assigned CVE-2021-4007. This issue was a regression of a previous vulnerability (CVE-2019-5629) and was fixed in Rapid7 Insight Agent version 3.1.2.35 (NVD, Release Notes).

Technical details

The vulnerability stems from an uncontrolled DLL search path issue. When Insight Agent starts, the Python interpreter attempts to load python3.dll at 'C:\DLLs\python3.dll,' which is typically writable by locally authenticated users. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high impact potential. The weakness is categorized as CWE-427 (Uncontrolled Search Path Element) (NVD).

Impact

If exploited, this vulnerability allows a malicious local user to leverage Insight Agent's startup conditions to elevate their privileges to SYSTEM level, effectively gaining complete control over the affected system (NVD).

Mitigation and workarounds

The vulnerability was addressed in Rapid7 Insight Agent version 3.1.2.35. Users should upgrade to this version or later to mitigate the risk (Release Notes).

Community reactions

Credit for discovering and reporting this vulnerability was given to security researcher Dawson Medin (Release Notes).

Additional resources


SourceThis report was generated using AI

Related Rapid7 Insight Cloud Agent vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2022-0237HIGH7.8
  • Rapid7 Insight Cloud AgentRapid7 Insight Cloud Agent
  • cpe:2.3:a:rapid7:insight_agent
NoYesMar 17, 2022
CVE-2021-4007HIGH7.8
  • Rapid7 Insight Cloud AgentRapid7 Insight Cloud Agent
  • cpe:2.3:a:rapid7:insight_agent
NoYesDec 14, 2021
CVE-2019-5629HIGH7.8
  • Rapid7 Insight Cloud AgentRapid7 Insight Cloud Agent
  • cpe:2.3:a:rapid7:insight_agent
NoYesJul 13, 2019
CVE-2023-2273HIGH7.5
  • Rapid7 Insight Cloud AgentRapid7 Insight Cloud Agent
  • cpe:2.3:a:rapid7:insight_agent
NoYesApr 26, 2023
CVE-2021-4016LOW3.3
  • Rapid7 Insight Cloud AgentRapid7 Insight Cloud Agent
  • cpe:2.3:a:rapid7:insight_agent
NoYesJan 21, 2022

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management