Closed MARCOSD4 closed 9 months ago
May be related to
Package detected and scanned
2024/02/16 12:43:33 wazuh-modulesd:vulnerability-scanner[34887] packageScanner.hpp:250 at handleRequest(): DEBUG: Initiating a vulnerability scan for package 'mysql-server' (rpm) (Oracle and/or its affiliates) with CVE Numbering Authorities (CNA) 'nvd' on Agent 'amzn2023' (ID: '001', Version: 'v4.7.2').
2024/02/16 12:43:33 wazuh-modulesd:vulnerability-scanner[34887] packageScanner.hpp:277 at handleRequest(): DEBUG: Vulnerability scan for package 'mysql-server' on Agent '001' has completed.
2024/02/16 12:43:33 wazuh-modulesd:vulnerability-scanner[34887] packageScanner.hpp:250 at handleRequest(): DEBUG: Initiating a vulnerability scan for package 'mysql-client' (rpm) (Oracle and/or its affiliates) with CVE Numbering Authorities (CNA) 'nvd' on Agent 'amzn2023' (ID: '001', Version: 'v4.7.2').
2024/02/16 12:43:33 wazuh-modulesd:vulnerability-scanner[34887] packageScanner.hpp:277 at handleRequest(): DEBUG: Vulnerability scan for package 'mysql-client' on Agent '001' has completed.
2024/02/16
Vulnerability associated (CVE-2020-14760)
This is an expected behaviour
During the testing in Release 4.8.0 - Beta 1 - E2E UX tests - Vulnerability Detection, specifically when it was being tested in Amazon Linux 2023, it has been possible to verify that no alert has been sent after installing a vulnerable MySQL package. The following procedure has been carried out:
A vulnerable MySQL package has been downloaded, with version 5.5.23: https://downloads.mysql.com/archives/community/. Then, it has been installed:
Note: the package was installed at around 12:00 p.m.
Then, after waiting several hours, no alert has appeared on the dashboard:
This same package installed in Ubuntu 20.04 does generate alerts, as it can be seen here: https://github.com/wazuh/wazuh/issues/21827.
The configuration of the manager and agent is as follows:
Manager:
etc/lists/audit-keys
etc/lists/amazon/aws-eventnames
etc/lists/security-eventchannel
Agent: