SecurityContext

CVE-2023-5044: Nginx Ingress - Command Injection

  • Cve: CVE-2023-5044
  • Name: Nginx Ingress - Command Injection
  • Description: Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.
  • Impact: Attackers can execute arbitrary code or scripts, potentially leading to remote code execution or cross-site scripting attacks.
  • Remediation: Implement proper input validation and sanitization for ingress annotations, and update to the latest stable ingress controller version.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to control ingress annotations
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.53692
  • Epss percentile: 0.99018
  • Assignee: [email protected]
  • Published at: 2023-10-25T20:15:18Z
  • Age in days: 1126
  • Modified at: 2026-06-17T06:47:25Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-5044
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-20Improper Input Validation
CWE-94Improper Control of Generation of Code

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/KubernetesBachelor/CVE-2023-50442024-03-29
https://github.com/4ARMED/cve-2023-50442024-01-17
https://github.com/r0binak/CVE-2023-50442023-10-30

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/kubernetes/ingress-nginx/issues/10572Issue Tracking, Mitigation, Vendor Advisory
https://groups.google.com/g/kubernetes-security-announce/c/ukuYYvRNel0Mailing List, Mitigation
http://www.openwall.com/lists/oss-security/2023/10/25/3Mailing List, Third Party Advisory
https://security.netapp.com/advisory/ntap-20240307-0012/

Products

ProductAffectedPlatform boundSourcesUrl
kubernetes:ingress-nginx< 1.9.0nonvd/v1/products/kubernetes/ingress-nginx

Projects

RepositoryLink kindsIndexedUrl
kubernetes/ingress-nginxissues, packageyes/v1/repositories/kubernetes/ingress-nginx

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2023-10-30
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts