CVE-2024-54000: MobSF vulnerability allows SSRF due to the allow_redirects=True parameter

CVE-2024-54000 · Severity: low · CVSS 3.1 · Published 2024-12-03

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.

Technologies: mobsf (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-54000 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-54000 being exploited in the wild.
How severe is CVE-2024-54000?
Low severity, with a CVSS score of 3.1, published 3 December 2024.
Which products and versions are affected?
mobsf (PyPI) ECOSYSTEM:introduced=0,fixed=3.9.7, GIT:introduced=0,fixed=f22c584aa7d43527970c9da61eb678953cfc0a8e|ECOSYSTEM:introduced=0,fixed=3.9.7.
Is there a fix for CVE-2024-54000?
Yes. mobsf (PyPI): upgrade to 3.9.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-54000?
Check whether you run mobsf (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • mobsf (PyPI): upgrade to 3.9.7 or later
    pip install "mobsf>=3.9.7"

Affected products

  • mobsf (PyPI) ECOSYSTEM:introduced=0,fixed=3.9.7, GIT:introduced=0,fixed=f22c584aa7d43527970c9da61eb678953cfc0a8e|ECOSYSTEM:introduced=0,fixed=3.9.7

Identifiers

  • CVE-2024-54000
  • GHSA-m435-9v6r-v5f6
  • PYSEC-2024-256

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.