Wazuh
cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*
- >= 3.9.0, < 4.14.3
A stack-based buffer overflow vulnerability has been identified in Wazuh versions 3.9.0 prior to 4.14.3. The issue arises in the Security Configuration Assessment (SCA) decoder within the 'wazuh-analysisd' component. The vulnerability is caused by the use of 'sprintf' with a floating-point format specifier on a fixed-size 128-byte buffer, allowing remote attackers to overflow the stack. This overflow can be triggered by a specially crafted JSON event, leading to a crash or potentially allowing remote code execution on the Wazuh manager.
Exploitation of this vulnerability causes a stack-based buffer overflow, which can lead to a crash of the Wazuh manager or potentially allow remote code execution.
The vulnerability can be reproduced by sending a JSON event containing a floating-point number with a large exponent, such as '1.0e150', to the Wazuh manager. The 'wazuh-analysisd' component will process the event using the vulnerable 'sprintf' call, overflowing the stack buffer and causing a crash or allowing code execution.
Users can upgrade to Wazuh version 4.14.3 or later to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.