CVE-2022-2104CWE-269

Secheron SEPCOS Control and Protection Relay

Critical · published June 24, 2022

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

🔥 A shocking flaw lets the www-data account run sudo commands without a password — it’s like leaving the front door wide open and handing out free keys! 😱 Think of it as a hotel manager who can access any room without knocking or showing ID. In this case, an attacker could waltz right into the server and run commands as if they owned the place! This means a malicious user could take complete control of your server, access sensitive data, and run arbitrary commands without breaking a sweat. The potential for total chaos is mind-blowingly simple — they could even install malware or extract private information without you ever knowing!

Put simply

Think of it as a hotel manager who can access any room without knocking or showing ID. In this case, an attacker could waltz right into the server and run commands as if they owned the place! This vulnerability arises from the www-data user, which runs the Apache web server, having unrestricted sudo access to commands like /bin/sh and /bin/bash without requiring a password. As a result, an attacker exploiting this flaw could execute any command on the server remotely.

What to do

This means a malicious user could take complete control of your server, access sensitive data, and run arbitrary commands without breaking a sweat. The potential for total chaos is mind-blowingly simple — they could even install malware or extract private information without you ever knowing! To patch this vulnerability, immediately revoke sudo privileges for the www-data account. Review your sudoers file to ensure no unintended access remains and consider restricting commands that can be run without authentication. Regularly audit your permissions! You’ve got this! Follow these steps, and you’ll lock down your server tighter than a drum! 🛡️

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.01103 · 65.5th percentile
Weakness
CWE-269 · Improper Privilege Management
Published
2022-06-24T15:00Z
EPSS history
Timeline
  • 24 JUN 15:00Z
    Secheron SEPCOS Control and Protection Relay
    cvelistv5