cbcvebase.
CVE-2024-50498
published 2024-10-28

CVE-2024-50498: Improper Control of Generation of Code ('Code Injection') vulnerability in Ajit Bohra WP Query Console wp-query-console allows Code Injection.This issue…

PriorityP189critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
53.64%
98.9th percentile
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.

Affected

2 ranges
VendorProductVersion rangeFixed in
ajit_bohrawp_query_console<= 1.0
lubuswp_query_console<= 1.0

Detection & IOCsextracted from sources · hover to see the quote

urlPOST /index.php?rest_route=/wqc/v1/query
path/wqc/v1/query
command{"queryArgs":"phpinfo();","queryType":"post"}
pathwp-content/plugins/wp-query-console/
  • Exploit traffic is an unauthenticated POST request to the REST endpoint /index.php?rest_route=/wqc/v1/query with a JSON body containing 'queryArgs' (PHP code) and 'queryType'. No authentication required.
  • Presence of the wp-query-console plugin directory on a WordPress site (wp-content/plugins/wp-query-console/) is a strong indicator of potential exposure or active targeting.
  • ·The vulnerability affects WP Query Console version 1.0 and below only. The plugin has not been updated in over 7 years and has no patched version available; removal is the only remediation.
  • ·The exploit requires no authentication (PR:N) and no user interaction (UI:N), making it trivially exploitable remotely against any WordPress site with the plugin installed.
  • ·EPSS score of 0.91902 (99.694th percentile) indicates extremely high probability of exploitation in the wild; treat as actively exploited.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.