| Author |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Mon 28 Feb '11 15:21 Post subject: HTTP Headers |
|
|
A recent pen test has identified that http headers are enabled, how do I disable them?
HTTP header Version identification
Severity: Low
Description: This HTTP Header exposes product version information (Apache module, Java Servlet, OpenSSL). This behavior might help the attacker in further targeted attacks.
Solution: Change apache configuration to omit the version details.
Many thanks for any help. |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7443 Location: EU, Germany, Next to Hamburg
|
|
| Back to top |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Mon 28 Feb '11 19:43 Post subject: |
|
|
| OK how do I implement these? |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7443 Location: EU, Germany, Next to Hamburg
|
Posted: Tue 01 Mar '11 14:17 Post subject: |
|
|
| Look for it in your httpd.conf |
|
| Back to top |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Tue 01 Mar '11 14:27 Post subject: |
|
|
| Neither are in the http or ssl .conf files. |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7443 Location: EU, Germany, Next to Hamburg
|
Posted: Tue 01 Mar '11 18:54 Post subject: |
|
|
| Which OS do you run? |
|
| Back to top |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Wed 02 Mar '11 11:53 Post subject: |
|
|
| Windows Server 2003 |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7443 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 02 Mar '11 18:46 Post subject: |
|
|
Than just add that two lines into your httpd.conf
and restart apache.
| Code: |
ServerTokens Prod
ServerSignature Off
|
BUT, if you include httpd-default.conf than change it there! |
|
| Back to top |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Wed 02 Mar '11 19:19 Post subject: |
|
|
| Many thanks, should it be in any particular place? |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7443 Location: EU, Germany, Next to Hamburg
|
Posted: Thu 03 Mar '11 13:53 Post subject: |
|
|
| Anywhere |
|
| Back to top |
|