Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in slackero/phpwcms

Valid

Reported on

Aug 21st 2021


✍️ Description

The secure flag is not set for PHPSESSID session cookie in the application.

🕵️‍♂️ Proof of Concept

Cookie Without Secure Flag

💥 Impact

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.

Occurences

We have contacted a member of the slackero/phpwcms team and are waiting to hear back 4 months ago
Oliver Georgi validated this vulnerability 3 months ago
Melbin Mathew Antony has been awarded the disclosure bounty
The fix bounty is now up for grabs
Oliver Georgi confirmed that a fix has been merged on 3931a0 3 months ago
Oliver Georgi has been awarded the fix bounty