Katalog CVE

CVE-2026-43926

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.22%

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

Streszczenie

FOSSBilling przed wersją 0.8.0 nie stosuje ogranicznika szybkości (rate limiter) do endpointu potwierdzenia resetowania hasła `/client/reset-password-confirm/:hash`, ponieważ ogranicznik dotyczy tylko ścieżek `/api/*`. Umożliwia to atakującemu nieograniczone zgadywanie tokenów resetowania bez ograniczeń IP, prób lub blokady. Endpoint zwraca różne odpowiedzi dla ważnych i nieważnych tokenów (HTTP 200 vs 302), działając jak wyrocznia. Jednakże praktyczne wykorzystanie jest znacznie utrudnione przez generowanie tokenów za pomocą `hash('sha256', random_bytes(32))` (256 bitów entropii) oraz ich 15-minutowy czas ważności. Podobny problem dotyczy innych ścieżek uwierzytelniania, takich jak `/staff/email/:hash` i `/client/confirm-email/:hash`. Wersja 0.8.0 naprawia problem.

Ocena ryzyka

Atakujący może potencjalnie odgadnąć token resetowania hasła i przejąć konto użytkownika, choć wymaga to dużej liczby prób ze względu na wysoką entropię tokenów.

Rekomendacja

Zaleca się natychmiastową aktualizację FOSSBilling do wersji 0.8.0 lub nowszej. Jako tymczasowe obejście można skonfigurować ograniczniki szybkości na poziomie reverse proxy (np. Nginx, Apache, Cloudflare) dla ścieżek `/client/reset-password-confirm/*` i `/staff/email/*`.

Inne podatności w FOSSBilling

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

FOSSBilling is a free, open-source billing and client management system. Prior to version 0.8.0, the password reset confirmation endpoint `/client/reset-password-confirm/:hash` is handled by a non-API controller and is not covered by FOSSBilling's rate limiter, which only applies to `/api/*` routes. This allows an attacker to probe the endpoint for valid reset tokens without any per-IP request limiting, attempt counting, or lockout mechanism. The endpoint acts as an oracle, returning a distinguishable response for valid versus invalid tokens (HTTP 200 vs HTTP 302 redirect). An attacker can submit unlimited token guesses to the password reset confirmation endpoint with no throttling applied. However, practical exploitability is significantly mitigated by the current token generation, which uses `hash('sha256', random_bytes(32))`, providing 256 bits of entropy. Tokens also expire after 15 minutes and are deleted after successful use. The same architectural gap applies to other controller-served auth routes, including `/staff/email/:hash` (admin password reset confirmation) and `/client/confirm-email/:hash` (email confirmation). Version 0.8.0 fixes the issue. Some workarounds are available. Configure a reverse proxy (e.g., Nginx, Apache, Cloudflare) to apply per-IP rate limiting to the `/client/reset-password-confirm/*` and `/staff/email/*` paths and/or use a WAF rule to limit request rates to these endpoints.

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