URL Redirection to Untrusted Site Affecting haiwen/seafile package, versions [,9.0.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about URL Redirection to Untrusted Site vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-HAIWENSEAFILE-6117651
  • published12 Dec 2023
  • disclosed9 Dec 2023
  • creditChristian Pöschl

Introduced: 9 Dec 2023

CVE-2023-28874  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade haiwen/seafile to version 9.0.8 or higher.

Overview

Affected versions of this package are vulnerable to URL Redirection to Untrusted Site via the next parameter in the /accounts/login endpoint. An attacker can redirect users to arbitrary sites by manipulating the parameter value.

PoC


curl -v http://localhost.localdomain/accounts/login/?next=https://usd.de

References

CVSS Base Scores

version 3.1