Rapid7 Vulnerability & Exploit Database

Ivanti Connect Secure Authenticated Remote Code Execution via OpenSSL CRLF Injection

Back to Search

Ivanti Connect Secure Authenticated Remote Code Execution via OpenSSL CRLF Injection

Disclosed
10/08/2024
Created
12/04/2024

Description

This module exploits a CRLF injection vulnerability in Ivanti Connect Secure to achieve remote code execution (CVE-2024-37404). Versions prior to 22.7R2.1 are vulnerable. Note that Ivanti Policy Secure versions prior to 22.7R1.1 are also vulnerable but this module doesn't support this software. Valid administrative credentials are required. A non-administrative user is also required and can be created using the administrative account, if needed.

Author(s)

  • Richard Warren
  • Christophe De La Fuente

Platform

Linux

Architectures

x86

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/ivanti_connect_secure_rce_cve_2024_37404
msf exploit(ivanti_connect_secure_rce_cve_2024_37404) > show targets
    ...targets...
msf exploit(ivanti_connect_secure_rce_cve_2024_37404) > set TARGET < target-id >
msf exploit(ivanti_connect_secure_rce_cve_2024_37404) > show options
    ...show and set options...
msf exploit(ivanti_connect_secure_rce_cve_2024_37404) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;