Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-79f6-p65j-3m2m

Опубликовано: 05 фев. 2025
Источник: github
Github: Прошло ревью
CVSS4: 7.1
CVSS3: 6.5

Описание

MobSF Local Privilege Escalation

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

fig1

Figure 1. Registration

• Go to static analysis of any application

fig2

Figure 2. Static analysis

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

fig3

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

fig5

Figure 5. Token usage

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


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

Пакеты

Наименование

mobsf

pip
Затронутые версииВерсия исправления

<= 4.3.0

4.3.1

EPSS

Процентиль: 26%
0.00092
Низкий

7.1 High

CVSS4

6.5 Medium

CVSS3

Дефекты

CWE-269

Связанные уязвимости

CVSS3: 5.5
nvd
около 1 года назад

Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework. A local user with minimal privileges is able to make use of an access token for materials for scopes which it should not be accepted. This issue has been addressed in version 4.3.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS3: 8.7
fstec
около 1 года назад

Уязвимость фреймворка для исследования безопасности мобильных приложений Mobile Security Framework (MobSF), связанная с небезопасным управлением привилегиями, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации

EPSS

Процентиль: 26%
0.00092
Низкий

7.1 High

CVSS4

6.5 Medium

CVSS3

Дефекты

CWE-269