Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-47530 Overview
CVE-2024-47530 is an open redirect vulnerability in Clinical-Genomics Scout, a web-based visualizer for VCF (Variant Call Format) files used in clinical genomics workflows. The /login endpoint accepts a next parameter without sanitization, allowing attackers to redirect authenticated users to arbitrary external domains. The flaw also lacks URL scheme validation, enabling HTTPS downgrade attacks. The vulnerability is tracked under CWE-601: URL Redirection to Untrusted Site and is fixed in Scout version 4.89.
Critical Impact
Attackers can craft Scout login URLs that redirect users to phishing pages after authentication, enabling credential theft and session interception via HTTPS downgrade.
Affected Products
- Clinical-Genomics Scout versions prior to 4.89
- Scout /login API endpoint (scout/server/blueprints/login/views.py)
- Scout authentication redirect logic (scout/server/app.py)
Discovery Timeline
- 2024-09-30 - CVE-2024-47530 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-47530
Vulnerability Analysis
Scout's Flask-based authentication flow stores the next query parameter from the login request directly into the user session. After successful authentication, the application redirects the user to the stored URL without validating that it points to an internal Scout route. An attacker who sends a victim a URL such as https://scout.example.org/login?next=https://attacker.tld/phish causes Scout to forward the authenticated user to the attacker-controlled domain.
The absence of scheme validation compounds the issue. A legitimate HTTPS Scout deployment can be used to redirect users to http:// URLs, downgrading the transport and exposing session cookies or follow-on traffic to network interception.
Root Cause
Two code paths accepted untrusted redirect targets. In scout/server/app.py, the authentication wrapper constructed a next_url from request.path and request.query_string and passed it to url_for("public.index", next=next_url). In scout/server/blueprints/login/views.py, the login() view stored request.args["next"] directly into session["next_url"]. Neither path verified that the URL was relative or that the host matched the application's own domain.
Attack Vector
Exploitation requires user interaction: the victim must click a crafted Scout login URL. Because the host portion of the URL is a trusted Scout instance, phishing filters and users are less likely to flag the link. After the victim authenticates, Scout performs a server-side redirect to the attacker's domain, which can mimic the Scout UI to harvest credentials or trigger malicious downloads.
# Patch in scout/server/app.py — removes the untrusted next parameter
relevant_endpoint = not (static_endpoint or public_endpoint)
# if endpoint requires auth, check if user is authenticated
if relevant_endpoint and not current_user.is_authenticated:
- # combine visited URL (convert byte string query string to unicode!)
- next_url = "{}?{}".format(request.path, request.query_string.decode())
- login_url = url_for("public.index", next=next_url)
- return redirect(login_url)
+ return redirect(url_for("public.index"))
return app
Source: Clinical-Genomics/scout commit 50055ed
# Patch in scout/server/blueprints/login/views.py — stops storing next in session
@public_endpoint
def login():
"""Login a user if they have access."""
- if "next" in request.args:
- session["next_url"] = request.args["next"]
user_id = None
user_mail = None
Source: Clinical-Genomics/scout commit 50055ed
Detection Methods for CVE-2024-47530
Indicators of Compromise
- HTTP requests to /login containing a next parameter whose value is an absolute URL or starts with //, http://, or https://.
- Web server access logs showing login redirects followed by outbound navigation to external domains referred by the Scout host.
- Phishing reports from users describing Scout-branded pages hosted on non-Scout domains.
Detection Strategies
- Parse Scout and reverse-proxy access logs for next= query values that include a scheme or external hostname.
- Alert on 3xx responses from /login whose Location header points to a domain outside the organization's Scout deployment.
- Review browser or EDR telemetry for authenticated users navigating from a Scout URL directly to an uncategorized or newly registered domain.
Monitoring Recommendations
- Enable centralized logging of Flask request parameters for the /login route and retain them for incident review.
- Correlate authentication events with subsequent HTTP referers to detect post-login redirects to unknown hosts.
- Monitor the installed Scout version against the fixed release (4.89) in software inventory tooling.
How to Mitigate CVE-2024-47530
Immediate Actions Required
- Upgrade Clinical-Genomics Scout to version 4.89 or later, which removes the vulnerable next handling.
- Audit active user sessions and rotate any credentials suspected of being phished through crafted Scout login links.
- Communicate to Scout users that login URLs containing unfamiliar next= parameters should not be clicked.
Patch Information
The fix is delivered in Scout 4.89 via commit 50055edfca9a7183b248019af97e1fb0b0065a02. The patch removes the construction and storage of attacker-controlled next_url values, redirecting unauthenticated users to the application's internal index route instead. Full details are published in GitHub Security Advisory GHSA-3x45-2m34-x95v.
Workarounds
- If upgrading immediately is not possible, configure a reverse proxy (for example, nginx) to strip or validate the next query parameter on requests to /login.
- Enforce HTTP Strict Transport Security (HSTS) on the Scout domain to mitigate the HTTPS downgrade component.
- Restrict Scout access to trusted networks or VPN clients to reduce exposure to externally delivered phishing links.
# nginx example: drop the next parameter before it reaches Scout
location = /login {
if ($arg_next) {
return 302 /login;
}
proxy_pass http://scout_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

