vendor:
Survey & Poll
by:
Ceylan Bozogullarindan
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Survey & Poll
Affected Version From: 1.5.7.3
Affected Version To: 1.5.7.3
Patch Exists: NO
Related CWE: N/A
CPE: a:wordpress:wordpress_plugin:survey_and_poll
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 10
2018
WordPress Plugin Survey & Poll 1.5.7.3 – ‘sss_params’ SQL Injection
The vulnerability allows an attacker to inject sql commands using a value of a cookie parameter. When a user visits a page which has a poll or survey, a question will be appeared for answering. When the user answers the question, wp_sap will be assigned to a value. An attacker can then change it with a payload containing an OR statement which must be 1=2. When the page is reloaded, the source code of the page can be searched for 'sss_params' to reveal the version of the DB.
Mitigation:
Ensure that user input is properly sanitized and validated before being used in SQL queries.