CVE-2022-46836CWE-20

PHP code injection in watolib

Critical · published February 20, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
66.0
In the wild
Unconfirmed
What it is

🔥 A crafty injection in Checkmk could let an attacker execute malicious PHP code with just a simple request! Think of it like a restaurant where the chef accepts any dish order without checking the recipe — a sneaky patron could ask for something dangerous and the kitchen would unwittingly serve it up! An attacker could penetrate your system and run any PHP code they desire, leading to complete control over the application. This could lead to devastating data breaches, unauthorized access, or even total disruption of services — the consequences are absolutely staggering!

Put simply

Think of it like a restaurant where the chef accepts any dish order without checking the recipe — a sneaky patron could ask for something dangerous and the kitchen would unwittingly serve it up! This vulnerability arises from inadequate validation in the 'auth.php' and 'hosttags.php' scripts of Tribe29's Checkmk, allowing an attacker to inject PHP code that gets executed on the server when a specific request is made.

What to do

An attacker could penetrate your system and run any PHP code they desire, leading to complete control over the application. This could lead to devastating data breaches, unauthorized access, or even total disruption of services — the consequences are absolutely staggering! Immediately update Checkmk to versions 2.1.0p11, 2.0.0p28, or 1.6.0p30 or later. Review your codebase for any other potential injection points and implement a web application firewall for additional protection. Don't leave your server open to attack! You've got this! With these steps, you’ll secure your environment in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.01126 · 66.0th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2023-02-20T16:52Z
EPSS history
Timeline
  • 20 FEB 16:52Z
    PHP code injection in watolib
    cvelistv5