Light Code LabsのCaddyにおける複数の脆弱性
| Title |
Light Code LabsのCaddyにおける複数の脆弱性
|
| Summary |
CaddyはデフォルトでTLSを使用する拡張可能なサーバープラットフォームです。2.11.4より前のバージョンでは、forward_authのcopy_headersは認証ゲートウェイから信頼された値をコピーする前に、正確なクライアント提供の識別ヘッダーを削除していました。しかし、その後リクエストがphp_fastcgiを経由すると、Caddyはハイフン(-)をアンダースコア(_)に置き換えてHTTPヘッダーをCGI変数に正規化します。これにより、クライアントはforward_authの削除ステップを回避できるアンダースコアのエイリアスを送信し、それがPHP/FastCGI変数として同一視されてしまいます。その結果、リモートのクライアントはCaddyの背後にあるPHP/FastCGIアプリケーションに信頼された識別およびグループヘッダーを注入または時には上書きすることが可能になります。この脆弱性はバージョン2.11.4で修正されました。
|
| Possible impacts |
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 23, 2026, midnight |
| Registration Date |
June 29, 2026, 11:13 a.m. |
| Last Update |
June 29, 2026, 11:13 a.m. |
|
CVSS3.0 : 重要
|
| Score |
8.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected System
| Light Code Labs |
|
Caddy 2.11.4 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月29日] 掲載 |
June 29, 2026, 11:13 a.m. |
NVD Vulnerability Information
CVE-2026-52845
| Summary |
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, forward_auth copy_headers deletes the exact client-supplied identity header before copying the trusted value from the auth gateway. But when the request later goes through php_fastcgi, Caddy normalizes HTTP headers into CGI variables by replacing - with _. This lets a client send an underscore alias that survives the forward_auth delete step but becomes the same PHP/FastCGI variable. Result: a remote client can inject or sometimes override identity/group headers trusted by PHP/FastCGI applications behind Caddy. This vulnerability is fixed in 2.11.4.
|
| Publication Date |
June 24, 2026, 3:18 a.m. |
| Registration Date |
June 27, 2026, 4:14 a.m. |
| Last Update |
June 27, 2026, 4:27 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* |
|
|
|
2.11.4 |
Related information, measures and tools
Common Vulnerabilities List