logo

Database

Http X Content Type Not Nosniff

Description

Detects missing or misconfigured X-Content-Type-Options HTTP security header. This header prevents browsers from MIME-sniffing responses away from their declared content types, which helps prevent malicious file uploads and drive-by download attacks.

Detection Strategy

    Examines HTTP response headers for the X-Content-Type-Options header

    Reports a vulnerability if the X-Content-Type-Options header is missing

    Reports a vulnerability if the header value is not exactly 'nosniff'