Foreman: command injection in foreman-rake errors:fetch_log via request_id parameter (Red Hat Red Hat Satellite 6.16 for RHEL 8)
En bref
- Source
- NVD
- EPSS
- EPSS 1.24 % · centile 69 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Analyzed
Rechercher sur…
Description
A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.
Faiblesses (CWE)
- CWE-78 — Injection de commande système
Références
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-12540
- https://bugzilla.redhat.com/show_bug.cgi?id=2489969
- http://www.openwall.com/lists/oss-security/2026/10/07/9
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-90916
- GCVE · GCVE-0-2026-12540
Configurations affectées (CPE NVD)
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.16 < 6.16.4cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.17 < 6.17.12cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.5cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.18 < 6.18.10cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Red Hat · Red Hat Satellite 6.16 for RHEL 8 | unaffected 0:3.12.0.23-1.el8sat < * |
| Red Hat · Red Hat Satellite 6.16 for RHEL 9 | unaffected 0:3.12.0.23-1.el9sat < * |
| Red Hat · Red Hat Satellite 6.17 for RHEL 9 | unaffected 0:3.14.0.22-1.el9sat < * |
| Red Hat · Red Hat Satellite 6.18 for RHEL 9 | unaffected 0:3.16.0.25-1.el9sat < * |
| Red Hat · Red Hat Satellite 6.19 for RHEL 9 | unaffected 0:3.18.0.14-1.el9sat < * |
| Red Hat · Red Hat Satellite 6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |