MobSF vulnerable to Open Redirect in Login Redirect
GHSA-8m9j-2f32-2vx4 · CVE-2024-41955 · PYSEC-2026-1669
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
What kind of vulnerability is it? Who is impacted?
An open redirect vulnerability exist in MobSF authentication view.
PoC
- Go to http://127.0.0.1:8000/login/?next=//afine.com in a web browser.
- Enter credentials and press "Sign In".
- 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
- WEB https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-8m9j-2f32-2vx4
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-41955
- WEB https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/fdaad81314f393d324c1ede79627e9d47986c8c8
- PACKAGE https://github.com/MobSF/Mobile-Security-Framework-MobSF
Ready to move
Start Securing
Free, no credit card | First findings in minutes