CVEvulnerability
CVE-2020-8445
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2020-01-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-20
Description
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.
Affected configurations
• ossec ossec (>= 2.7 <= 3.5.0)
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/ossec/ossec-hids/issues/1814 Third Party Advisory
- https://github.com/ossec/ossec-hids/issues/1821 Third Party Advisory
- https://security.gentoo.org/glsa/202007-33 Third Party Advisory
- https://www.ossec.net/ Vendor Advisory
- https://github.com/ossec/ossec-hids/issues/1814 Third Party Advisory
- https://github.com/ossec/ossec-hids/issues/1821 Third Party Advisory
- https://security.gentoo.org/glsa/202007-33 Third Party Advisory
- https://www.ossec.net/ Vendor Advisory