Lucene search

K
wpvulndb0xB9WPVDB-ID:700F3B04-8298-447C-8D3C-4581880A63B5
HistoryApr 11, 2021 - 12:00 a.m.

Business Directory Plugin < 5.11.1 - Arbitrary Add/Edit/Delete Form Field to Stored XSS

2021-04-1100:00:00
0xB9
wpscan.com
3

The plugin suffered from Cross-Site Request Forgery issues, allowing an attacker to make a logged in administrator add, edit or delete form fields, which could also lead to Stored Cross-Site Scripting issues. Note (WPScanTeam): The CSRF has ben fixed and proper capability checks have also been added in 5.11.1, however some sanitisation was still missing, still allowing XSS via a high privilege account in other pages and a different issue has been created for it

PoC

Field Label Field description (optional) Field Label Field description (optional) XSS payloads execute: - On the business directory page when adding a listing: /business-directory/?wpbdp_view=submit_listing - On the Import/Export page: /wp-admin/admin.php?page=wpbdp_admin_csv - When adding/editing a listing /wp-admin/post-new.php?post_type=wpbdp_listing - On various Settings page, such as /wp-admin/admin.php?page=wpbdp_settings&tab;=listings&subtab;=listings%2Fsorting, /wp-admin/admin.php?page=wpbdp_settings&tab;=listings&subtab;=search_settings Delete

CPENameOperatorVersion
business-directory-pluginlt5.11.1
Related for WPVDB-ID:700F3B04-8298-447C-8D3C-4581880A63B5