#VU82556 OS Command Injection in Ingress-NGINX Controller for Kubernetes - CVE-2023-5043


| Updated: 2024-01-15

Vulnerability identifier: #VU82556

Vulnerability risk: Medium

CVSSv4.0: 5.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2023-5043

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Ingress-NGINX Controller for Kubernetes
Server applications / Other server solutions

Vendor: Kubernetes

Description

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

The vulnerability exists due to improper input validation in the nginx.ingress.kubernetes.io/configuration-snippet annotation. A remote user can pass specially crafted data to the application, execute arbitrary OS commands and obtain the credentials of the ingress-nginx controller.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Ingress-NGINX Controller for Kubernetes: 1.0.0 - 1.8.4


External links
https://github.com/kubernetes/ingress-nginx/issues/10571
https://groups.google.com/g/kubernetes-security-announce/c/pVsXsOpxYZo
https://www.openwall.com/lists/oss-security/2023/10/25/4


Q & A

Can this vulnerability be exploited remotely?

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

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability