Ubuntu Sur

“Las personas nacen libres e iguales en dignidad y derechos”

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
  • Share/Bookmark

Sin entradas relacionadas.

2 Respuestas a “ServerTokens en Apache 2.2.11 Ubuntu 9.04”

  1. Pollux Blog » ServerTokens en Apache 2.2.11 Ubuntu 9.04 Dice:

    [...] ServerTokens en Apache 2.2.11 Ubuntu 9.04 [...]

  2. Orlando Dice:

    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

Deje una respuesta

XHTML: Usted puede usar estos tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>