CVE-2020-8445: Input Validation

Published Jan 30, 2020
·
Updated

In OSSEC-HIDS 2.7 through 3.5.0, the OSCleanMSG 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 Software

1 affected component
OSSEC OSSEC>=2.7<=3.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Mitigate risk by preventing untrusted log data (from origins affected by this issue) from being viewed in vulnerable terminal emulators; restrict/validate sources of log messages that end up in terminal displays or log viewers.

Event History

Jan 30, 2020
CVE Published
via MITRE·12:33 AM
Data Sourced
via MITRE·12:33 AM
Description
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-8445?

CVE-2020-8445 has a medium severity rating due to its potential to log unencoded terminal control characters and newlines.

2

How do I fix CVE-2020-8445?

To fix CVE-2020-8445, upgrade to a version of OSSEC-HIDS later than 3.5.0 which addresses the log message processing vulnerability.

3

What are the potential impacts of CVE-2020-8445?

The impacts of CVE-2020-8445 include the risk of malformed log entries that can disrupt log analysis and may obscure malicious activity.

4

Which versions of OSSEC are affected by CVE-2020-8445?

CVE-2020-8445 affects OSSEC-HIDS versions from 2.7 to 3.5.0.

5

Is CVE-2020-8445 exploitable in a default installation?

Yes, CVE-2020-8445 can be exploited in a default installation if log messages contain unencoded terminal control characters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203