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

exploitDog

github логотип

GHSA-c967-2652-gfjm

Опубликовано: 06 мар. 2024
Источник: github
Github: Прошло ревью
CVSS3: 6.2

Описание

CasaOS Username Enumeration

Summary

The Casa OS Login page has disclosed the username enumeration vulnerability in the login page.

Details

It is observed that the attacker can enumerate the CasaOS username using the application response. If the username is incorrect application gives the error "User does not exist", If the password is incorrect application gives the error "Invalid password".

PoC

Capture the login request in a tool like Burp Suit and use the intruder tab for trying multiple usernames. Keep checking the response of each request if the response says Invalid password then the username is right.

Impact

Using this error attacker can enumerate the username of CasaOS.

The logic behind the issue

If the username is incorrect, then throw an error "User does not exist" else throw an error "Invalid password".

This condition can be vice versa like:

If the password is incorrect, then throw an error "Invalid password" else throw an error "User does not exist".

Mitigation

Since this is the condition we have to implement a single error which can be "Username/Password is Incorrect!!!"

Пакеты

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

github.com/IceWhaleTech/CasaOS-UserService

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

>= 0.4.4.3, < 0.4.7

0.4.7

EPSS

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

6.2 Medium

CVSS3

Дефекты

CWE-204

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

CVSS3: 6.2
nvd
почти 2 года назад

CasaOS-UserService provides user management functionalities to CasaOS. Starting in version 0.4.4.3 and prior to version 0.4.7, the Casa OS Login page disclosed the username enumeration vulnerability in the login page. An attacker can enumerate the CasaOS username using the application response. If the username is incorrect application gives the error `**User does not exist**`. If the password is incorrect application gives the error `**Invalid password**`. Version 0.4.7 fixes this issue.

EPSS

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

6.2 Medium

CVSS3

Дефекты

CWE-204