4.4.18 Ensure 'disallowServeServletsByClassName' is 'disabled'

Information

Servlets can be served by class name or via a normal URL alias.

Serving servlets by class name allows anyone that knows the class name of any servlet to invoke it directly which leads to a security exposure from possible misuse of the servlet.

Solution

Add the disallowServeServletsByClassName attribute on the webContainer element in ${server.config.dir}/configDropins/overrides/*.xml and set it to true

<webContainer disallowServeServletsByClassName="true"/>

If serving servlets by class name is set at the application level, update the webApplication elements or ibm-web-ext files.

See Also

https://workbench.cisecurity.org/benchmarks/7724

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3

Plugin: Unix

Control ID: 442706a115fdd5fc4266f8ffece5b27dc415a9aa3015e3e47e3fb5ed377623f7