{"id":"DHI-b5tg-o5y3-6ebb-sr4t","summary":"## Origin","details":"## Origin\n\nThis vulnerability was identified by Team RabbitMQ and/or other teams at Broadcom, not via a responsible disclosure from an external researcher.\n\n## Impact\n\nPlaintext credential disclosure. Once recovered, the attacker can use the credentials against any RabbitMQ surface: AMQP 0-9-1 and 1.0, MQTT, STOMP, and the management HTTP API. The credentials are the user's actual login credentials, not a session token, so the leak is not mitigated by token rotation or session expiry.\n\n`POST /login` is the standard browser flow for the management UI's basic-auth path, and every successful UI login produced this cookie. The cookie was not required by the client-side JavaScript for anything: the JavaScript uses `localStorage` for credentials (`prefs.js:set_basic_auth`) plus the `LOGGED_IN` cookie marker. The `auth` cookie was dead, write-only state with credential-grade contents.\n\n## Description\n\nOn a successful credential check inside `is_authorized/2`, the server set a cookie named `auth` whose value was `base64(\u003c\u003cUsername/binary, \":\", Password/binary\u003e\u003e)`:\n\n```erlang\n%% Before (vulnerable)\nValue = base64:encode(\u003c\u003cUsername/binary,\":\",Password/binary\u003e\u003e),\n{true, cowboy_req:set_resp_cookie(\u003c\u003c\"auth\"\u003e\u003e, Value, ReqData1), Context1};\n```\n\nThe cookie was set with no `HttpOnly` flag, no `Secure` flag, no `SameSite` attribute, and no `Max-Age` and `Expires` (a default session cookie). It was therefore readable from JavaScript via `document.cookie`, so any reflected or stored XSS anywhere in the management origin could exfiltrate the plaintext credentials in one network call. It was sent over plaintext HTTP in any deployment that listens on both `:15672` and a TLS terminator, or where TLS termination is at a proxy and the back-channel to the broker is plaintext. It was also cross-site by default, because `SameSite` defaults to browser-dependent behaviour and older browsers default to `None`. Because `base64` is encoding rather than encryption, any holder of the cookie recovers `username:password` instantly.\n\n## Preconditions\n\nThere are three distinct attacker positions. An XSS-adjacent attacker exploiting any XSS on the same origin (for example SP-00001, V-00011, V-00044, or any future stored XSS) reads the cookie and recovers the full plaintext credentials; the cookie's lack of `HttpOnly` is the critical multiplier. A network attacker at any HTTP-readable point between browser and server (a proxy or a shared network) observes the cookie on every authenticated request, since the browser sends it automatically in every `Cookie` header. A local-machine attacker finds plaintext credentials in the browser cookie store, recoverable from the profile directory or by `document.cookie` injection.\n\n---\n\n## CVSS\nCVSS v4.0: `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N` (8.2, High). Fixed in `4.2.8`, `4.3.2`.","modified":"2026-11-23T22:15:17.701288753Z","published":"2026-11-18T14:50:03Z","upstream":["CVE-2026-67236"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-b5tg-o5y3-6ebb-sr4t"},{"type":"ADVISORY","url":"https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-88vh-gx85-p36m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67236"},{"type":"FIX","url":"https://github.com/rabbitmq/rabbitmq-server/commit/edf1fbc7217aaf736955d2e13c9534901a2e0778"},{"type":"FIX","url":"https://github.com/rabbitmq/rabbitmq-server/commit/df9e7f4c0afd311a672705f020d301efad355745"},{"type":"WEB","url":"https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.2"},{"type":"WEB","url":"https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.8"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-67236"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-67236"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-67236"}],"affected":[{"package":{"name":"rabbitmq-4.3","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/rabbitmq-4.3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.5-0"}]}],"versions":["4.3.5-0","4.3.5-1","4.3.6-0","4.3.6-1","4.3.6-2"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-b5tg-o5y3-6ebb-sr4t.json","owner_kind":"HSP"}},{"package":{"name":"rabbitmq-4.4-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/rabbitmq-4.4-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.1-0"}]}],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-b5tg-o5y3-6ebb-sr4t.json"}},{"package":{"name":"rabbitmq-4.4","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/rabbitmq-4.4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.0-0"}]}],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-b5tg-o5y3-6ebb-sr4t.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}