Apache security followup
If you don't want Apache telling the world about your config on its default error pages (you don't use the default error pages right?), you can add these two lines to your config
ServerTokens ProductOnly
ServerSignature Off
If you don't want Apache telling the world about your config on its default error pages (you don't use the default error pages right?), you can add these two lines to your config
We have been doing a bit on an audit of things over the last few days and we came across something that shocked us. Somewhere between CF and Apache, our ColdFusion administrator was accessible on our servers.
Now we all know that you should never have your CF admin pages visible to the general internet, you should always have them tucked away. We did! Or should I say, we thought we did. Turns out that you could still browse to the right URL and CF would render the admin for you.
There were no mappings or aliases, Apache would just see the .cfm pass the request to CF and it would just render it. Bit of a pain but nothing a quick change to the apache config wouldn't fix.
Now, our apache server returns a nice big fat...
now doesn't that look better?Forbidden
You don't have permission to access /cfide/administrator on this server.