Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2025-10042: SQL Injection in WordPress Quiz Maker via spoofed IP headers

Published Sep 17, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS0.98%63rd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Ays-Pro
IdentifiersCVE-2025-10042CWE-89 · Improper Neutralization of Special…

CVE-2025-10042 is an SQL injection vulnerability in the Quiz Maker plugin for WordPress affecting all versions up to and including 6.7.0.56. The flaw is caused by insufficient escaping of a user-controlled value derived from spoofable client IP headers and by failure to properly parameterize the resulting SQL query. In affected deployments, if the application is configured to trust a user-supplied header such as X-Forwarded-For for client IP determination, an unauthenticated attacker can supply crafted input in that header and cause additional SQL syntax to be appended to an existing query. The issue is specifically tied to configurations where IP-based user limiting is enabled and the server retrieves the client IP from a user-controlled field.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an unauthenticated attacker to inject SQL into backend database queries. This can be used to extract sensitive information from the WordPress database, and depending on the database context and query behavior, may also enable broader database manipulation. At minimum, the vulnerability exposes confidentiality risk for stored application and site data without requiring authentication.

Mitigation

If you can’t patch tonight, do this now.

As an interim mitigation, disable any feature that limits users by IP if it is not operationally required. Do not trust user-supplied IP headers such as X-Forwarded-For unless the application is behind a trusted proxy that sanitizes and overwrites those headers. Configure the web server, reverse proxy, or WordPress environment so client IP information is sourced only from trusted infrastructure. Additional defensive measures include WAF rules to detect SQLi payloads in forwarded IP headers and restricting direct access paths that allow arbitrary header injection.

Remediation

Patch, then assume compromise.

Update the Quiz Maker plugin to a version newer than 6.7.0.56 once a fixed release is available. The vulnerable code should be corrected by strictly validating and normalizing client IP input, avoiding direct trust in spoofable headers unless they are set by a trusted reverse proxy, and by using properly prepared and parameterized SQL queries for all database access paths involving user-influenced data.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
Quiz-Maker-SQL-Injection-CVE-2025-10042Repository contains a single Python proof-of-concept exploit (exploit.py) plus README, LICENSE, and requirements.txt. Purpose: Exploit CVE-2025-10042, a time-based blind SQL injection in the WordPress Quiz Maker plugin (<= 6.7.0.56). The script injects SQL via an HTTP header (default X-Forwarded-For) sent to a user-specified quiz page path. Core capabilities: - Vulnerability check: compares baseline response time vs. an injected SLEEP(3) payload to determine if the target is likely vulnerable. - Data extraction: uses boolean inference with SLEEP(1) and binary search to determine (1) the length of a query result and (2) each character via ASCII(SUBSTRING(...)). - Credential dumping: runs fixed queries against wp_users for ID=1 to extract user_login, user_email, and user_pass (password hash). - Custom query mode: operator can supply an arbitrary SQL SELECT expression via --query and the script will extract its output. Operational notes: - All requests are unauthenticated GETs to {base_url}/{path} with TLS verification disabled (verify=False) and warnings suppressed. - Timing thresholds are simplistic (e.g., >=0.8s for SLEEP(1) inference), so results may be noisy on high-latency targets. Structure: - exploit.py: main entry point with argparse options (--check, --dump, --query; -u/-p/-H/-t). - requirements.txt: pins requests==2.34.0. - README.md: usage examples and high-level explanation. Overall, this is an operational PoC that can exfiltrate sensitive WordPress user data via time-based blind SQLi, not merely a detector.fumioryoto · Disclosed Jan 25, 2026 · python · networkOperationalWordPress-Quiz-Maker-SQLi-Exploit-CVE-2025-10042-Repository contains a single Python exploit script (52465.py) plus a README. The exploit targets CVE-2025-10042 in the WordPress Quiz Maker plugin (<= 6.7.0.56), abusing improper sanitization of an HTTP header (default X-Forwarded-For) to perform time-based blind SQL injection. Core capabilities: - Vulnerability check: sends a baseline request then an injected payload "1' OR SLEEP(3)#" and flags vulnerable if the response time is sufficiently delayed. - Data extraction: implements time-based inference with binary search to recover (a) LENGTH((query)) and (b) each character via ASCII(SUBSTRING(...)) comparisons, using 1-second sleeps. - Credential dumping: hardcoded queries against WordPress table wp_users for ID=1 to extract user_login, user_email, and user_pass (password hash). - Custom query mode: user can supply an arbitrary SQL query expected to return a single scalar value, which the script will extract. Operational details: - Network requests are made with Python requests.get() to a user-specified URL+path; TLS verification is disabled (verify=False) and urllib3 warnings are suppressed. - The script is CLI-driven via argparse with options: --check, --dump, --query, configurable header name, and timeout. Notable limitations/assumptions: - Assumes WordPress table prefix is "wp_" and that the admin user is ID=1. - Extraction is time-based and may be unreliable on high-latency targets; thresholds are hardcoded (e.g., 0.8s for 1s sleeps). - No post-exploitation payload (e.g., RCE) is included; it focuses on database data exfiltration.Tifa-dev · Disclosed Feb 5, 2026 · python · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Ays-ProQuiz Makerapplication
FAQ

Frequently asked questions

Is CVE-2025-10042 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2025-10042 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-10042?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2025-10042, the earliest disclosed Jan 25, 2026.
Is there a patch for CVE-2025-10042?
Update the Quiz Maker plugin to a version newer than 6.7.0.56 once a fixed release is available. The vulnerable code should be corrected by strictly validating and normalizing client IP input, avoiding direct trust in spoofable headers unless they are set by a trusted reverse proxy, and by using properly prepared and parameterized SQL queries for all database access paths involving user-influenced data.
What products are affected by CVE-2025-10042?
Ays-Pro Quiz Maker.
How severe is CVE-2025-10042?
CVE-2025-10042 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.98% (63rd percentile) as of Sep 25, 2026.
Activity feed

Recent activity

4 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.