Memos' webhook dispatch function safeDialContext() (internal/webhook/webhook.go) resolves the...
Résumé
Memos' webhook dispatch function safeDialContext() (internal/webhook/webhook.go) resolves the...
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Memos' webhook dispatch function safeDialContext() (internal/webhook/webhook.go) resolves the target hostname via net.DefaultResolver.LookupHost() and validates the resulting IPs against reserved ranges, but then dials net.JoinHostPort(host, port) using the original hostname rather than the already-validated IP address. Because net.Dialer.DialContext() performs its own independent DNS resolution, an attacker controlling DNS for the webhook's hostname (e.g. via a short TTL) can return a public, allowed IP during validation and a different, internal IP at dial time — a classic time-of-check/time-of-use DNS-rebinding bypass of the SSRF protection.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2026-71272 a été découverte dans ssrf.
Des informations confidentielles peuvent être exposées. Score CVSS : 8.5/10.
Action : appliquez le correctif officiel de l'éditeur.
En cas de doute, contactez votre service informatique ou cherchez « ssrf CVE-2026-71272 » sur le site de l'éditeur.
CVE-2026-71272 (ssrf) — CWE-367 / CVSS v3 8.5
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Memosのwebhookディスパッチ関数safeDialContext()におけるDNSリバインディング攻撃。
Memosのinternal/webhook/webhook.go。
外部攻撃者が内部IPへの不正アクセスを可能にする可能性があるため、重大な脆弱性です。
安全なDNS解決戦略を実装し、バリデーション後に正しいIPを使用してダイヤルするロジックを適用すること。
一時的な回避策は情報なし。
webhookへのDNSリクエストと応答のロギングを有効にして異常を特定する。
Références
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com