CVE-2021-4007
Last modified
CVE-2021-4007 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rapid7 | Insight Agent | >= 3.0.1, < 3.1.2.35 |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-5629Third Party Advisory
- https://docs.rapid7.com/release-notes/insightagent/20211210/Release Notes, Third Party Advisory
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-5629Third Party Advisory
- https://docs.rapid7.com/release-notes/insightagent/20211210/Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-4007?
How severe is CVE-2021-4007?
How do I fix CVE-2021-4007?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-40062There is a vulnerability of copying input buffer without che…7.5
- CVE-2021-40063There is an improper access control vulnerability in the vid…7.5
- CVE-2021-40064There is a heap-based buffer overflow vulnerability in syste…7.5
- CVE-2021-40065The communication module has a service logic error vulnerabi…7.5
- CVE-2021-40066The access controls on the Mobility read-only API improperly…5.3
- CVE-2021-40067The access controls on the Mobility read-write API improperl…6.8
- CVE-2021-4008A flaw was found in xorg-x11-server in versions before 21.1.…7.8
- CVE-2021-40083Knot Resolver before 5.3.2 is prone to an assertion failure,…7.5
- CVE-2021-40084opensysusers through 0.6 does not safely use eval on files i…9.8
- CVE-2021-40085An issue was discovered in OpenStack Neutron before 16.4.1, …6.5
- CVE-2021-40086An issue was discovered in PrimeKey EJBCA before 7.6.0. As p…2.2
- CVE-2021-40087An issue was discovered in PrimeKey EJBCA before 7.6.0. When…2.7
Are you affected by CVE-2021-4007?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
