Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-p3hp-v9wh-ghm7

Опубликовано: 09 июл. 2026
Источник: github
Github: Не прошло ревью

Описание

CORS * reflects Origin with Allow-Credentials

Origin

This vulnerability was identified by Team RabbitMQ and/or other teams at Broadcom, not via a responsible disclosure from an external researcher.

Impact

When the management plugin is configured with a wildcard CORS origin (cors_allow_origins = "*"), the handler reflects the request Origin back in Access-Control-Allow-Origin and also sends Access-Control-Allow-Credentials: true. A malicious web page that a signed-in administrator visits can then use that administrator's cached HTTP Basic credentials to issue authenticated, state-changing requests to the management API.

Description

match_origin/1 returned the bare reflected Origin and allowed credentials even when the wildcard "*" was configured, so the response echoed the attacker's origin together with Access-Control-Allow-Credentials. The affected code is rabbit_mgmt_cors.erl.

Preconditions

  • The management plugin is configured with the wildcard cors_allow_origins = "*", which is an explicit operator misconfiguration
  • A target administrator has a cached HTTP Basic-auth session in the browser

CVSS

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (7.6, High). Fixed in 3.13.17, 4.0.22, 4.1.13, 4.2.6, 4.3.0.

Пакеты

Наименование

rabbitmq

vmware
Затронутые версииВерсия исправления

>= 3.13.0, < 3.13.17

3.13.17

Наименование

rabbitmq

vmware
Затронутые версииВерсия исправления

>= 4.0.0, < 4.0.22

4.0.22

Наименование

rabbitmq

vmware
Затронутые версииВерсия исправления

>= 4.1.0, < 4.1.13

4.1.13

Наименование

rabbitmq

vmware
Затронутые версииВерсия исправления

>= 4.2.0, < 4.2.6

4.2.6

Дефекты

CWE-942

Дефекты

CWE-942