The web server must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled.

From Web Server Security Requirements Guide

Part of SRG-APP-000141-WSR-000081

Associated with: CCI-000381

SV-54276r3_rule The web server must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled.

Vulnerability discussion

Controlling what a user of a hosted application can access is part of the security posture of the web server. Any time a user can access more functionality than is needed for the operation of the hosted application poses a security issue. A user with too much access can view information that is not needed for the user's job role, or the user could use the function in an unintentional manner.A MIME tells the web server what type of program various file types and extensions are and what external utilities or programs are needed to execute the file type.A shell is a program that serves as the basic interface between the user and the operating system, so hosted application users must not have access to these programs. Shell programs may execute shell escapes and can then perform unauthorized activities that could damage the security posture of the web server.

Check content

Review the web server documentation and deployment configuration to determine if the OS shell is accessible by any MIME types that are enabled. If a user of the web server can invoke OS shell programs, this is a finding.

Fix text

Configure the web server to disable all MIME types that invoke OS shell programs.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer