Products

Solutions

Resources

Search for API Security Tests

/

/

Unwanted Response Headers

Unwanted Response Headers

The response contains headers which might leak sensitive information.

Misconfigured HTTP Headers (MHH)

"Some headers contain data pertaining to server information like server version or details about hosting and deployment. This data makes your site easier to attack. Some other headers can also be used to override the default behaviour of the application and give debug information or skip authentication."

"Some headers contain data pertaining to server information like server version or details about hosting and deployment. This data makes your site easier to attack. Some other headers can also be used to override the default behaviour of the application and give debug information or skip authentication."

Impact of the vulnerability

Impact of the vulnerability

This information can be used to facilitate more sophisticated attacks on your application.

This information can be used to facilitate more sophisticated attacks on your application.

How this template works

APIs Selection

The template includes API selection filters that specify the desired response code range (between 200 and 300) and extract the URL from the response using the "urlVar" variable.

Execute request

The template uses a single request to modify the URL by replacing a placeholder with the extracted URL value. This allows for dynamic URL modification during the execution of the request.

Validation

The template includes validation rules to check if the response code falls within the desired range and if any of the specified unwanted response headers are present. The validation checks for the presence of specific header keys using a "contains_either" condition.

Frequently asked questions

What is the purpose of the "Unwanted Response Headers" test in this array

What is the impact of having unwanted response headers in the application

What category and subcategory does the "Unwanted Response Headers" test belong to

What are some examples of unwanted response headers that the test checks for

What are some references provided for further information on unwanted response headers

How does the "Unwanted Response Headers" test modify the request URL

Loved by security teams!

Loved by security teams!

Product Hunt Badge

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"The text editor in Akto is absolutely remarkable. Its user-friendly YAML format strikes the perfect balance between simplicity and power. With intuitive features like 'API selection filter', 'Execute', Validate' creating test rules becomes incredibly easy. Akto's test editor is a game-changer, enabling seamless creation of highly personalized and effective tests that could meet the needs of any modern day organization. "

Rippling Company logo

Security team,

Rippling

Suggest API security tests

Suggest API security tests

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.