Lucene search

K
wpvulndbApple502jWPVDB-ID:C73C7694-1CEE-4F26-A425-9C336ADCE52B
HistoryOct 05, 2021 - 12:00 a.m.

Perfect Survey < 1.5.2 - Unauthorised AJAX Call to Stored XSS / Survey Settings Update

2021-10-0500:00:00
apple502j
wpscan.com
11
plugin vulnerability
unauthorised access
stored xss

EPSS

0.001

Percentile

47.1%

The plugin does not have proper authorisation nor CSRF checks in the save_global_setting AJAX action, allowing unauthenticated users to edit surveys and modify settings. Given the lack of sanitisation and escaping in the settings, this could also lead to a Stored Cross-Site Scripting issue which will be executed in the context of a user viewing any survey

PoC

jQuery.post(“https://example.com/wp-admin/admin-ajax.php?action=save_global_setting”,{ ps_global_options:{ps_options_custom_css:"body{background-color:blue !important;}alert(/XSS/)

EPSS

0.001

Percentile

47.1%

Related for WPVDB-ID:C73C7694-1CEE-4F26-A425-9C336ADCE52B