]> git.ipfire.org Git - people/mlorenz/ipfire-2.x.git/commitdiff
fix WebUI system information leak
authorPeter Müller <peter.mueller@link38.eu>
Sun, 3 Sep 2017 14:14:53 +0000 (16:14 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Sep 2017 11:25:23 +0000 (12:25 +0100)
Disable unauthenticated access to cgi-bin/credits.cgi. The page
leaks the currently installed version of IPFire and the hardware
architecture.

Both information might make a successful attack much easier.

This issue can be reproduced by accessing https://[IPFire-IP]:444/cgi-bin/credits.cgi
and accepting a SSL certificate warning (if any).

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/httpd/vhosts.d/ipfire-interface-ssl.conf
config/httpd/vhosts.d/ipfire-interface.conf

index daac75742dd095ea8e82003ff6d74099d5b98aca..4897d56d28641d7558ca6ab53b6a149cfe6eaed8 100644 (file)
             Satisfy Any
             Allow from All
         </Files>
-        <Files credits.cgi>
-            Satisfy Any
-            Allow from All
-        </Files>
         <Files dial.cgi>
             Require user admin
         </Files>
index 8783c632bb473a4d3c8d6a25dc62b5871edcec97..c7c05972ed8cbdcf3749b27699b42b6dbda29de0 100644 (file)
             Satisfy Any
             Allow from All
         </Files>
-        <Files credits.cgi>
-            Satisfy Any
-            Allow from All
-        </Files>
         <Files dial.cgi>
             Require user admin
         </Files>