CVE-2023-31140: OpenProject user sessions not terminated after activation of 2FA
OpenProject is open source project management software. Starting with version 7.4.0 and prior to version 12.5.4, when a user registers and confirms their first two-factor authentication (2FA) device for an account, existing logged in sessions for that user account are not terminated. Likewise, if an administrators creates a mobile phone 2FA device on behalf of a user, their existing sessions are not terminated. The issue has been resolved in OpenProject version 12.5.4 by actively terminating sessions of user accounts having registered and confirmed a 2FA device. As a workaround, users who register the first 2FA device on their account can manually log out to terminate all other active sessions. This is the default behavior of OpenProject but might be disabled through a configuration option. Double check that this option is not overridden if one plans to employ the workaround.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2023-31140?
CVE-2023-31140 is rated as a moderate severity vulnerability due to the risk of session hijacking.
How do I fix CVE-2023-31140?
To fix CVE-2023-31140, upgrade OpenProject to version 12.5.4 or later.
What is the impact of CVE-2023-31140?
CVE-2023-31140 allows attackers to exploit unprotected sessions when a user registers their first two-factor authentication device.
Is CVE-2023-31140 present in all versions of OpenProject?
No, CVE-2023-31140 affects OpenProject versions from 7.4.0 up to but not including 12.5.4.
What action should I take if I'm using affected versions of OpenProject?
If using affected versions of OpenProject, it is crucial to update to version 12.5.4 or later immediately.