Vulnerabilities · 2020 · Ossec
CVE-2020-8445
Ossec vulnerability
In OSSEC-HIDS 2.7 through 3.5.0, the OS_CleanMSG function in ossec-analysisd doesn't remove or encode terminal control characters or newlines from processed log messages. In many cases, those characters are later logged. Because newlines (\n) are permitted in messages processed by ossec-analysisd, it may be possible to inject nested events into the ossec log. Use of terminal control characters may allow obfuscating events or executing commands when viewed through vulnerable terminal emulators. This may be an unauthenticated remote attack for certain types and origins of logged data.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ossec. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ossec runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ossec.net/ · Vendor Advisory
- github.com/ossec/ossec-hids/issues/1814 · Third Party Advisory
- github.com/ossec/ossec-hids/issues/1821 · Third Party Advisory
- security.gentoo.org/glsa/202007-33 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-8445
- cve.org/CVERecord?id=CVE-2020-8445
More vulnerabilities in Ossec products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.