CVE-2017-1002021 SQL injection in surveys
An attacker can execute arbitrary SQL commands via the survey_id parameter in the Surveys WordPress plugin, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-1002021?
CVE-2017-1002021 is a critical SQL injection vulnerability in Binny V A surveys, published on 14 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Vulnerability in wordpress plugin surveys v1.01.8, The code in individual_responses.php does not sanitize the survey_id variable before placing it inside of an SQL query.
Weakness: CWE-89
Which versions are affected by CVE-2017-1002021?
It affects 1 product.
Products include Surveys Project Surveys.
How do I fix CVE-2017-1002021?
No fix has been published for CVE-2017-1002021 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2017-1002021 being exploited?
There is no known exploitation of CVE-2017-1002021 in the wild and no public exploit code.
Other vulnerabilities in Binny V A surveys
Sources
Also known as GHSA-q72m-wx74-836p.