Chatwoot に、Twilioのコールバックから内部ネットワークへ不正にアクセスされる脆弱性
Summary
Chatwootの/twilio/callbackエンドポイントで署名検証が行われていないため、未認証の攻撃者がサーバーに任意のホストへHTTPリクエストを送らせられます。チャンネルのTwilio認証情報が付与されるため、内部サービスへの侵入やTwilio認証情報の窃取につながるおそれがあります。4.17.0より前のバージョンが対象で、4.17.0で修正されています。4.17.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Chatwootの/twilio/callbackエンドポイントで署名検証が行われていないため、未認証の攻撃者がサーバーに任意のホストへHTTPリクエストを送らせられます。チャンネルのTwilio認証情報が付与されるため、内部サービスへの侵入やTwilio認証情報の窃取につながるおそれがあります。4.17.0より前のバージョンが対象で、4.17.0で修正されています。4.17.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| chatwootchatwoot |
< 4.17.0→ 4.17.0 |
4.17.0 |
Original description The description as published by the source.
Chatwoot before 4.17.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server issue HTTP requests to arbitrary hosts by exploiting missing Twilio request signature validation on the /twilio/callback endpoint. Attackers who know a channel's AccountSid and phone number can post a forged inbound message with an attacker-controlled MediaUrl0 value, causing the server to download the resource with the channel's Twilio credentials attached as HTTP Basic auth, enabling access to internal services, cloud metadata endpoints, and theft of Twilio credentials.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- report github.com
- web github.com
- web github.com
- web github.com