Lucene search

K
huntrCokebeer6336EC42-5C4D-4F61-AE38-2BB539F433D2
HistoryMay 06, 2022 - 2:02 p.m.

Stored xss bug

2022-05-0614:02:00
cokebeer
www.huntr.dev
26

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

3.5 Low

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

24.0%

Description

stored xss bug

Proof of Concept

I created a repository on try.gitea.io and uploaded a pdf file containing xss vector.

https://try.gitea.io/cokeBeer/test/src/branch/main/poc.pdf

Just click the “Raw” button

The xss vector will be triggered

Fix Suggestion

prohibit viewing pdf directly by browser’s default viewer

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

3.5 Low

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

24.0%

Related for 6336EC42-5C4D-4F61-AE38-2BB539F433D2