Skip to main content

TS Poll CVE-2024-9022

HIGH
SQL Injection (CWE-89)
2024-10-10 security@wordfence.com
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress admin credentials
  2. Delivery
    Authenticate to wp-admin
  3. Exploit
    Send crafted request with malicious orderby parameter
  4. Execution
    Append UNION SELECT to TS Poll query
  5. Persist
    Extract password hashes and secrets from database
  6. Impact
    Escalate to full site or infrastructure compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must possess valid WordPress Administrator-level credentials (or higher) on a site running TS Poll plugin version 2.4.0 or earlier - the CVSS PR:H qualifier and explicit description language confirm this is not exploitable by anonymous or low-privilege users. The vulnerable code path is the 'orderby' parameter handler within TS Poll, so the plugin must be installed and active. No user interaction is required (UI:N) once the attacker has admin access, and exploitation works over the network against the WordPress admin interface; the primary limiting factor is the high-privilege prerequisite, which constrains exploitation to insider threats, account-takeover scenarios, or multi-stage attack chains.

Impact

The CVSS 3.1 score of 7.2 (High) reflects network attack vector, low complexity, no user interaction, and high impact across confidentiality, integrity, and availability - but is significantly tempered by PR:H, requiring Administrator-level WordPress credentials. EPSS of 2.11% (84th percentile) and the existence of public POC code raise the practical risk above a typical admin-only SQLi, but the absence of CISA KEV listing suggests no confirmed widespread exploitation. Realistically, this is a post-authentication privilege-amplification or persistence vector: an attacker who has already compromised an admin account (via phishing, credential stuffing, or a chained vulnerability) can pivot to direct database access - including reading password hashes, secret keys, or session tokens - bypassing WordPress's normal access layers. Prioritize patching on multi-admin sites or where admin credentials may be shared, less urgent on tightly controlled single-admin deployments.

Exploit ScenarioDerived

An attacker who has obtained WordPress Administrator credentials - via credential stuffing, phishing, or a prior compromise - navigates to a TS Poll admin endpoint and submits a crafted request with a malicious 'orderby' value containing a UNION SELECT or stacked-query payload. The injected SQL executes against the WordPress database, allowing the attacker to dump wp_users password hashes, secret keys from wp_options, or other sensitive tables. Publicly available exploit code makes weaponizing this trivial for anyone with the required admin foothold.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

SQL injection in the TS Poll WordPress plugin (versions up to and including 2.4.0) allows authenticated attackers with Administrator-level access to append arbitrary SQL queries via the 'orderby' parameter, enabling extraction of sensitive database contents. Publicly available exploit code exists, though the high-privilege requirement (PR:H) limits practical impact, and EPSS sits at 2.11% (84th percentile) indicating modest but non-trivial exploitation interest. No public exploit identified as actively used in the wild - not listed in CISA KEV.

RemediationAI

Upgrade the TS Poll plugin to a version higher than 2.4.0 once the vendor publishes a patched release; consult the Wordfence advisory and the WordPress.org plugin changelog for the exact fixed version, as no specific patched version is independently confirmed in the available data. If a fixed version is not yet available or cannot be deployed immediately, compensating controls include deactivating and removing the TS Poll plugin entirely (trade-off: loss of poll functionality), restricting WordPress Administrator role assignment to the minimum necessary accounts and enforcing multi-factor authentication on those accounts to raise the bar for the PR:H prerequisite, and deploying a WAF rule (Wordfence, Sucuri, or ModSecurity) to inspect requests to TS Poll admin endpoints for SQL metacharacters in the 'orderby' parameter (trade-off: potential false positives on legitimate sort operations).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TS Poll is a WordPress plugin by Total Soft (CPE cpe:2.3:a:total-soft:ts_poll) providing survey, versus, image, and video poll functionality. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), specifically stemming from insufficient escaping of the user-supplied 'orderby' parameter combined with a lack of prepared statement usage in the underlying SQL query construction. Because 'orderby' parameters typically cannot be safely parameterized in standard prepared-statement APIs (they identify column names, not values), the WordPress-recommended pattern is strict allowlisting against known column names - a control evidently absent here, allowing the parameter to be concatenated into the final query string.

Know when Ts Poll gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
PoC Detected
Apr 08, 2026 - 19:22 vuln.today
Public exploit code
CVE Published
Oct 10, 2024 - 03:15 nvd
HIGH 7.2

DescriptionCVE.org

The TS Poll - Survey, Versus Poll, Image Poll, Video Poll plugin for WordPress is vulnerable to SQL Injection via the ‘orderby’ parameter in all versions up to, and including, 2.4.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Executive ViewAI

Why It Matters

The TS Poll WordPress plugin (versions 2.4.0 and earlier) contains a SQL injection vulnerability that could enable unauthorized extraction of sensitive database information if an administrator account is compromised or misused. Organizations using this plugin face targeted data exposure risk limited to the scope of administrator-level access. Immediate action is needed to identify affected installations and strengthen administrative access controls.

Business Impact: Medium
Compensating Controls

Restrict TS Poll plugin access to a minimal set of trusted administrators; implement WordPress database query auditing and real-time monitoring for SQL injection patterns; enforce multi-factor authentication for all WordPress administrator accounts; restrict direct database access permissions at the application and database layer; consider complete deactivation of TS Poll if business requirements permit.

Threat Intelligence Overview

EPSS Score
2.1%
Top 16% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 2.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:total-soft:ts_poll:*:*:*:*:*:wordpress:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy