Katalog CVE

CVE-2026-78422

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.09%

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

Streszczenie

W crate zbus_polkit przed wersją 5.1.0 funkcja Subject::new_for_owner() koduje uid jako typ unsigned 32-bit, podczas gdy interfejs polkit oczekuje signed 32-bit. Ta niezgodność powoduje, że polkit ignoruje podany UID i sam określa właściciela na podstawie PID, co prowadzi do wyścigu TOCTOU. Lokalny atakujący może wykorzystać ten błąd do ominięcia autoryzacji polkit i wykonania akcji bez uprawnień.

Ocena ryzyka

Lokalny atakujący może ominąć kontrolę autoryzacji polkit i wykonać operacje, do których nie ma uprawnień, co może prowadzić do eskalacji uprawnień lub naruszenia integralności systemu.

Rekomendacja

Należy zaktualizować zbus_polkit do wersji 5.1.0 lub nowszej, która zawiera poprawkę.

Powiązane podatności

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

Subject::new_for_owner() in the zbus_polkit crate encodes the uid entry of a unix-process polkit subject as an unsigned 32-bit integer (D-Bus type u), whereas the org.freedesktop.PolicyKit1.Authority interface specifies a signed 32-bit integer (D-Bus type i). Because of this type mismatch, polkit silently discards the caller-supplied UID and instead determines the subject's owner itself by looking up the PID in /proc, a lookup that is inherently subject to a time-of-check/time-of-use race. Consequently, an application that passes a UID obtained from a trustworthy source — for example SO_PEERCRED Unix socket peer credentials — in order to defend against PID reuse receives no protection, and the supplied UID has no effect on the authorization decision. A local unprivileged attacker who can cause an authorized process to terminate and then win the race to have their own process assigned the same PID can be authorized under the identity of the terminated process, bypassing the polkit authorization check and performing actions the attacker is not entitled to. This issue affects zbus_polkit before 5.1.0.

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