CVE-2019-2386 Authorization session conflation
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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.
Upgrade path
6 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mongodb(Ubuntu Pro 14.04) | = 1:2.4.6-0ubuntu5; = 1:2.4.6-0ubuntu6; = 1:2.4.8-1ubuntu1; = 1:2.4.8-2 +5 more | No fix listed | No fix yet |
| ubuntu/mongodb(Ubuntu Pro 16.04) | = 1:2.6.10-0ubuntu1; = 1:2.6.10-0ubuntu1+esm2; All versions | No fix listed | No fix yet |
| MongoDB Server | >= 3.4, < 3.4.22; >= 3.6, < 3.6.13; >= 4.0, < 4.0.9 | 3.4.22, 3.6.13, 4.0.9 | Fixed |
| mongodb/mongodb | >= 3.4.0, < 3.4.22; >= 3.6.0, < 3.6.13; >= 4.0.0, < 4.0.9 | 3.4.22, 3.6.13, 4.0.9 | Fixed |
| ubuntu/mongodb(Ubuntu 18.04) | < 1:3.6.3-0ubuntu1.3; = 1:3.4.7-1; = 1:3.4.7-1ubuntu1; = 1:3.4.7-1ubuntu2 +5 more | 1:3.6.3-0ubuntu1.3 | Fixed |
| ubuntu/mongodb(Ubuntu 20.04) | < 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2; = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2; = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5 | 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb/mongodb | >= 3.4.0, < 3.4.22 | 3.4.22 |
| mongodb/mongodb | >= 3.6.0, < 3.6.13 | 3.6.13 |
| mongodb/mongodb | >= 4.0.0, < 4.0.9 | 4.0.9 |
| MongoDB Server | >= 4.0, < 4.0.9 | 4.0.9 |
| MongoDB Server | >= 3.6, < 3.6.13 | 3.6.13 |
| MongoDB Server | >= 3.4, < 3.4.22 | 3.4.22 |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | All versions | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.6-0ubuntu5 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.6-0ubuntu6 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.8-1ubuntu1 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.8-2 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.9-1 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.9-1ubuntu1 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.9-1ubuntu2 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:14.04) | = 1:2.4.9-1ubuntu2+esm2 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:16.04) | = 1:2.6.10-0ubuntu1 | No fix listed |
| ubuntu/mongodb(Ubuntu:Pro:16.04) | = 1:2.6.10-0ubuntu1+esm2 | No fix listed |
| ubuntu/mongodb(Ubuntu:18.04) | < 1:3.6.3-0ubuntu1.3 | 1:3.6.3-0ubuntu1.3 |
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.4.7-1 | No fix listed |
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.4.7-1ubuntu1 | No fix listed |
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.4.7-1ubuntu2 | No fix listed |
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.4.7-1ubuntu4 | No fix listed |
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.4.14-3ubuntu1 | No fix listed |
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.4.14-3ubuntu2 | No fix listed |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.6.3-0ubuntu1 | No fix listed |
| ubuntu/mongodb(Ubuntu:18.04) | = 1:3.6.3-0ubuntu1.1 | No fix listed |
| ubuntu/mongodb(Ubuntu:20.04) | < 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2 | 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2 |
| ubuntu/mongodb(Ubuntu:20.04) | = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2 | No fix listed |
| ubuntu/mongodb(Ubuntu:20.04) | = 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5 | No fix listed |
References
- jira.mongodb.org issue-tracking vendor-advisory
- www.talosintelligence.com exploit issue-tracking third-party-advisory
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking