Lucene search

K
wpexploitIohexWPEX-ID:AC2E3FEA-E1E6-4D90-9945-D8434A00A3CF
HistoryDec 07, 2022 - 12:00 a.m.

Login with Cognito < 1.4.9 - Admin+ Stored XSS

2022-12-0700:00:00
iohex
201
cognito
admin+
stored xss
vulnerability
oauth
attribute/role mapping
xss popup
exploit

EPSS

0.001

Percentile

25.3%

The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

1. Go to "Cognito Login ยป Configure OAuth", and add an application.

2. Then go to "Cognito Login ยป Attribute/Role Mapping" and in the Username add the payload: xss'"><script>alert(/XSS/);</script>"'

3. Click "Save settings" to check the XSS popup.

EPSS

0.001

Percentile

25.3%

Related for WPEX-ID:AC2E3FEA-E1E6-4D90-9945-D8434A00A3CF