CVE-2023-40050CWE-434CWE-94

Automate Vulnerable to Malicious Content Uploaded Through Embedded Compliance Application

Critical · published October 31, 2023

CVSS v3.1
9.9
EPSS
1%
Percentile
67.6
In the wild
Unconfirmed
What it is

🚨 A crafty profile upload is all it takes to unleash remote code execution in Chef Automate 4.10.29 and earlier! 🔥 Think of Chef Automate like a restaurant kitchen, where a chef can submit meal orders. Now imagine if someone slipped in a fake order that didn’t just change the menu but also tampered with how the kitchen runs — that’s what this vulnerability does! An attacker could gain full control of the system by exploiting this vulnerability, allowing them to execute any code they desire. This means they could manipulate configurations, steal sensitive data, or even take down critical services — absolutely devastating for any organization relying on Chef Automate!

Put simply

Think of Chef Automate like a restaurant kitchen, where a chef can submit meal orders. Now imagine if someone slipped in a fake order that didn’t just change the menu but also tampered with how the kitchen runs — that’s what this vulnerability does! This vulnerability occurs due to insufficient validation of uploaded profiles via the API or user interface, enabling an attacker to execute malicious code by using the InSpec check command.

What to do

An attacker could gain full control of the system by exploiting this vulnerability, allowing them to execute any code they desire. This means they could manipulate configurations, steal sensitive data, or even take down critical services — absolutely devastating for any organization relying on Chef Automate! To protect your systems, immediately upgrade Chef Automate to version 4.10.30 or later. Additionally, review your upload settings to restrict profile uploads only to trusted sources. Don't forget to conduct a thorough audit of any existing profiles! You've got this! Follow these steps, and you'll secure your Chef Automate in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01184 · 67.6th percentile
Weaknesses
CWE-434 · Unrestricted Upload of File with Dangerous Type; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2023-10-31T14:07Z
EPSS history
Timeline
  • 31 OCT 14:07Z
    Automate Vulnerable to Malicious Content Uploaded Through Embedded Compliance Application
    cvelistv5