#VU78931 OS Command Injection in Foreman


Published: 2023-08-03

Vulnerability identifier: #VU78931

Vulnerability risk: Low

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-0118

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Foreman
Web applications / Remote management & hosting panels

Vendor: Foreman

Description

The vulnerability allows a remote user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing templates . A remote privileged user can bypass safe mode and inject and execute arbitrary OS commands via the Report Templates function by modifying the "template" JSON value in the POST request.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Foreman: All versions


External links
http://bugzilla.redhat.com/show_bug.cgi?id=2159291


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability