CVE-2024-50498

CRITICAL EXPLOITED NUCLEI

WP Query Console <= 1.0 - Remote Code Execution

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2024-50498 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 7 public exploits from researchers including iSee857, RandomRobbieBF, JoshuaProvoste. A Nuclei detection template is also available.

AI-analyzed exploit summary The repository contains functional exploit code for multiple CVEs, including CVE-2026-22812, which demonstrates remote command execution (RCE) via crafted HTTP requests to vulnerable endpoints. The code includes proper error handling, multi-threading, and session management to exploit the vulnerability.

Description

Improper Control of Generation of Code ('Code Injection') vulnerability in Ajit Bohra WP Query Console wp-query-console allows Code Injection.This issue affects WP Query Console: from n/a through <= 1.0.

Exploits (7)

github WORKING POC 40 stars
by iSee857 · pythonpoc
https://github.com/iSee857/CVE-PoC/tree/main/WP_QueryConsole(CVE-2024-50498).py

The repository contains functional exploit code for multiple CVEs, including CVE-2026-22812, which demonstrates remote command execution (RCE) via crafted HTTP requests to vulnerable endpoints. The code includes proper error handling, multi-threading, and session management to exploit the vulnerability.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenCode (CVE-2026-22812), Altenergy (CVE-2024-11305), Apache NiFi (CVE-2024-56512), Apache Solr (CVE-2024-45216), Apache Tomcat (CVE-2024-50379), and others
No auth needed
Prerequisites: Network access to the target · Vulnerable endpoint exposed
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WORKING POC 3 stars
by RandomRobbieBF · remote
https://github.com/RandomRobbieBF/CVE-2024-50498

This PoC demonstrates an unauthenticated Remote Code Execution (RCE) vulnerability in the WP Query Console WordPress plugin (versions <= 1.0). The exploit sends a crafted POST request to the `/wp-json/wqc/v1/query` endpoint with a malicious `queryArgs` parameter containing PHP code (e.g., `phpinfo()`), which is executed on the server.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WP Query Console WordPress plugin <= 1.0
No auth needed
Prerequisites: Target must have the vulnerable WP Query Console plugin installed and activated · The `/wp-json/wqc/v1/query` endpoint must be accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by JoshuaProvoste · remote
https://github.com/JoshuaProvoste/0-click-RCE-Exploit-for-CVE-2024-50498

This is a functional exploit for CVE-2024-50498, targeting an unauthenticated code injection vulnerability in the LUBUS WP Query Console WordPress plugin. It uploads a PHP web shell via a crafted POST request to a vulnerable REST endpoint and provides an interactive remote shell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: LUBUS WP Query Console WordPress plugin (version <= 1.0)
No auth needed
Prerequisites: Vulnerable LUBUS WP Query Console plugin installed on target WordPress site · Network access to the target WordPress REST API endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by p0et08 · remote
https://github.com/p0et08/CVE-2024-50498

This PoC exploits a command injection vulnerability in WP Query Console <=1.0 by sending a crafted JSON payload to the `/wp-json/wqc/v1/query` endpoint, allowing arbitrary command execution via the `system()` PHP function.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WP Query Console <=1.0
No auth needed
Prerequisites: Target must have WP Query Console <=1.0 installed and accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by androidteacher · remote
https://github.com/androidteacher/CVE-2024-50498-wpquery

This repository contains a functional exploit for CVE-2024-50498, targeting a WordPress plugin vulnerability where the `queryArgs` parameter is passed to `eval()`, allowing arbitrary PHP code execution. The exploit constructs a payload to execute system commands while maintaining the expected return type.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WP Query Console WordPress plugin
No auth needed
Prerequisites: Target must have the vulnerable WP Query Console plugin installed and accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WORKING POC
by Boshe99 · pythonpoc
https://github.com/Boshe99/CVE-Exploits/tree/main/CVE-2024-50498

The repository contains functional exploit code for CVE-2024-50498, targeting an arbitrary file upload vulnerability in the WordPress Plugin 3DPrint Lite 1.9.1.4. The exploit demonstrates the ability to upload malicious files to a vulnerable target.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WordPress Plugin 3DPrint Lite 1.9.1.4
No auth needed
Prerequisites: target URL · malicious file to upload
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WORKING POC
by Nxploited · remote
https://github.com/Nxploited/CVE-2024-50498

This PoC exploits a code injection vulnerability in LUBUS WP Query Console (version 1.0) by sending a malicious payload to the `/wp-json/wqc/v1/query` endpoint, resulting in a reverse shell. The script first checks for the vulnerable plugin version before executing the exploit.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: LUBUS WP Query Console <= 1.0
No auth needed
Prerequisites: Target must have the vulnerable plugin installed and accessible · Attacker must have network connectivity to the target · Netcat listener must be set up on the attacker's machine
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

WP Query Console <= 1.0 - Remote Code Execution
CRITICALVERIFIEDby s4e-io
FOFA: body="wp-content/plugins/wp-query-console/"

Scores

CVSS v3 10.0
EPSS 0.5558
EPSS Percentile 98.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

VulnCheck KEV 2025-06-08
CWE
CWE-94
Status published
Products (2)
Ajit Bohra/WP Query Console < 1.0
lubus/wp_query_console < 1.0
Published Oct 28, 2024
Tracked Since Feb 18, 2026