| Título | error311 FileRise 3.20.0 Authentication Bypass |
|---|
| Descrição | The disableBasicAuth, disableFormLogin, and disableOIDCLogin configuration flags are enforced only client-side via JavaScript. There is zero server-side enforcement. An attacker bypasses these restrictions by sending requests directly to the backend API endpoints. Vulnerable code in src/FileRise/Http/Controllers/AuthController.php: loginBasic() at line 761, handleFormLogin() at line 506, handleOidcFlow() at line 177. None of these methods check the corresponding disable flag. These flags exist only in AdminModel.php and admin JavaScript (hides UI buttons). PoC: curl -s http://127.0.0.1:8080/api/auth/login_basic.php -H 'Authorization: Basic YXR0YWNrZXI6UGFzc3dvcmQxMjMh' returns 302 despite disableBasicAuth=true.
|
|---|
| Fonte | ⚠️ https://github.com/error311/FileRise/security/advisories/GHSA-p9qc-2r93-jccq |
|---|
| Utilizador | BRabbit (UID 99520) |
|---|
| Submissão | 03/07/2026 08h34 (há 2 meses) |
|---|
| Moderação | 19/08/2026 18h33 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 393207 [error311 FileRise até 3.20.0 API AuthController.php loginBasic/handleFormLogin/handleOidcFlow Autenticação fraca] |
|---|
| Pontos | 20 |
|---|