Описание
A flaw was found in StackRox/RHACS Central's Auth Machine-to-Machine (M2M) token exchange. When an administrator configures M2M role mappings, the system uses unanchored regular expressions for matching claim values. This allows an attacker with a valid OpenID Connect (OIDC) token, whose claim value is a superstring of a configured pattern, to gain unauthorized access to roles they were not intended to receive. This can lead to privilege escalation within the system.
Отчет
This Moderate severity flaw in StackRox/RHACS Central allows privilege escalation when administrators configure Auth Machine-to-Machine (M2M) role mappings with unanchored regular expressions. An attacker with a valid OIDC token and a claim value that is a superstring of a configured pattern can exploit this to obtain unintended roles, as the system performs substring matching instead of exact matching.
Меры по смягчению последствий
Administrators should review and update their Auth Machine-to-Machine (M2M) role mappings in StackRox/RHACS Central to ensure that valueExpression regular expressions are properly anchored (e.g., by adding ^ and $ delimiters). This ensures exact matching of claim values and prevents unintended role assignments. Reloading the configuration or restarting the Central service may be required for changes to take effect.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-main-rhel8 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
6.8 Medium
CVSS3
Связанные уязвимости
A flaw was found in StackRox/RHACS Central's Auth Machine-to-Machine (M2M) token exchange. When an administrator configures M2M role mappings, the system uses unanchored regular expressions for matching claim values. This allows an attacker with a valid OpenID Connect (OIDC) token, whose claim value is a superstring of a configured pattern, to gain unauthorized access to roles they were not intended to receive. This can lead to privilege escalation within the system.
A flaw was found in StackRox/RHACS Central's Auth Machine-to-Machine (M2M) token exchange. When an administrator configures M2M role mappings, the system uses unanchored regular expressions for matching claim values. This allows an attacker with a valid OpenID Connect (OIDC) token, whose claim value is a superstring of a configured pattern, to gain unauthorized access to roles they were not intended to receive. This can lead to privilege escalation within the system.
EPSS
6.8 Medium
CVSS3