CVE-2019-2386
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| MongoDB Inc. | MongoDB Server | 4.0 < 4.0.9 | affected |
| MongoDB Inc. | MongoDB Server | 3.6 < 3.6.13 | affected |
| MongoDB Inc. | MongoDB Server | 3.4 < 3.4.22 | affected |
Weaknesses
- CWE-285: CWE-285 Improper Authorization
Workarounds
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.
ADP Enrichment
CVE Program Container
Additional References
- https://jira.mongodb.org/browse/SERVER-38984
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0829
References
- https://jira.mongodb.org/browse/SERVER-38984
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0829
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.