7.5high
Mobile Security Framework (MobSF) bypass of SSRF fix
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-m435-9v6r-v5f6PYSEC-2024-256
Description
Mobile Security Framework (MobSF) is a pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis. In versions prior to 3.9.7, the requests.get() request in the _check_url method is specified as allow_redirects=True, which allows a server-side request forgery when a request to .well-known/assetlinks.json" returns a 302 redirect. This is a bypass of the fix for CVE-2024-29190 and is fixed in 3.9.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MobSF Mobile-Security-Framework-MobSF | < 3.9.7 | CVE List |
| mobsf mobile_security_framework | before 3.9.7 | CVE List |
| mobsf (PyPI) | before 3.9.7, before f22c584aa7d43527970c9da61eb678953cfc0a8e | GitHub Advisory Database, PyPA Advisory Database |
| opensecurity mobile_security_framework | before 3.9.7 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Mobile Security Framework (MobSF) is a pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis. In versions prior to 3.9.7, the requests.get() request in the _check_url method is specified as allow_redirects=True, which allows a server-side request forgery when a request to .well-known/assetlinks.json" returns a 302 redirect. This is a bypass of the fix for CVE-2024-29190 and is fixed in 3.9.7.
GitHub Advisory Database
Summary
The fix for the "SSRF Vulnerability on assetlinks_check(act_name, well_knowns)" vulnerability could potentially be bypassed.
Details
Since the requests.get() request in the _check_url method is specified as allow_redirects=True, if "https://mydomain.com/.well-known/assetlinks.json" returns a 302 redirect, subsequent requests will be sent automatically. If the redirect location is "http://192.168.1.102/user/delete/1", a request will be sent here as well.
imageIt will be safer to use allow_redirects=False.
Impact
The attacker can cause the server to make a connection to internal-only services within the organization's infrastructure.
NVD (es)
Mobile Security Framework (MobSF) es un framework de evaluación de seguridad, análisis de malware y pruebas de penetración capaz de realizar análisis estáticos y dinámicos. En versiones anteriores a la 3.9.7, la solicitud requests.get() en el método _check_url se especifica como allow_redirects=True, lo que permite server-side request forgery cuando una solicitud a .well-known/assetlinks.json" devuelve una redirección 302. Esta es una omisión de la corrección para CVE-2024-29190 y se corrige en la versión 3.9.7.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-54000 changed 2024-12-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m435-9v6r-v5f6 changed 2025-06-27 | CC-BY-4.0 |
| NVD | CVE-2024-54000 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-256 changed 2025-06-27 | CC-BY-4.0 |