X-Content type header is missing vulnerability- how to test

 Vulnerability description

This HTTP header is typically used to control the MIME Type Sniffing function in web browsers. MIME Type Sniffing is a content evaluation function used by browsers when the content type is not specified. Basically, if the Content-Type header is blank or missing, the browser 'sniffs' the content and attempts to display the source in the most appropriate way.

Impact

If the Content-Type header is blank or missing, the browser 'sniffs' the content and attempts to display the source in the most appropriate way.

Attack simulation

Check response header information through owasp zap tool captured traffic.


Recommendation

Ensure each page is setting the specific and appropriate content-type value for the content being delivered.

Affected urls/Parameters


Comments

Popular posts from this blog

Set password by default when transfering data through xender hot spot network.

Browser cache weakness

Email Phishing