Improper Input Validation Affecting ossec/ossec-hids package, versions [2.7,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.99% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OSSECOSSECHIDS-2366174
  • published26 Jan 2022
  • disclosed30 Jan 2020
  • creditUnknown

Introduced: 30 Jan 2020

CVE-2020-8445  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for ossec/ossec-hids.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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.

CVSS Base Scores

version 3.1