Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A log injection vulnerability arises when a log entry contains unsanitized user input. A malicious user can insert fake log data and consequently deceive system administrators as to the system's behavior [OWASP 2008]. For example, an attacker might split a legitimate log entry into two log entries by entering a carriage return and line feed (CRLF) sequence to mislead an auditor. Log injection attacks can be prevented by sanitizing and validating any untrusted input sent to a log.

...

ToolVersionCheckerDescription
Fortify Log_ForgingImplemented
Klocwork SVLOG_FORGINGImplemented

Related Guidelines

ISO/IEC TR 24772:2013

Injection [RST]

MITRE CWE

CWE-144, Improper neutralization of line delimiters
CWE-150, Improper neutralization of escape, meta, or control sequences

MITRE CAPEC

CAPEC-93: Log Injection-Tampering-Forging

Bibliography

 

...

      Rule 00: Input Validation and Data Sanitization (IDS)Image Added