Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04bTlqLTJmMzItMnZ4NM4AA-TD

MobSF vulnerable to Open Redirect in Login Redirect

Impact

What kind of vulnerability is it? Who is impacted?

An open redirect vulnerability exist in MobSF authentication view.

PoC

  1. Go to http://127.0.0.1:8000/login/?next=//afine.com in a web browser.
  2. Enter credentials and press "Sign In".
  3. You will be redirected to afine.com

Users who are not using authentication are not impacted.

Patches

Has the problem been patched? What versions should users upgrade to?

Update to MobSF v4.0.5

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?
Disable Authentication

References

Are there any links users can visit to find out more?
Fix: https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/fdaad81314f393d324c1ede79627e9d47986c8c8

Reporter

Marcin Węgłowski (AFINE Team)

Permalink: https://github.com/advisories/GHSA-8m9j-2f32-2vx4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04bTlqLTJmMzItMnZ4NM4AA-TD
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 4 months ago
Updated: 4 months ago


CVSS Score: 5.2
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:N

Identifiers: GHSA-8m9j-2f32-2vx4, CVE-2024-41955
References: Repository: https://github.com/MobSF/Mobile-Security-Framework-MobSF
Blast Radius: 0.0

Affected Packages

pypi:mobsf
Dependent packages: 0
Dependent repositories: 1
Downloads: 1,240 last month
Affected Version Ranges: < 4.0.5
Fixed in: 4.0.5
All affected versions: 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.3.3, 3.3.5, 3.4.0, 3.4.3, 3.4.6, 3.5.0, 3.6.0, 3.6.9, 3.7.6, 3.9.7
All unaffected versions: 4.1.3