CyberRota Analysis
AI-GeneratedA command injection vulnerability in the Red Hat Satellite API allows attackers with permission to execute job templates to inject arbitrary shell commands through the effective_user parameter, which is not properly sanitized. This flaw can lead to unauthorized command execution on the target infrastructure, posing a significant risk to system integrity and confidentiality. Organizations using rubygem-foreman_remote_execution should prioritize patching this vulnerability to mitigate potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
A flaw was found in rubygem-foreman_remote_execution. A command injection vulnerability exists in the Red Hat Satellite API (/api/v2/job_invocations). When a job template has the effective_user property marked as overridable: true, the application fails to properly sanitize the effective_user input provided during the API request. The exploitation does not rely on the content or logic of the Job Template/playbook itself; rather, the injection occurs during the instantiation of the job execution environment by the Satellite server. An attacker with permissions to execute job templates can inject arbitrary shell commands into this parameter, which are executed on the target infrastructure with the privileges of the execution user.