CVE-2023-31140

Public Exploit
OpenProject user sessions not terminated after activation of 2FA

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.

Category

4.8
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.28%
Vendor Advisory github.com
Affected: opf openproject
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-31140?
CVE-2023-31140 has been scored as a medium severity vulnerability.
How to fix CVE-2023-31140?
To fix CVE-2023-31140, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-31140 being actively exploited in the wild?
It is possible that CVE-2023-31140 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-31140?
CVE-2023-31140 affects opf openproject.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.