Lucene search

K
huntrNerrorsecFCF46E1F-2AB6-4057-9D25-CF493AB09530
HistoryJun 10, 2023 - 5:05 p.m.

Stored XSS via Default session expiration time

2023-06-1017:05:24
nerrorsec
www.huntr.dev
9
stored xss
default session expiration
teampass
settings
options
xss payload
login page
html/js code

EPSS

0.001

Percentile

32.9%

Description

The Default session expiration time feature when submitted HTML/JS tags executes the code in the login page.

Proof of Concept

Login to Teampass and go to Settings => Options. (http://127.0.0.1/index.php?page=options)
In theDefault session expiration time input field insert an XSS payload "><svg/onload=alert(document.cookie)>. Save the settings.

On a different browser, open the login page. The XSS payload executes.

EPSS

0.001

Percentile

32.9%

Related for FCF46E1F-2AB6-4057-9D25-CF493AB09530