GitHub Advisoryadvisory · Packagist

GHSA-vp8p-c6xj-xpj7 Silverstripe External redirection risk in Security?ReturnURL

MEDIUM Published 2024-05-23 Modified 2024-05-23 Official page ↗
Ecosystem
Packagist
Packages
silverstripe/framework
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Weaknesses
CWE-601
Reviewed
2024-05-23

Affected packages

• Packagist silverstripe/framework: < 3.0.14 → fixed in 3.0.14 • Packagist silverstripe/framework: >= 3.1.0, < 3.1.13 → fixed in 3.1.13

Description

A vulnerability has been found in the SilverStripe framework where a login url can be potentially redirected to an external site. For example, the url http://www.my-silverstripe-site.com/Security/login?BackURL=/\attacker-site.com will redirect successful logins to the page http://attacker-site.com. If that website were set up to look identical to the first with "login failed" then the user will likely just enter their user/pass again.

Related

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References