Lucene search

K
wpexploitDmitrii IgnatyevWPEX-ID:6FAC1E09-21AB-430D-B56D-195E7238C08C
HistoryOct 09, 2023 - 12:00 a.m.

Photos and Files Contest Gallery – Contact Form < 21.2.8.1 - Unauthenticated Stored XSS via HTTP Headers

2023-10-0900:00:00
Dmitrii Ignatyev
28
xss unauthenticated proxy frontend

0.001 Low

EPSS

Percentile

30.3%

Description The plugin does not sanitise and escape some parameters, which could allow unauthenticated users to perform Cross-Site Scripting attacks via certain headers.

1. Use a proxy such as BurpSuite to add the following header to all requests:

X-Forwarded-For: 11.11.11.11<img src=x onerror=alert(1)>

2. Create a gallery and add its shortcode to a page.
3. As an unauthenticated user, upload an image to the gallery from the frontend.
4. As an administrator, click on "Contest Gallery" in the sidebar and click "Edit Gallery" on the gallery entry to trigger the XSS.

0.001 Low

EPSS

Percentile

30.3%

Related for WPEX-ID:6FAC1E09-21AB-430D-B56D-195E7238C08C