Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in siwapp/siwapp


Reported on

Oct 11th 2021


Secure flag is not implemented on the application

Proof of Concept


The secure flag is an option that can be set by the application server when sending a new cookie to the user within an HTTP Response. The purpose of the secure flag is to prevent cookies from being observed by unauthorized parties due to the transmission of a the cookie in clear text. To accomplish this goal, browsers which support the secure flag will only send cookies with the secure flag when the request is going to a HTTPS page. Said in another way, the browser will not send a cookie with the secure flag set over an unencrypted HTTP request. By setting the secure flag, the browser will prevent the transmission of a cookie over an unencrypted channel.

We have contacted a member of the siwapp team and are waiting to hear back 2 years ago
siwapp/siwapp maintainer validated this vulnerability 2 years ago
aravindd007 has been awarded the disclosure bounty
The fix bounty is now up for grabs
siwapp/siwapp maintainer marked this as fixed with commit 924d16 2 years ago
The fix bounty has been dropped
production.rb#L1-L94 has been validated
to join this conversation