Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in azuracast/azuracast
Aug 26th 2021
The secure flag is not set for app_session cookie in the application.
🕵️♂️ Proof of Concept
PoC Image: https://i.ibb.co/v1y0Fdv/cookie-flag.png
If the secure flag is set on a cookie, then browsers will not submit the cookie in any requests that use an unencrypted HTTP connection, thereby preventing the cookie from being trivially intercepted by an attacker monitoring network traffic. If the secure flag is not set, then the cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site.