| 标题 | error311 FileRise 3.20.0 Authentication Bypass |
|---|
| 描述 | 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.
|
|---|
| 来源 | ⚠️ https://github.com/error311/FileRise/security/advisories/GHSA-p9qc-2r93-jccq |
|---|
| 用户 | BRabbit (UID 99520) |
|---|
| 提交 | 2026-07-03 08時34分 (2 月前) |
|---|
| 管理 | 2026-08-19 18時33分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 393207 [error311 FileRise 直到 3.20.0 API AuthController.php loginBasic/handleFormLogin/handleOidcFlow 弱身份验证] |
|---|
| 积分 | 20 |
|---|