Katalog CVE

CVE-2026-116239

WysokieCVSS 8.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.39%

Percentyl 33 - wyżej niż 33% wszystkich znanych CVE

Streszczenie

W trybie serwera pgAdmin 4 prowadzi osobne konta dla każdego źródła uwierzytelniania, więc ta sama nazwa użytkownika może istnieć jako konto wewnętrzne i LDAP. Po uwierzytelnieniu przez LDAP lub Kerberos pgAdmin wybierał konto do zalogowania wyłącznie na podstawie nazwy użytkownika, bez sprawdzenia źródła uwierzytelnienia, co pozwalało na przejęcie sesji innego konta wraz z jego rolami, serwerami i zapisanymi hasłami do baz danych.

Ocena ryzyka

Użytkownik LDAP lub Kerberos o nazwie zgodnej z kontem wewnętrznym (w tym kontem administratora) może zalogować się jako to konto i uzyskać dostęp do jego zasobów oraz zapisanych poświadczeń. Wymaga to ważnych danych uwierzytelniających w skonfigurowanym katalogu LDAP lub realmie Kerberos.

Rekomendacja

Zaktualizuj pgAdmin 4 do wersji 9.19 lub nowszej, która wyszukuje konto na podstawie uwierzytelnionej nazwy użytkownika i źródła uwierzytelnienia. Do czasu aktualizacji ogranicz dostęp do pgAdmina i zweryfikuj konfigurację AUTHENTICATION_SOURCES.

Inne podatności w pgAdmin 4

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In server mode pgAdmin 4 keeps an account per authentication source, so the same username can exist as, for example, an internal account and an LDAP account. After LDAP or Kerberos authenticated a user, pgAdmin chose the account to log in by username alone, or took the account Flask-Security's login form had looked up, without checking that it came from the source that authenticated the user. The session therefore belonged to another account, with its role, its servers and its saved database passwords: - An LDAP or Kerberos user whose username matched an internal account was logged in as that internal account, including the administrator account created when pgAdmin is first set up. - With internal authentication listed before LDAP or Kerberos in AUTHENTICATION_SOURCES, the login form's internal validation looks up the account whose email was typed and keeps it even though its password does not match. A Kerberos user could type another Kerberos user's principal and be logged in as that user, and an LDAP user could do the same with an LDAP account whose email is their username. Exploitation requires valid credentials for an LDAP directory or Kerberos realm that pgAdmin is configured to use. The fix looks the account up by the authenticated username and the source that authenticated it, and no longer uses the account the login form found for any source but internal authentication. Internal authentication logs in that account only if it is an internal account. Desktop mode is not affected. This issue affects pgAdmin 4: before 9.19.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS