Light Code LabsのCaddyにおける複数の脆弱性
| Title |
Light Code LabsのCaddyにおける複数の脆弱性
|
| Summary |
CaddyはデフォルトでTLSを使用する拡張可能なサーバープラットフォームです。バージョン2.7.0から2.11.3までの間、modules/caddyhttp/reverseproxy/fastcgi/fastcgi.goのFastCGIトランスポートのsplitPos()関数が、リクエストパスに非ASCIIバイトが含まれている場合にgolang.org/x/text/searchのsearch.IgnoreCaseを誤用していました。そのフォールバックにおける2つの異なる欠陥により、攻撃者はCaddyのFastCGI分割処理を誤誘導し、.php(またはその他設定されたsplit_path拡張子)でないファイルをスクリプトとして扱わせることが可能になります。攻撃者がFastCGI経由で提供されるファイルにコンテンツを配置できる環境(アップロードやファイルストレージなど)では、この脆弱性によって、いずれかの欠陥を引き起こすパスのURLを作成することでリモートコード実行を引き起こす可能性があります。この脆弱性はバージョン2.11.3で修正されました。
|
| Possible impacts |
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 23, 2026, midnight |
| Registration Date |
June 29, 2026, 11:17 a.m. |
| Last Update |
June 29, 2026, 11:17 a.m. |
|
CVSS3.0 : 重要
|
| Score |
8.1
|
| Vector |
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected System
| Light Code Labs |
|
Caddy 2.7.0 以上 2.11.3 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月29日] 掲載 |
June 29, 2026, 11:17 a.m. |
NVD Vulnerability Information
CVE-2026-45135
| Summary |
Caddy is an extensible server platform that uses TLS by default. From 2.7.0 until 2.11.3, the FastCGI transport's splitPos() in modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go misuses golang.org/x/text/search with search.IgnoreCase when the request path contains a non-ASCII byte. Two distinct flaws in that fallback let an attacker mislead Caddy's FastCGI splitting into treating a non-.php (or other configured split_path extension) file as a script. In any deployment where the attacker can place content into a file served via FastCGI (uploads, file storage, etc.), this can be escalated to remote code execution by crafting a URL whose path triggers either flaw. This vulnerability is fixed in 2.11.3.
|
| Publication Date |
June 24, 2026, 3:17 a.m. |
| Registration Date |
June 27, 2026, 4:14 a.m. |
| Last Update |
June 27, 2026, 3:04 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* |
2.7.0 |
|
|
2.11.3 |
Related information, measures and tools
Common Vulnerabilities List