module

qdPM 9.1 Authenticated Arbitrary PHP File Upload (RCE)

Disclosed
2020-11-21
Created
2022-09-29

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

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.