OpenProject Session Management Security Vulnerability aka CVE-2017-11667
The APIv3 session-based authentication did not check the configured session inactivity expiry, so an attacker who hijacked an open session could keep using it for API requests indefinitely as long as the victim did not refresh a page. This could lead to account compromise and unauthorised actions.
Published on seekurity.com
Today we will talk about a session management vulnerability affects OpenProject with all its version before 6.1.6 (old Stable) and 7.0.3 (latest stable) and may lead to accounts compromise and perform unauthorized actions via physical access to the logged in user session. but first lets know some general info.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The APIv3 session-based authentication scheme did not check the optional session TTL setting, unlike the regular Rails controllers.
Impact
An adversary who hijacked an open session could use it indefinitely for APIv3 requests, as long as the session owner did not invalidate it through a page-refreshing request.
What the attacker needed
Attacker can hijack an open session; victim does not refresh a page
The fix
The vulnerability was fixed in OpenProject 6.1.6 and 7.0.3 by making the API session authentication check the session expiry setting.
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 write-up has not been written yet. The Original tab links to the source.
When you log into a website, the site gives your browser a session cookie so it knows who you are. Many sites log you out after a period of inactivity for safety. Here, the part of the site that handles API requests (used by the work packages module) forgot to check that inactivity timer, so a stolen session could be used for much longer than intended.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.