Rapid7

module

qdPM 9.1 Authenticated Arbitrary PHP File Upload (RCE)

Disclosed
Nov 21, 2020
Created
Sep 29, 2022

Description

A remote code execution (RCE) vulnerability exists in qdPM 9.1 and earlier.
An attacker can upload a malicious PHP code file via the profile photo functionality, by leveraging a path traversal
vulnerability in the users['photop_preview'] delete photo feature, allowing bypass of .htaccess protection.
NOTE: this issue exists because of an incomplete fix for CVE-2015-3884.

Authors

Rishal Dwivedi (Loginsoft)
Leon Trappett (thepcn3rd)
Giacomo Casoni

Platform

Linux,PHP,Windows

Architectures

php, x86, x64

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