Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in thorsten/phpmyfaq

Valid

Reported on

Oct 16th 2021


✍️ Description

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

Proof of Concept

Check this for POC: Image

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.

We have contacted a member of the thorsten/phpmyfaq team and are waiting to hear back a month ago
Thorsten Rinne validated this vulnerability a month ago
0x7zed has been awarded the disclosure bounty
The fix bounty is now up for grabs
Thorsten Rinne
a month ago

Maintainer


This is true if you run phpMyFAQ over HTTP, it's flagged as secure if you run phpMyFAQ via HTTPS.

Thorsten Rinne
a month ago

Maintainer


@0x7zed what should we do here?

Thorsten Rinne submitted a
a month ago
Thorsten Rinne confirmed that a fix has been merged on 2e5dca a month ago
The fix bounty has been dropped