SV-250324r960762_rule
V-250324
SRG-APP-000015-AS-000010
IBMW-LS-000030
CAT II
10
To ensure security cookies use httpOnly, the ${server.config.dir)/server.xml must be configured as follows:
<featureManager><feature>appSecurity-2.0</feature></featureManager>
<webAppSecurity ssoCookieName="LtpaToken2" ssoRequiresSSL="true" httpOnlyCookies="true" logoutOnHttpSessionExpire="true"/>
<httpSession cookieName="JSESSIONID" cookieSecure="true" cookieHttpOnly="true" cookiePath="/"/>
As a user with local file access to ${server.config.dir}/server.xml, verify appSecurity feature is enabled.
<featureManager><feature>appSecurity-2.0</feature></featureManager>
Verify both web application LTPA and http session cookies are configured for httpOnly.
<webAppSecurity ssoCookieName="LtpaToken2" ssoRequiresSSL="true" httpOnlyCookies="true" logoutOnHttpSessionExpire="true"/>
<httpSession cookieName="JSESSIONID" cookieSecure="true" cookieHttpOnly="true" cookiePath="/"/>
If the appSecurity feature is not enabled or if the LPTA or Session cookie settings are not set for httpOnly, this is a finding.
V-250324
False
IBMW-LS-000030
As a user with local file access to ${server.config.dir}/server.xml, verify appSecurity feature is enabled.
<featureManager><feature>appSecurity-2.0</feature></featureManager>
Verify both web application LTPA and http session cookies are configured for httpOnly.
<webAppSecurity ssoCookieName="LtpaToken2" ssoRequiresSSL="true" httpOnlyCookies="true" logoutOnHttpSessionExpire="true"/>
<httpSession cookieName="JSESSIONID" cookieSecure="true" cookieHttpOnly="true" cookiePath="/"/>
If the appSecurity feature is not enabled or if the LPTA or Session cookie settings are not set for httpOnly, this is a finding.
M
5424