Catégories
CVE-2026-73564

Vulnérabilité dans github.com/fatedier/frp (CVE-2026-73564)

Résumé

Vulnérabilité dans github.com/fatedier/frp (CVE-2026-73564). Risque d'opérations non autorisées ou de divulgation. Exploitable via frps. Atténuation : mise à jour vers 0.70.1 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Summary

An integer-overflow vulnerability in the frp server's optional SSH Tunnel Gateway lets any unauthenticated remote attacker crash the entire frps process with a single five-byte message. When the gateway parses an SSH exec channel request in pkg/ssh/server.go, it adds a small constant to a four-byte length value taken directly from the request. Because that length is fully attacker-controlled, a value of 0xFFFFFFFF makes the addition wrap around to a tiny number, defeating the only bounds check and forcing an out-of-range slice. Go raises a panic that nothing recovers, so the whole server exits. In the default gateway mode SSH clients are not authenticated and the request is handled before any frp token is checked, so the crash is reachable pre-authentication. It carries no state and is trivially repeatable, turning one crash into a sustained outage that drops every tunnel for every user.

Details

The exec request payload is a four-byte big-endian length followed by that many command bytes, and the length field is fully attacker-controlled. The gateway computes the end of the command as 4 + length. The constant 4 takes the uint32 type of the length field, so 4 + 0xFFFFFFFF wraps modulo 2^32 to 3. The only guard compares the real payload size against this wrapped value, so a five-byte payload passes the test 5 < 3, and the slice runs from index 4 to index 3:

// pkg/ssh/server.go:315-319
end := 4 + binary.BigEndian.Uint32(req.Payload[…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Résumé généré automatiquement

Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.

Une vulnérabilité référencée CVE-2026-73564 a été découverte dans github.com/fatedier/frp.
Des attaquants peuvent cibler un point d'entrée spécifique comme frps à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour github.com/fatedier/frp vers 0.70.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/fatedier/frp CVE-2026-73564 » sur le site de l'éditeur.

CVE-2026-73564 (github.com/fatedier/frp) — CWE-129
Surface d'attaque : frps / exec / uint32 / recover
Correctif : 0.70.1 — appliquer immédiatement
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.

❓ Quel est le problème

Une vulnérabilité (CWE-129) affecte github.com/fatedier/frp. Les attaquants atteignent le code vulnérable via frps.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de github.com/fatedier/frp. Surface d'attaque : frps / exec / uint32 / recover.

🔥 Gravité

Gravité : ?. Risque d'opérations non autorisées ou de divulgation.

🔧 Comment corriger

Mettre à jour vers 0.70.1.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r 'github.com/fatedier/frp' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/fatedier/frp を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade github.com/fatedier/frp to 0.70.1

    ステージング環境で 0.70.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

go github.com/fatedier/frp
[{"type":"SEMVER","events":[{"introduced":"0.53.0"},{"fixed":"0.70.1"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus