# GHSA-vhmj-5q9r-mm9g: BlastRADIUS also affects eduMFA

> Attackers can bypass RADIUS authentication in eduMFA by modifying intercepted packets, allowing unauthorized access to accounts protected by RADIUS tokens.

- **Severity:** Not scored
- **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:** 17 Jul 2024

## What is GHSA-vhmj-5q9r-mm9g?

GHSA-vhmj-5q9r-mm9g is an authentication bypass vulnerability in edumfa, published on 17 Jul 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

### Summary
BlastRADIUS (see blastradius.fail for details) also affects eduMFA prior version 2.2.0, because the Message-Authenticator attributes were not checked.

### Details
Website with the vulnerability information blastradius.fail
The original vulnerability has been assigned CVE-2024-3596
Case in vince: https://kb.cert.org/vuls/id/456537

### PoC
There is no known proof-of-concept except for the attack shown in the paper from the researchers 

### Impact
An attacker can trigger an authentication flow with a RADIUS-backed token, intercept the RADIUS packet sent by eduMFA and modify the RADIUS server's answer, which would lead eduMFA to believe that the token is valid, even though the RADIUS servers answer was a reject.

## Which versions are affected by GHSA-vhmj-5q9r-mm9g?

2 open source packages ship an affected version, including edumfa.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `edumfa` | PyPI | All versions | 2.2.0 |
| `edumfa` | PyPI | All versions | 2.2.0 |

## How do I fix GHSA-vhmj-5q9r-mm9g?

Upgrade edumfa to 2.2.0 or later.

## Is GHSA-vhmj-5q9r-mm9g being exploited?

There is no known exploitation of GHSA-vhmj-5q9r-mm9g in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-vhmj-5q9r-mm9g and fix it if it is affected.

What it is: GHSA-vhmj-5q9r-mm9g is an authentication bypass vulnerability in edumfa, published on 17 Jul 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: There is no known exploitation of GHSA-vhmj-5q9r-mm9g in the wild and no public exploit code.

Affected packages and fixed versions:
- edumfa (PyPI): affected all versions; fixed in 2.2.0
- edumfa (PyPI): affected all versions; fixed in 2.2.0

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/GHSA-vhmj-5q9r-mm9g/ (Markdown: https://insights.sbomify.com/GHSA-vhmj-5q9r-mm9g/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-vhmj-5q9r-mm9g

---
From sbomify Insights: https://insights.sbomify.com/GHSA-vhmj-5q9r-mm9g/
Summaries are generated and may contain mistakes; the official description above is the record.
