CVE-2017-1002022

Vulnerability in wordpress plugin surveys v1.01.8, The code in questions.php does not sanitize the survey variable before placing it inside of an SQL query

published September 14, 2017

CVSS
—
EPSS
4%
Percentile
89.5
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection vulnerability lingers in the WordPress Surveys plugin! The code in questions.php simply fails to sanitize its inputs before diving into a SQL query, opening potential doors for mischief. 🔍 Think of it like a restaurant that takes orders without asking about allergies — if the chef doesn’t double-check, they might serve an unsafe dish! This vulnerability means an attacker could slip harmful SQL commands in through unsanitized variables, leading to potential data damage. An attacker could manipulate the survey variable to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or even deletion. While no exploitation has been reported, the risk of a crafty adversary conducting a successful attack is an unnerving possibility.

Put simply

Think of it like a restaurant that takes orders without asking about allergies — if the chef doesn’t double-check, they might serve an unsafe dish! This vulnerability means an attacker could slip harmful SQL commands in through unsanitized variables, leading to potential data damage. This vulnerability exists because the Surveys plugin's questions.php file does not properly sanitize user input before using it in SQL queries, which could allow for SQL injection attacks.

What to do

An attacker could manipulate the survey variable to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or even deletion. While no exploitation has been reported, the risk of a crafty adversary conducting a successful attack is an unnerving possibility. To remediate this vulnerability, upgrade the Surveys plugin to the latest version immediately, where this issue is addressed. Additionally, review and sanitize all user inputs thoroughly before incorporating them into SQL queries. 🛡️ You've got this! With these steps, you'll shore up your defenses and keep your WordPress site safe from sneaky attacks! 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03628 · 89.5th percentile
Published
2017-09-14T13:00Z
EPSS history
Timeline
  • 14 SEP 13:00Z
    Vulnerability in wordpress plugin surveys v1.01.8, The code in questions.php does not sanitize the survey variable before placing it inside of an SQL query
    cvelistv5