Summary
A Reflected Cross-Site Scripting (XSS) vulnerability exists in the fsNick cookie parameter. The application reflects the cookie's value directly into the HTML without sanitization.
Details
The fsNick cookie is rendered into the DOM without encoding. While the server does reject the modified session and forces a logout, the HTML containing the payload reaches the browser first. This lets the script execute immediately upon load, effectively beating the redirect.
PoC
- Log in to the application with any valid account.
- Capture any the GET request .
-
Modify the value of "fsNick" with the following JavaScript:
<script>alert(window.origin)</script>
-
Send the modified request.
- Result
Impact
The payload executes before the session ends, which could potentially allow for a single unauthorized action before the logout.
Summary
A Reflected Cross-Site Scripting (XSS) vulnerability exists in the fsNick cookie parameter. The application reflects the cookie's value directly into the HTML without sanitization.
Details
The fsNick cookie is rendered into the DOM without encoding. While the server does reject the modified session and forces a logout, the HTML containing the payload reaches the browser first. This lets the script execute immediately upon load, effectively beating the redirect.
PoC
Modify the value of "fsNick" with the following JavaScript:
<script>alert(window.origin)</script>Send the modified request.
Impact
The payload executes before the session ends, which could potentially allow for a single unauthorized action before the logout.