CVE-2019-5645
Rapid7 Metasploit vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2019-5645) was discovered in Rapid7's Metasploit Framework HTTP handler that allows attackers to cause a denial of service condition. The vulnerability affects Metasploit Framework versions up to and including 5.0.27. When exploited, an attacker can send specially crafted HTTP GET requests to a listening Metasploit HTTP handler to register arbitrary regular expressions (Metasploit PR, NVD).

Technical details

The vulnerability stems from improper handling of regular expressions in the HTTP handler component. When a specially crafted HTTP GET request is sent to a listening Metasploit HTTP handler, an attacker can register arbitrary regular expressions that are then evaluated by the server. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When successfully exploited, this vulnerability can either prevent new HTTP handler sessions from being established or cause resource exhaustion on the Metasploit server. This effectively creates a denial of service condition that impacts the availability of the affected Metasploit instance (NVD).

Exploitability

The vulnerability can be exploited remotely by sending specially crafted HTTP GET requests to a listening Metasploit HTTP handler. No authentication is required to exploit this vulnerability, making it relatively easy to execute an attack (NVD).

Mitigation and workarounds

The vulnerability was patched in a pull request to the Metasploit Framework repository. Users should upgrade to versions newer than 5.0.27 to mitigate this vulnerability (Metasploit PR).

Additional resources


SourceThis report was generated using AI

Related Rapid7 Metasploit vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2020-7385HIGH8.8
  • Ruby logoRuby
  • metasploit-framework
NoYesApr 23, 2021
CVE-2026-7373HIGH8.5
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoYesMay 15, 2026
CVE-2020-7384HIGH7.8
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoYesOct 29, 2020
CVE-2019-5645HIGH7.5
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoYesSep 01, 2020
CVE-2023-0599MEDIUM4.8
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoNoFeb 01, 2023

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