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

CVE-2025-24805: MobSF Local Privilege Escalation

highCVSS 4.0 7.1 · 3.1 6.5GHSA-79f6-p65j-3m2m

Product: Mobile Security Framework (MobSF) Version: 4.3.0 CWE-ID: CWE-269: Improper Privilege Management CVSS vector v.4.0: 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N) CVSS vector v.3.1: 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) Description: MobSF has a functionality of dividing users by roles. This functionality is not efficient, because any registered user can get API Token with all privileges.

Published Feb 5, 2025 · Updated Feb 26, 2025

Affected packages

mobsf

Ecosystem
PyPI
Affected
<= 4.3.0
Fixed in
4.3.1
Check
pip show mobsf

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Product: Mobile Security Framework (MobSF) Version: 4.3.0 CWE-ID: CWE-269: Improper Privilege Management CVSS vector v.4.0: 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N) CVSS vector v.3.1: 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) Description: MobSF has a functionality of dividing users by roles. This functionality is not efficient, because any registered user can get API Token with all privileges. Impact: Information Disclosure Vulnerable component: Code output component (/source_code) Exploitation conditions: authorized user Mitigation: Remove token output in the returned js-script Researcher: Egor Filatov (Positive Technologies)

Research

Researcher discovered zero-day vulnerability «Local Privilege Escalation» in Mobile Security Framework (MobSF). To reproduce the vulnerability follow the steps below.

• A user with minimal privileges is required, so the administrator must create a user account

*Figure 1. Registration*

• Go to static analysis of any application

*Figure 2. Static analysis*

• Go to the code review of the selected application and get a token with all privileges in the response

*Figure 3. Token receiving*

• This token can be used to retrieve dynamic analysis information that has not been accessed before.

fig4

*Figure 4. No access demonstration*

*Figure 5. Token usage*

As a result, the user is able to escalate the privileges.

_______________________

Please, assign all credits to: Egor Filatov (Positive Technologies)

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