ServerTokens en Apache 2.2.11 Ubuntu 9.04
Posted by K|Ke on June 1st, 2009
Cuando hacemos la instalación de Apache, el verbose nos muestra gran cantidad de información de nuestro sistema que en realidad no vale la pena exponer, puesto que de ello se aprovechan atacantes para estudiar vulnerabilidades. El verbose es aquella información que se nos muestra, a modo de ejemplo, al final de la página de error de una página no encontrada.
Bien, para modificar esta información editamos el archivo /etc/apache2/conf.d/security y buscamos la línea que se refiere a ServerTokens y le asignamos de acuerdo a nuestro gusto alguna de las siguientes alternativas (Prod, Major, Minor, Min, OS o Full):
ServerTokens Prod
Not Found
The requested URL /error.htm was not found on this server.
Apache Server at localhost Port 80
ServerTokens Major
Not Found
The requested URL /error.htm was not found on this server.
Apache/2 Server at localhost Port 80
ServerTokens Minor
Not Found
The requested URL /error.htm was not found on this server.
Apache/2.2 Server at localhost Port 80
ServerTokens Min
Not Found
The requested URL /error.htm was not found on this server.
Apache/2.2.11 Server at localhost Port 80
ServerTokens OS
Not Found
The requested URL /error.htm was not found on this server.
Apache/2.2.11 (Ubuntu) Server at localhost Port 80
ServerTokens Full
Not Found
The requested URL /error.htm was not found on this server.
Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch Server at localhost Port 80
Sin entradas relacionadas.










June 14th, 2009 a 11:23 pm
[...] ServerTokens en Apache 2.2.11 Ubuntu 9.04 [...]
August 23rd, 2010 a 7:42 am
HOla
muchas gracias por la info
a mi me funcionó perfecto
es más
en vez de mostrar eso de 404 no muestra nada
como si la web no existiera
eso es mejor asi no sabrán siquiera que uso apache
gracias de nuevo