Missing Secure flag in "_rapgenius_session" session cookie

Disclosed by
divideBy0
  • Engagement Genius
  • Disclosed date 12 months ago
  • Priority P4 Bugcrowd's VRT priority rating
  • Status Resolved This vulnerability has been accepted and fixed
Summary by Genius

A framework migration briefly removed the setting of the Secure flag in the _rapgenius_session cookie, exposing this login credential over insecure HTTP requests. This made Genius users connecting over untrusted connections (e.g. public wifi) vulnerable to session takeover. In response, we rotated the session key and invalidated all potentially exposed sessions.

Summary by divideBy0

Session cookies or any cookies containing sensitive information should have the Secure flag set to ensure they are transmitted only over HTTPS. Many websites redirect HTTP requests to HTTPS for security, but if the Secure flag is missing, the cookie will be exposed during the initial HTTP request before the redirect occurs. This allows an attacker on the same network to intercept the cookie and potentially hijack the session.

Activity