module

Palo Alto Expedition Remote Code Execution (CVE-2024-5910 and CVE-2024-9464)

Disclosed
Oct 9, 2024
Created
Nov 13, 2024

Description

Obtain remote code execution in Palo Alto Expedition version 1.2.91 and below.
The first vulnerability, CVE-2024-5910, allows to reset the password of the admin user, and the second vulnerability, CVE-2024-9464, is an authenticated OS command injection. In a default installation, commands will get executed in the context of www-data.
When credentials are provided, this module will only exploit the second vulnerability. If no credentials are provided, the module will first try to reset the admin password and then perform the OS command injection.

Authors

Michael Heinzl
Zach Hanley
Enrique Castillo
Brian Hysell

Platform

Linux,Unix

Architectures

cmd

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.