Hi,
I am using wazuh 3.11.1, I had a problem with a wazuh daemon(wazuh-modulesd), it was not running. I tried to restart the wazuh-manager, still no luck.
I have been using wazuh for over 4months and suddenly after the ossec.conf change it started failing. I tried to revert the ossec.conf to the earlier one, still the daemon starts failing.
When I go to the logs, I see this error
2020/04/10 06:31:47 wazuh-modulesd:vulnerability-detector: ERROR: (5402): Could not load the CVE OVAL for BIONIC. XMLERR: Attribute '<93>' has no value.
2020/04/10 06:31:47 wazuh-modulesd:vulnerability-detector: ERROR: (5426): CVE database could not be updated.
2020/04/10 06:31:47 wazuh-modulesd:vulnerability-detector: INFO: (5452): Starting vulnerability scanning.
2020/04/10 06:31:49 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2020/04/10 03:39:26 wazuh-modulesd:vulnerability-detector: ERROR: (5402): Could not load the CVE OVAL for XENIAL. XMLERR: Attribute '^G^Pê<9d>æÇ^_Ô²!jNC<8d>a <88>ÓÓ *^R;íÞ<8d><87><93>4Ã!^X'<8b><98>Z»ôà' has no value.
2020/04/10 03:39:26 wazuh-modulesd:vulnerability-detector: ERROR: (5426): CVE database could not be updated.
2020/04/10 03:39:30 wazuh-modulesd:vulnerability-detector: ERROR: (5402): Could not load the CVE OVAL for TRUSTY. XMLERR: Attribute 'H.{Ð:êwU^]rª{^Nú®o´.¼(<91>ŸF' has no value.
2020/04/10 03:39:30 wazuh-modulesd:vulnerability-detector: ERROR: (5426): CVE database could not be updated.
So I went and disabled the vulnerability-detector for now, and now the daemon is running. Below is the part from ossec.conf,
<vulnerability-detector>
<enabled>no</enabled>
<interval>5m</interval>
<ignore_time>6h</ignore_time>
<run_on_start>yes</run_on_start>
<provider name="canonical">
<enabled>yes</enabled>
<os>precise</os>
<os>trusty</os>
<os>xenial</os>
<os>bionic</os>
<update_interval>1h</update_interval>
</provider>
<provider name="debian">
<enabled>yes</enabled>
<os>wheezy</os>
<os>stretch</os>
<os>jessie</os>
<os>buster</os>
<update_interval>1h</update_interval>
</provider>
<provider name="redhat">
<enabled>yes</enabled>
<update_from_year>2010</update_from_year>
<update_interval>1h</update_interval>
</provider>
<provider name="nvd">
<enabled>yes</enabled>
<update_from_year>2010</update_from_year>
<update_interval>1h</update_interval>
</provider>
</vulnerability-detector>
can you let me know why the daemon is failing to start when vulnerability detector is enabled?