# CVE-2024-47530: Scout contains an Open Redirect on Login via `next`

> Attackers can redirect users to malicious sites via the login next parameter, enabling phishing and HTTPS downgrade attacks.

- **Severity:** Medium 5.4 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 30 Sep 2024
- **Updated:** 30 Sep 2024
- **Also known as:** GHSA-3x45-2m34-x95v

## What is CVE-2024-47530?

CVE-2024-47530 is a medium-severity vulnerability in Clinical-Genomics scout, published on 30 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Scout is a web-based visualizer for VCF-files. Open redirect vulnerability allows performing phishing attacks on users by redirecting them to malicious page. /login API endpoint is vulnerable to open redirect attack via next parameter due to absence of sanitization logic. Additionally, due to lack of scheme validation, HTTPS Downgrade Attack can be performed on the users. This vulnerability is fixed in 4.89.

Weakness: CWE-601 (URL Redirection to Untrusted Site)

## Which versions are affected by CVE-2024-47530?

It affects 1 product.


Products: Clinical-Genomics Scout.

## How do I fix CVE-2024-47530?

Upgrade to a fixed version.

## Is CVE-2024-47530 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47530 exists.

## Other vulnerabilities in Clinical-Genomics scout

- [CVE-2022-1592](https://insights.sbomify.com/CVE-2022-1592/): Server-Side Request Forgery in scout in clinical-genomics/scout (critical 9.4)
- [CVE-2022-1554](https://insights.sbomify.com/CVE-2022-1554/): Path Traversal due to `send_file` call in clinical-genomics/scout (medium 6.8)
- [CVE-2024-47531](https://insights.sbomify.com/CVE-2024-47531/): Scout contains insufficient output escaping of attachment names (medium 4.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-47530 and fix it if it is affected.

What it is: CVE-2024-47530 is a medium-severity vulnerability in Clinical-Genomics scout, published on 30 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47530 exists.

Affected product: Clinical-Genomics scout. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-47530/ (Markdown: https://insights.sbomify.com/CVE-2024-47530/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-47530
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-47530
- OSV: https://osv.dev/vulnerability/CVE-2024-47530

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-47530/
Summaries are generated and may contain mistakes; the official description above is the record.
