Rapid7 Vulnerability & Exploit Database

MongoDB: Insufficient Session Expiration (CVE-2019-2386)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

MongoDB: Insufficient Session Expiration (CVE-2019-2386)

Severity
6
CVSS
(AV:N/AC:M/Au:S/C:P/I:P/A:P)
Published
08/06/2019
Created
11/13/2019
Added
10/31/2019
Modified
01/25/2024

Description

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's session to persist and become conflated with new accounts, if those accounts reuse the names of deleted ones. This issue affects MongoDB Server v4.0 versions prior to 4.0.9; MongoDB Server v3.6 versions prior to 3.6.13 and MongoDB Server v3.4 versions prior to 3.4.22. Workaround: After deleting one or more users, restart any nodes which may have had active user authorization sessions. Refrain from creating user accounts with the same name as previously deleted accounts.

Solution(s)

  • mongodb-upgrade-3_4_22
  • mongodb-upgrade-3_6_13
  • mongodb-upgrade-4_0_9

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;