CVE-2020-8445

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-8445
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8445.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-8445
Published
2020-01-30T01:15:10Z
Modified
2025-01-14T08:49:07.443863Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ossec/ossec-hids

Affected ranges

Type
GIT
Repo
https://github.com/ossec/ossec-hids
Events

Affected versions

2.*

2.8.1
2.8.2
2.9.0-beta01
2.9.0-beta02
2.9.0-beta03
2.9.0-beta04

3.*

3.0.0
3.0beta01
3.0beta02
3.0beta03
3.1.0
3.2.0
3.3.0
3.4.0
3.5.0

Other

snapshot/20150112

v2.*

v2.7
v2.7.1
v2.8.0
v2.9.0beta05