Lucene search

K
wpvulndbDmitrii IgnatyevWPVDB-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
wpscan.com
6
plugin vulnerability
unauthenticated users
cross-site scripting
http headers
gallery
administrator
xss
security issue

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

0.001 Low

EPSS

Percentile

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

PoC

1. Use a proxy such as BurpSuite to add the following header to all requests: X-Forwarded-For: 11.11.11.11 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.

CPENameOperatorVersion
eq21.2.8.1

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

0.001 Low

EPSS

Percentile

40.3%

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