Rapid7 Vulnerability & Exploit Database

IBM QRadar SIEM Unauthenticated Remote Code Execution

Back to Search

IBM QRadar SIEM Unauthenticated Remote Code Execution

Disclosed
05/28/2018
Created
07/25/2018

Description

IBM QRadar SIEM has three vulnerabilities in the Forensics web application that when chained together allow an attacker to achieve unauthenticated remote code execution. The first stage bypasses authentication by fixating session cookies. The second stage uses those authenticated sessions cookies to write a file to disk and execute that file as the "nobody" user. The third and final stage occurs when the file executed as "nobody" writes an entry into the database that causes QRadar to execute a shell script controlled by the attacker as root within the next minute. Details about these vulnerabilities can be found in the advisories listed in References. The Forensics web application is disabled in QRadar Community Edition, but the code still works, so these vulnerabilities can be exploited in all flavours of QRadar. This module was tested with IBM QRadar CE 7.3.0 and 7.3.1. IBM has confirmed versions up to 7.2.8 patch 12 and 7.3.1 patch 3 are vulnerable. Due to payload constraints, this module only runs a generic/shell_reverse_tcp payload.

Author(s)

  • Pedro Ribeiro <pedrib@gmail.com>

Platform

Unix

Architectures

cmd

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/ibm_qradar_unauth_rce
msf exploit(ibm_qradar_unauth_rce) > show targets
    ...targets...
msf exploit(ibm_qradar_unauth_rce) > set TARGET < target-id >
msf exploit(ibm_qradar_unauth_rce) > show options
    ...show and set options...
msf exploit(ibm_qradar_unauth_rce) > 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

;