If the BIG-IP appliance is being used to authenticate users for web applications, the HTTPOnly flag must be set.
An XCCDF Rule
Description
<VulnDiscussion>The HttpOnly attribute directs browsers to use cookies by way of the HTTP and HTTPS protocols only, ensuring that the cookie is not available by other means, such as JavaScript function calls. This setting mitigates the risk of attack utilizing Cross Site Scripting (XSS). This vulnerability allows an attacker to impersonate any authenticated user that has visited a page with the attack deployed, allowing them to potentially allowing the user to raise their permissions level. The vulnerability can be mitigated by setting HTTPOnly on the appropriate Access Policy.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-230217r879806_rule
- Severity
- Low
- References
- Updated
Remediation - Manual Procedure
Configure a policy in the BIG-IP ASM module to enable the HTTPonly flag.
Log in to the Configuration utility.
Navigate to Security >> Options >> Application Security >> Advanced Configuration >> System Variables