CVE-2023-49565: Remote Code Execution
The cbismanager Podman container is vulnerable to remote command execution via the /api/plugins endpoint. Improper sanitization of the HTTP Headers X-FILENAME, X-PAGE, and X-FIELD allows for command injection. These headers are directly utilized within the subprocess.Popen Python function without adequate validation, enabling a remote attacker to execute arbitrary commands on the underlying system by crafting malicious header values within an HTTP request to the affected endpoint. The web service executes with root privileges within the container environment, the demonstrated remote code execution permits an attacker to acquire elevated privileges for the command execution. Restricting access to the management network with an external firewall can partially mitigate this risk.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-49565?
CVE-2023-49565 is classified as a high severity vulnerability due to its potential for remote command execution.
How do I fix CVE-2023-49565?
To fix CVE-2023-49565, ensure that input validation is properly implemented for the HTTP headers X-FILENAME, X-PAGE, and X-FIELD.
Which software is affected by CVE-2023-49565?
The vulnerability CVE-2023-49565 affects the Podman cbis_manager container.
What type of vulnerability is CVE-2023-49565?
CVE-2023-49565 is a remote command execution vulnerability resulting from improper input sanitization.
How can CVE-2023-49565 be exploited?
CVE-2023-49565 can be exploited by sending specially crafted HTTP requests to the /api/plugins endpoint to execute arbitrary commands.