Katalog CVE

CVE-2026-50192

ŚrednieCVSS 6.9
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.25%

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

Streszczenie

Kerberos Agent to otwartoźródłowy agent do zarządzania wideo (monitoring). Przed wersją 3.6.26 ścieżka przesyłania do Kerberos Hub wysyła poświadczenia agenta Hub w niestandardowych nagłówkach X-Kerberos-Hub-PrivateKey i X-Kerberos-Hub-PublicKey do skonfigurowanego adresu URL Hub (config.HubURI). Używany klient HTTP (&http.Client{} w UploadKerberosHub) jest skonstruowany bez polityki CheckRedirect, więc automatycznie podąża za przekierowaniami HTTP. Go's net/http usuwa tylko wrażliwe nagłówki (Authorization, Cookie, WWW-Authenticate) przy przekierowaniu na inny host; nie usuwa niestandardowych nagłówków, takich jak X-Kerberos-Hub-PrivateKey. W rezultacie, jeśli skonfigurowany HubURI zwróci przekierowanie 30x na inny host, klucz prywatny Hub jest przekazywany dosłownie do celu przekierowania, ujawniając poświadczenia nieupoważnionej stronie trzeciej. Wersja 3.6.26 naprawia problem poprzez implementację CheckRedirect strip oraz test regresyjny dla przekierowań między hostami.

Ocena ryzyka

Podatność może prowadzić do ujawnienia klucza prywatnego Hub nieupoważnionej stronie trzeciej, co może umożliwić przejęcie kontroli nad agentem lub dostęp do danych monitoringu.

Rekomendacja

Zaktualizuj Kerberos Agent do wersji 3.6.26 lub nowszej. Upewnij się, że skonfigurowany HubURI jest zaufany i nie przekierowuje na zewnętrzne hosty.

Powiązane podatności

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

Kerberos Agent is an open source video (surveillance) management agent. Prior to version 3.6.26, the Kerberos Hub upload path sends the agent's Hub credentials in the custom `X-Kerberos-Hub-PrivateKey` and `X-Kerberos-Hub-PublicKey` request headers to the operator-configured Hub URL (`config.HubURI`). The HTTP client used (`&http.Client{}` in `UploadKerberosHub`) is constructed without a `CheckRedirect` policy, so it follows HTTP redirects automatically. Go's `net/http` strips only sensitive headers (`Authorization`, `Cookie`, `WWW-Authenticate`) on a cross-host redirect; it does not strip custom headers such as `X-Kerberos-Hub-PrivateKey`. As a result, if the configured `HubURI` returns a cross-host 30x redirect, the Hub private key is forwarded verbatim to the redirect target, disclosing the credential to an unintended third party. Version 3.6.26 fixes the issue by implementing the `CheckRedirect` strip plus a cross-host regression test is provided to the maintainer through the advisory's private temporary fork.

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