Описание
A flaw was found in Foreman. The foreman-rake initialization logic in /usr/share/foreman/config/settings.rb contains a vulnerable code pattern where configuration data is processed through two distinct executable layers. This creates a multi-stage execution chain that allows for both Server-Side Template Injection (SSTI) and insecure deserialization. This vulnerability can lead to remote code execution, total infrastructure compromise and supply chain risk.
Отчет
- Indirect triggering and remote code execution: foreman-rake exposes underlying execution primitives that higher-level orchestration tools (like foreman-maintain or foreman-installer) rely on to interact with the application. Because these tools implicitly pass commands down, the vulnerability can be triggered indirectly during routine administrative operations, resulting in remote code execution in a high-trust context (often foreman or root).
- Total infrastructure compromise: compromising the management plane (Satellite server) allows an attacker to pivot and execute arbitrary code across all Satellite managed hosts.
- Supply chain risk: while direct local exploitation requires prior root access, this flaw presents a critical supply chain risk. An adversary could distribute malicious plugins or compromised configuration files through public repositories (e.g., RubyGems, GitHub). Note: The CVSS vector and severity are based on this supply chain attack vector.
Меры по смягчению последствий
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Satellite 6 | satellite:el8/foreman | Affected | ||
| Red Hat Satellite 6.16 for RHEL 8 | foreman | Fixed | RHSA-2026:74506 | 01.10.2026 |
| Red Hat Satellite 6.16 for RHEL 9 | foreman | Fixed | RHSA-2026:74506 | 01.10.2026 |
| Red Hat Satellite 6.17 for RHEL 9 | foreman | Fixed | RHSA-2026:74505 | 01.10.2026 |
| Red Hat Satellite 6.18 for RHEL 9 | foreman | Fixed | RHSA-2026:74504 | 01.10.2026 |
| Red Hat Satellite 6.19 for RHEL 9 | foreman | Fixed | RHSA-2026:74503 | 01.10.2026 |
Показывать по
Дополнительная информация
Статус:
7.7 High
CVSS3
Связанные уязвимости
A flaw was found in Foreman. The foreman-rake initialization logic in /usr/share/foreman/config/settings.rb contains a vulnerable code pattern where configuration data is processed through two distinct executable layers. This creates a multi-stage execution chain that allows for both Server-Side Template Injection (SSTI) and insecure deserialization. This vulnerability can lead to remote code execution, total infrastructure compromise and supply chain risk.
A flaw was found in Foreman. The foreman-rake initialization logic in ...
A flaw was found in Foreman. The foreman-rake initialization logic in /usr/share/foreman/config/settings.rb contains a vulnerable code pattern where configuration data is processed through two distinct executable layers. This creates a multi-stage execution chain that allows for both Server-Side Template Injection (SSTI) and insecure deserialization. This vulnerability can lead to remote code execution, total infrastructure compromise and supply chain risk.
7.7 High
CVSS3