Missing 'Content-Type' Header

low Web App Scanning Plugin ID 98648

Synopsis

Missing 'Content-Type' Header

Description

The Content-Type header allows clients to find an appropriate way to render data, omission of this header can facilitate MIME sniffing attacks.

Solution

Configure your web server to include an 'Content-Type' header with a correct Content-Type defined therein.

See Also

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type

https://www.iana.org/assignments/media-types/media-types.xhtml

https://www.w3.org/Protocols/rfc1341/4_Content-Type.html

Plugin Details

Severity: Low

ID: 98648

Type: remote

Published: 8/6/2019

Updated: 3/25/2024

Scan Template: api, basic, config_audit, full, overview, pci, quick, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 2.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Low

Base Score: 3.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Low

Base Score: 2.1

Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Reference Information