Skip to content

How can I remove "aswelb/2.0" in the HTTP Response Header?

2

Enter image description here

How can I remove that "awselb/2.0" in the HTTP Response Server Header?

asked 3 years ago24K views
4 Answers
1

Note AWS team this is being reported by Penetration Testing firms as an information disclosure vulnerability. Request that action is taken to address..

answered 2 years ago
  • Same on our side. AWS team please prioritize it.

  • What is the possible vulnerability and its exploitations if AWS manages the elb and keeps it up-to-date with latest patches. Is there any resource to know the successful/unsuccessful attacks due to this?

0

Please use Amazon CloudFront's Response Headers Policies. See my response to a similar question on re:Post, How to prevent "awselb/2.0" server information exposure in HTTP response header.

Please note that AWS WAF is inspecting the incoming HTTP traffic (requests, not responses).

AWS
answered 2 years ago
-1

Unfortunately, there is no option to remove the header at this time. If you deploy 3rd Party Solution like F5 WAF, you can cloak server information.

AWS
answered 3 years ago
  • What is the possibility of using AWS WAF to hide the server information sent in the HTTP response? If yes, is there a resource showcasing how it can be performed?

-1

It's not customizable at the moment. A workaround would be to front the ALB with CloudFront and use edge functions to override the Server header with none, as briefly illustrated here: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html#lambda-examples-overriding-response-header

AWS
answered 3 years ago
  • What is the possibility of using AWS WAF to hide the server information sent in the HTTP response? If yes, is there a resource showcasing how it can be performed?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.