CVE-2024-4871: Foreman: host ssh key not being checked in remote execution

Published May 2, 2024
·
Updated

A vulnerability was found in Satellite. When running a remote execution job on a host, the host's SSH key is not being checked. When the key changes, the Satellite still connects it because it uses "-o StrictHostKeyChecking=no". This flaw can lead to a man-in-the-middle attack (MITM), denial of service, leaking of secrets the remote execution job contains, or other issues that may arise from the attacker's ability to forge an SSH key. This issue does not directly allow unauthorized remote execution on the Satellite, although it can leak secrets that may lead to it.

Other sources

When running a remote execution job on a host, the ssh key of the host is not being checked. When the key changes, the Satellite connects it anyway because it uses "-o StrictHostKeyChecking=no". This can lead to MITM, DoS, leaking of whatever secrets the remote execution job contains, or whatever other issues may arise from the attacker being able to forge a ssh key. This does not directly allow unauthorized remote execution on the Satellite (although it can leak secrets leading to it)..

Red Hat

Affected Software

2 affected components
Red Hat Red Hat Satellite
Foreman Foreman Remote Execution

Event History

May 2, 2024
Data Sourced
via Red Hat·01:22 PM
DescriptionSeverityAffected Software
May 14, 2024
CVE Published
via MITRE·02:27 PM
Data Sourced
via MITRE·02:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
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-2024-4871?

CVE-2024-4871 is classified as a high severity vulnerability due to the potential for man-in-the-middle (MITM) attacks.

2

How do I fix CVE-2024-4871?

To mitigate CVE-2024-4871, ensure you configure SSH to verify host keys by disabling the '-o StrictHostKeyChecking=no' option.

3

What systems are affected by CVE-2024-4871?

CVE-2024-4871 affects Red Hat Satellite configured to run remote execution jobs.

4

What are the risks associated with CVE-2024-4871?

The primary risk of CVE-2024-4871 is that it allows an attacker to perform a man-in-the-middle attack when SSH keys are not verified.

5

When was CVE-2024-4871 disclosed?

CVE-2024-4871 was disclosed in 2024, detailing vulnerabilities in the Red Hat Satellite remote execution functionality.

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