All vulnerabilities

Servers and applications

GHSA-qxw3-vq74-gr44

Open redirect on failed-login path via unvalidated Referer header

Severity
Medium 4.3
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
8.8.1
Weakness
Open redirect (CWE-601)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Sources
Project advisories (GitHub)

Description

The POST /login validation-failure and local-auth-failure branches of app/Http/Controllers/Auth/LoginController.php both returned redirect()->back(), which issues a 302 to whatever Referer the client sent, with no host validation. An attacker-crafted page that routed a victim through the login form with an attacker-controlled Referer and a wrong password landed the response Location: on an off-origin URL, giving a phishing hand-off dressed up as a Snipe-IT bounce.

A user who follows an attacker-crafted link to the login page and submits a failed login (invalid field or wrong password) receives a 302 redirect to the attacker's URL instead of back to the login form. The attacker can then present a lookalike login page on their own origin, with the victim's browser already primed with a "login failed" expectation.

Exploitation requires a valid CSRF token on the POST submission, so the attacker's hosted page has to either embed the live login form with a session-matched token…

From grokability/snipe-it's security advisory. Shortened; the full text is there.

Workarounds

None in-product. Operators on affected versions can reduce exposure by instructing users to reach /login directly rather than following inbound links. The vulnerability does not affect the success path or any other redirect sink in the login controller.

Workarounds as given by grokability/snipe-it's security advisory.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • Every version before 8.8.1

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
30,202,208Docker Hub, 29 Nov 2026
GitHub stars
15,283GitHub, 29 Nov 2026
Forks
4,089GitHub, 29 Nov 2026
Latest release
v8.8.4GitHub, 29 Nov 2026
Released
20 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References