CVE-2022-3874: Os command injection via ct_command and fcct_command

Published Nov 7, 2022
·
Updated

A command injection flaw was found in foreman. This flaw allows an authenticated user with admin privileges on the foreman instance to transpile commands through CoreOS and Fedora CoreOS configurations in templates, possibly resulting in arbitrary command execution on the underlying operating system.

Other sources

In the Foreman component of Satellite, the ctcommand and fcctcommand settings allow authenticated users to execute arbitrary commands on the server. These commands are used to transpile CoreOS and Fedora CoreOS configurations in templates. Changing the command requires admin privileges on the Foreman instance.

Red Hat

Affected Software

3 affected components
rubygems/foreman<=3.8.0
redhat Satellite=6.0
theforeman foreman

Event History

Nov 7, 2022
Data Sourced
via Red Hat·10:02 AM
DescriptionSeverityAffected Software
Sep 22, 2023
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
DescriptionSeverityWeakness
Advisory Published
03:30 PM
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 CVE-2022-3874?

CVE-2022-3874 is a command injection vulnerability found in the foreman application.

2

What is the severity of CVE-2022-3874?

CVE-2022-3874 has a severity rating of 9.1 (critical).

3

How does CVE-2022-3874 affect Redhat Satellite?

CVE-2022-3874 affects Redhat Satellite 6.0.

4

How does CVE-2022-3874 affect Theforeman Foreman?

CVE-2022-3874 affects Theforeman Foreman.

5

How can I fix CVE-2022-3874?

To fix CVE-2022-3874, it is recommended to update to the latest version of the foreman application.

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