Rule Definition
Security misconfiguration can happen at any level of an application stack, including the platform, web server, application server, database, framework, and custom code. Developers and system administrators need to work together to ensure that the entire stack is configured properly. Automated scanners are useful for detecting missing patches, misconfigurations, use of default accounts, unnecessary services, etc.
Therefore always have SSL connection for any application having cookies in order to avoid eavesdropping.
Remediation
Review the source code and update the value of the property.
Violation Code Sample
<system.Web>
<httpCookies requireSSL="false">
</system.Web>
//or
<system.Web>
<!--<httpCookies requireSSL="false">-->
</system.Web>
Fixed Code Sample
<system.Web>
<httpCookies requireSSL="true">
</system.Web>
Reference
https://cwe.mitre.org/data/definitions/614.html
OWASP Top 10 2004 -A10-Insecure Configuration Management
OWASP Top 10 2007 -A9-Insecure Communications
OWASP Top 10 2010 -A10-Insecure Configuration Management
OWASP Top 10 2013 -A6-Sensitive Data exposure
OWASP Top 10 2017 -A3-Sensitive Data exposure
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.