rabbitmq-server: RabbitMQ: Stored XSS via TLS peer-certificate DN in stream-management UI
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
RabbitMQ is a messaging and streaming broker. From 3.13.0 until 3.13.18 and 4.0.23 and 4.1.14 and 4.2.9 and 4.3.3, Stored XSS via TLS peer-certificate DN in stream-management UI (sibling of V-11). lines 102/106/110 render peercertsubject / peercertissuer with raw <%= %> and no fmtstring(). RFC4514 backslash-escaping of </> is HTML-inert and bypassable (<img ... //>). Requires non-default config: a stream TLS listener with verifypeer and an attacker-obtainable trusted cert with a malicious Same as the connection.ejs finding, against operators viewing the stream-connection detail rabbitmqstream + rabbitmqstreammanagement enabled with a TLS listener using verifypeer Attacker can obtain a certificate signed by a CA the listener trusts, with attacker-chosen DN An operator views the. This issue is fixed in versions 3.13.18 and 4.0.23 and 4.1.14 and 4.2.9 and 4.3.3.
Text from CVE List
Affected versions 5
- rabbitmq-serveraffected: >= 3.13.0, < 3.13.18CVE List
- rabbitmq-serveraffected: >= 4.0.0, < 4.0.23CVE List
- rabbitmq-serveraffected: >= 4.1.0, < 4.1.14CVE List
- rabbitmq-serveraffected: >= 4.2.0, < 4.2.9CVE List
- rabbitmq-serveraffected: >= 4.3.0, < 4.3.3CVE List