1.31 VCLU-80-000151

Information

The vCenter Lookup service must disable "ALLOW_BACKSLASH".

GROUP ID: V-259067RULE ID: SV-259067r961863

When Tomcat is installed behind a proxy configured to only allow access to certain contexts (web applications), an HTTP request containing "/../" may allow attackers to work around the proxy restrictions using directory traversal attack methods. If "allow_backslash" is "true", the "" character will be permitted as a path delimiter. The default value for the setting is "false", but Tomcat must always be configured as if no proxy restricting context access was used, and "allow_backslash" should be set to "false" to prevent directory-traversal-style attacks. This setting can create operability issues with noncompliant clients.

Solution

Navigate to and open:

/usr/lib/vmware-lookupsvc/conf/catalina.properties

Update or remove the following line:

org.apache.catalina.connector.ALLOW_BACKSLASH=false

Restart the service with the following command:

vmon-cli --restart lookupsvc

See Also

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