Lucene search

K
wpexploitLana CodesWPEX-ID:9937E369-60E8-451C-8790-1A83A59115FC
HistoryJan 10, 2023 - 12:00 a.m.

Clean Login < 1.13.7 - Contributor+ Stored XSS via Shortcode

2023-01-1000:00:00
Lana Codes
41

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.0004 Low

EPSS

Percentile

12.0%

The plugin does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.

Note: 

1. First, you need to check β€œChoose the role(s) in the registration form?” in Clean Login Settings. 

2. The form and the exploit only work and appear if you are not logged in to the website.

Exploit shortcode:

[clean-login-register role='" onmouseover="alert(1)" style="display:block !important; background:red;"']

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.0004 Low

EPSS

Percentile

12.0%

Related for WPEX-ID:9937E369-60E8-451C-8790-1A83A59115FC