Lucene search

K
wpvulndbJames HookerWPVDB-ID:46BF6C69-B612-4AEE-965D-91F53F642054
HistoryJul 07, 2015 - 12:00 a.m.

NewStatPress <= 1.0.4 - Reflected Cross-Site Scripting (XSS)

2015-07-0700:00:00
James Hooker
wpscan.com
6

0.001 Low

EPSS

Percentile

37.8%

The NewStatPress plugin utilizes on lines 28 and 31 of the file ‘includes/nsp_search.php’ several variables from the $_GET scope, without sanitation. While WordPress automatically escapes quotes on this scope, the outputs on these lines are outside of quotes, and as such can be utilized to trigger a Reflected XSS attack.

PoC

The following URL will trigger an alert box in FireFox when visited, should the user be logged in as an Administrative user. http://localhost/wp-admin/admin.php?groupby1=checked><img+src%3Dx+onerror%3Dalert(1)&amp;page;=nsp_search&amp;newstatpress;_action=search

CPENameOperatorVersion
newstatpresslt1.0.6

0.001 Low

EPSS

Percentile

37.8%

Related for WPVDB-ID:46BF6C69-B612-4AEE-965D-91F53F642054