Rule Definition
The specified path for cookie should not be broad than necessary.
Remediation
In order to increase security, the validity of the cookie can be limited to a more specific application path in the 4th parameter.
Reference
https://cwe.mitre.org/data/definitions/287.html
Related Technologies
Technical Criterion
Secure Coding - Weak Security Features
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.