rdiffweb vulnerable to account access via session fixation
rdiffweb did not invalidate session cookies on logout, so the same pre-authentication cookie persisted across logins and password resets. An attacker who obtained a session cookie through another attack could use it to access accounts of users sharing that browser.
ikus060/rdiffweb
Originally disclosed on huntr
rdiffweb prior to 2.4.7 fails to invalidate session cookies on logout, leading to session fixation and allowing an attacker to access a users account. After logging in and logging out, the application continues to use the preauthentication cookies. The cookies remain the same after closing the browser and after password reset. The same cookies are reassigned for additional user logins which can lead to session fixation. An attacker can gain unauthorized access to the account of users who are using the same browser as long as a single session cookie persists on that browser once the attacker obtains a session cookie through another attack. This issue is patched in version 2.4.7. There are no known workarounds.
From the GitHub Advisory Database (GHSA-j3q4-gmj4-mj95, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application reused the same session identifier across logout, login and password reset instead of generating a fresh one.
Impact
An attacker who already holds a session cookie could gain unauthorised access to accounts of users on the same browser, as long as that cookie persists.
What the attacker needed
Attacker obtains a session cookie via another attack; victim uses the same browser
The fix
The issue was fixed in version 2.4.7 by invalidating session cookies on logout.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A session cookie is a small piece of data a website gives your browser so it remembers you are logged in. This software kept using the same cookie even after you logged out, so if someone else got hold of that cookie, they could later use it to get into your account. The fix makes the software throw away the old cookie when you log out.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.