p PatchFirst

CVE-2026-66077

CVE-2026-66077 · RabbitMQ: Stored XSS via TLS peer-certificate DN in management UI

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6, The management UI uses EJS 1.0 in which <%= ... %> does NOT HTML-escape. connection.ejs:135 renders <%= connection.ssl_details.peer_cert_subject %> (and peer_cert_issuer) directly into the page. The same pattern appears in streamConnection.ejs:102,106,110. The values come from rabbit_ssl:peer_cert_subject/1 which formats the DN as a string without HTML escaping. The verifier corrected the original researcher's claim: this is reachable only when the listener is configured with verify_peer (so the certificate must be signed by a CA in the broker's trust store, not arbitrary self-signed); however, in deployments using mTLS for client authentication, any user who can request a certificate from the organisational CA controls the Subject CN. An attacker who can obtain a TLS client certificate signed by a CA the broker trusts (with verify_peer enabled) can embed JavaScript in the certificate's Subject DN. When any administrator views that connection in the management UI, the script executes in the admin's browser session, allowing full account takeover (create users, export definitions, etc.). The management UI's CSP includes 'unsafe-inline', so inline script execution is not blocked. Preconditions include TLS listener configured with ssl_options.verify = verify_peer Attacker can obtain a CA-signed client certificate with attacker-chosen Subject (e.g. self-service corporate PKI, or rabbitmq_trust_store plugin in use) Administrator views the connection detail page. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.

CVSS 7.3 · Élevée · EPSS 0,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system · database

Produits et versions concernés

  • rabbitmq

    Versions du logiciel
    • >= 3.13.0, < 3.13.15: Concernée
    • >= 4.0.0, < 4.0.20: Concernée
    • >= 4.1.0, < 4.1.11: Concernée
    • >= 4.2.0, < 4.2.6: Concernée

    Aucun correctif publié

  • rabbitmq-server Debian:12

    Versions du logiciel
    • 3.10.8-1.1
    • 3.10.8-1.1+deb12u1
    • 3.10.8-2
    • 3.10.8-3
    • 3.10.8-4
    • 3.12.1-1
    • 3.12.1-1.1
    • 4.0.5-1
    • 4.0.5-10
    • 4.0.5-11
    • 4.0.5-12
    • 4.0.5-13
    • 4.0.5-14
    • 4.0.5-2
    • 4.0.5-3
    • 4.0.5-4
    • 4.0.5-5
    • 4.0.5-6
    • 4.0.5-8
    • 4.0.5-9
    • 4.3.0-1
    • 4.3.0-2
    • 4.3.0-3
    • 4.3.2-1
    • 4.3.2-2
    • 4.3.2-3
    • 4.3.2-4
    • 4.3.2-5
    • 4.3.6-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Debian:13

    Versions du logiciel
    • 4.0.5-10
    • 4.0.5-11
    • 4.0.5-12
    • 4.0.5-13
    • 4.0.5-14
    • 4.0.5-6
    • 4.0.5-6+deb13u1
    • 4.0.5-6+deb13u2
    • 4.0.5-8
    • 4.0.5-9
    • 4.3.0-1
    • 4.3.0-2
    • 4.3.0-3
    • 4.3.2-1
    • 4.3.2-2
    • 4.3.2-3
    • 4.3.2-4
    • 4.3.2-5
    • 4.3.6-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Debian:14

    Versions du logiciel
    • 4.0.5-10
    • 4.0.5-11
    • 4.0.5-12
    • 4.0.5-13
    • 4.0.5-14
    • 4.0.5-6
    • 4.0.5-8
    • 4.0.5-9
    • 4.3.0-1
    Plages de versions concernées
    • ECOSYSTEM: < 4.3.0-2

    Mettez à jour vers 4.3.0-2

  • rabbitmq-server Ubuntu:Pro:16.04:LTS

    Versions du logiciel
    • 3.5.4-1
    • 3.5.4-3
    • 3.5.4-3.1
    • 3.5.7-1
    • 3.5.7-1ubuntu0.16.04.1
    • 3.5.7-1ubuntu0.16.04.2
    • 3.5.7-1ubuntu0.16.04.4
    • 3.5.7-1ubuntu0.16.04.4+esm1
    • 3.5.7-1ubuntu0.16.04.4+esm2
    Plages de versions concernées
    • ECOSYSTEM: < 3.5.7-1ubuntu0.16.04.4+esm3

    Mettez à jour vers 3.5.7-1ubuntu0.16.04.4+esm3

  • rabbitmq-server Ubuntu:Pro:18.04:LTS

    Versions du logiciel
    • 3.6.10-1
    • 3.6.10-1ubuntu0.1
    • 3.6.10-1ubuntu0.3
    • 3.6.10-1ubuntu0.4
    • 3.6.10-1ubuntu0.5
    Plages de versions concernées
    • ECOSYSTEM: < 3.6.10-1ubuntu0.5+esm1

    Mettez à jour vers 3.6.10-1ubuntu0.5+esm1

  • rabbitmq-server Ubuntu:Pro:20.04:LTS

    Versions du logiciel
    • 3.7.8-4ubuntu2
    • 3.7.18-1
    • 3.8.2-0ubuntu1
    • 3.8.2-0ubuntu1.1
    • 3.8.2-0ubuntu1.2
    • 3.8.2-0ubuntu1.3
    • 3.8.2-0ubuntu1.4
    • 3.8.2-0ubuntu1.5
    • 3.8.3-0ubuntu0.1
    • 3.8.3-0ubuntu0.2
    • 3.8.3-0ubuntu0.3
    • 3.8.3-0ubuntu0.3+esm1
    Plages de versions concernées
    • ECOSYSTEM: < 3.8.3-0ubuntu0.3+esm2

    Mettez à jour vers 3.8.3-0ubuntu0.3+esm2

  • rabbitmq-server Ubuntu:22.04:LTS

    Versions du logiciel
    • 3.8.9-3ubuntu1
    • 3.9.8-1
    • 3.9.8-2
    • 3.9.8-3
    • 3.9.8-5
    • 3.9.8-6
    • 3.9.13-1
    • 3.9.13-1ubuntu0.22.04.1
    • 3.9.13-1ubuntu0.22.04.2
    • 3.9.27-0ubuntu0.1
    • 3.9.27-0ubuntu0.2
    • 3.9.27-0ubuntu0.5
    Plages de versions concernées
    • ECOSYSTEM: < 3.9.27-0ubuntu0.6

    Mettez à jour vers 3.9.27-0ubuntu0.6

  • rabbitmq-server Ubuntu:24.04:LTS

    Versions du logiciel
    • 3.12.1-1
    • 3.12.1-1ubuntu1
    • 3.12.1-1ubuntu1.2
    • 3.12.1-1ubuntu1.4
    • 3.12.1-1ubuntu1.6
    Plages de versions concernées
    • ECOSYSTEM: < 3.12.1-1ubuntu1.7

    Mettez à jour vers 3.12.1-1ubuntu1.7

  • rabbitmq-server Ubuntu:26.04:LTS

    Versions du logiciel
    • 4.0.5-8ubuntu2
    • 4.0.5-10ubuntu1
    • 4.0.5-10ubuntu2
    • 4.0.5-10ubuntu3
    • 4.0.5-10ubuntu4
    • 4.0.5-10ubuntu5
    • 4.0.5-10ubuntu5.1
    Plages de versions concernées
    • ECOSYSTEM: < 4.0.5-10ubuntu5.2

    Mettez à jour vers 4.0.5-10ubuntu5.2

Sources originales

Vérifiez votre serveur →