Colm O hEigeartaigh created KARAF-6353:
------------------------------------------
Summary: Sanitize ShutdownSocketThread command log
Key: KARAF-6353
URL: https://issues.apache.org/jira/browse/KARAF-6353
Project: Karaf
Issue Type: Improvement
Reporter: Colm O hEigeartaigh
Fix For: 4.3.0, 4.2.7
In ShutdownSocketThread it logs an unsucessful command with:
LOG.log(Level.WARNING, "Karaf shutdown socket: Invalid command '" +
command.toString() + "' received");
Here we should make sure to sanitize the command.toString() output, as
otherwise it gives an attacker the opportunity to pollute the logs with CRLF
characters.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)