Lucene search

K
wpvulndbIohexWPVDB-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
wpscan.com
18
cognito
stored xss
sanitisation
admin
cross-site scripting
settings escaping

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).

PoC

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โ€™โ€œ>โ€โ€™ 3. Click โ€œSave settingsโ€ to check the XSS popup.

EPSS

0.001

Percentile

25.3%

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