CVE-2025-2157: Foreman: disclosure of executed commands and outputs in foreman / red hat satellite

Published Mar 10, 2025
·
Updated

A flaw was found in Foreman / Red Hat Satellite, where temporary files created under /var/tmp during job execution have improper permissions. This allows low-privileged OS users to access and read command execution outputs, potentially exposing sensitive information such as system credentials or configuration details before the temporary files are deleted.This vulnerability does not grant direct privilege escalation but increases the risk of information disclosure, which could be leveraged in further attacks.

Other sources

A flaw was found in Foreman/Red Hat Satellite. Improper file permissions allow low-privileged OS users to monitor and access temporary files under /var/tmp, exposing sensitive command outputs, such as /etc/shadow. This issue can lead to information disclosure and privilege escalation if exploited effectively.

NVD

Affected Software

2 affected components
Red Hat Foreman
Red Hat Satellite

Event History

Mar 10, 2025
Data Sourced
via Red Hat·12:24 PM
DescriptionSeverityAffected Software
Mar 15, 2025
CVE Published
via MITRE·06:35 AM
Data Sourced
via MITRE·06:35 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-2157?

CVE-2025-2157 is classified as a medium severity vulnerability due to the potential exposure of sensitive information.

2

How do I fix CVE-2025-2157?

To fix CVE-2025-2157, ensure that temporary files created in /var/tmp during job execution have the appropriate permissions set.

3

Who is affected by CVE-2025-2157?

CVE-2025-2157 affects users of Red Hat Foreman and Red Hat Satellite with Embedded Oracle.

4

What information can be exposed by CVE-2025-2157?

CVE-2025-2157 can expose sensitive information such as command execution outputs to low-privileged OS users.

5

When was CVE-2025-2157 reported?

CVE-2025-2157 was reported as a vulnerability affecting specific versions of Foreman and Red Hat Satellite.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203