What’s Vulnerable › Vulnerabilities
CVE-2023-31140: OpenProject user sessions not terminated after activation of 2FA
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-05-08 · updated 2026-06-17
- Weakness: CWE-613
Description
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 products
- opf openproject: from 7.4.0 before 12.5.4 — fixed in 12.5.4
How to fix
Upgrade to a fixed version: opf openproject 12.5.4. Check the vendor advisory for mitigations.
References
- https://community.openproject.org/wp/48035
- https://github.com/opf/openproject/pull/12508
- https://github.com/opf/openproject/security/advisories/GHSA-xfp9-qqfj-x28q
- https://www.openproject.org/docs/release-notes/12-5-4/
- https://community.openproject.org/wp/48035
- https://github.com/opf/openproject/pull/12508
- https://github.com/opf/openproject/security/advisories/GHSA-xfp9-qqfj-x28q
- https://www.openproject.org/docs/release-notes/12-5-4/
Get alerted when CVE-2023-31140 or the next vulnerability affects your stack