NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-41955: MobSF vulnerable to Open Redirect in Login Redirect

mediumCVSS 4.0 6.8 · 3.1 5.2GHSA-8m9j-2f32-2vx4

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.

Published Jul 31, 2024 · Updated Aug 2, 2024

Affected packages

mobsf

Ecosystem
PyPI
Affected
< 4.0.5
Fixed in
4.0.5
Check
pip show mobsf

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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)

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries