News for hackers. Stuff that matters.
Re:If you use GNU grep on text files, use the -a (--text) op... by arendtio on Tuesday April 21, 2020 @03:29PM (#22938483)
https://cwe.mitre.org/data/definitions/117.html

'CWE-117: Improper Output Neutralization for Logs'

That is something probably often forgotten when simply dumping some requests into a log, but at least it should be obvious that the source of the content is untrusted. On the other hand, a log file is a file on your server, so you would probably think of it as nothing dangerous, as everybody has cared about CWE-117, right? ;-)

There are no comments on this comment yet.