[Bugfix] Secure system file paths while accessing to file logs through the web GUI
[Bugfix] Secure system file paths while accessing to file logs through the web GUI

This patch protects the accessing to system file paths while
asking for a certain file in the GET parameter of the logs panel.

This vulnerability would be only exploitable after being logged in
the web GUI.

Reported-by: Owais Mehtab <owais_mehtab@yahoo.com>
Signed-off-by: Laura Garcia Liebana <laura.garcia@zevenet.com>

	modified:   www/content2-3.cgi

sgoldthorpe/karmalb,sgoldthorpe/karmalb,sgoldthorpe/karmalb,sgoldthorpe/karmalb