Lucene search

K
cve[email protected]CVE-2023-50260
HistoryApr 19, 2024 - 3:15 p.m.

CVE-2023-50260

2024-04-1915:15:50
CWE-94
web.nvd.nist.gov
33
wazuh
active response
arbitrary command execution
host deny
lpe
rce
threat prevention
detection
response
vulnerability
fixed
nvd

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

29.0%

Wazuh is a free and open source platform used for threat prevention, detection, and response. A wrong validation in the host_deny script allows to write any string in the hosts.deny file, which can end in an arbitrary command execution on the target system. This vulnerability is part of the active response feature, which can automatically triggers actions in response to alerts. By default, active responses are limited to a set of pre defined executables. This is enforced by only allowing executables stored under /var/ossec/active-response/bin to be run as an active response. However, the /var/ossec/active-response/bin/host_deny can be exploited. host_deny is used to add IP address to the /etc/hosts.deny file to block incoming connections on a service level by using TCP wrappers. Attacker can inject arbitrary command into the /etc/hosts.deny file and execute arbitrary command by using the spawn directive. The active response can be triggered by writing events either to the local execd queue on server or to the ar queue which forwards the events to agents. So, it can leads to LPE on server as root and RCE on agent as root. This vulnerability is fixed in 4.7.2.

Affected configurations

Vulners
Node
wazuhwazuhRange4.2.04.7.2
VendorProductVersionCPE
wazuhwazuh*cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "wazuh",
    "product": "wazuh",
    "versions": [
      {
        "version": ">= 4.2.0, < 4.7.2",
        "status": "affected"
      }
    ]
  }
]

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

29.0%

Related for CVE-2023-50260