GitHub Advisoryadvisory · PyPI

GHSA-m435-9v6r-v5f6 MobSF vulnerability allows SSRF due to the allow_redirects=True parameter

HIGH Published 2025-06-27 Modified 2025-06-27 Official page ↗
Aliases
CVE-2024-54000
Ecosystem
PyPI
Packages
mobsf
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-918
Reviewed
2025-06-27

Affected packages

• PyPI mobsf: < 3.9.7 → fixed in 3.9.7

Description

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. It 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.

Related

Alias · CVE (1)

  • CVE-2024-54000 Mobile Security Framework (MobSF) is a pen-testing, malware analysis and security assessment framework capable of performing static and… vulnerability

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References