概要
認証なしで、別アプリの公開パスを装って認証を回避されるおそれ。
元の説明(英語)を読む
Tinyauth is an authentication and authorization server. From 5.0.5 until 5.2.0, the /api/auth/nginx endpoint trusts a client-supplied X-Original-URL header when selecting application access controls in Nginx or Nginx Proxy Manager configurations that do not overwrite or remove that header. An unauthenticated attacker can reference another application's public path to bypass authentication, and a restricted authenticated user can reference an authorized application to bypass application-specific restrictions. This issue is fixed in version 5.2.0.
影響を受ける人
tinyauth 5.0.5 以上 5.2.0 未満を Nginx 系で使う人
対策
- tinyauth を 5.2.0 以降に更新する。
- Nginx 側で X-Original-URL ヘッダーを上書きしているか確認する。
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
リンクだけを載せる。中身は確かめていない。