Rapid7

module

RedHat Piranha Virtual Server Package passwd.php3 Arbitrary Command Execution

Disclosed
Apr 4, 2000
Created
May 30, 2018

Description

This module abuses two flaws - a metacharacter injection vulnerability in the
HTTP management server of RedHat 6.2 systems running the Piranha
LVS cluster service and GUI (rpm packages: piranha and piranha-gui).
The vulnerability allows an authenticated attacker to execute arbitrary
commands as the Apache user account (nobody) within the
/piranha/secure/passwd.php3 script. The package installs with a default
user and password of piranha:q which was exploited in the wild.

Author

Platform

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