CVE-2018-12520 An issue was discovered in ntopng 3.4 before 3.4.180617. The PRNG involved in the generation of session IDs is not seeded at program startup. This results in deterministic session IDs being allocated....
HighCVSS 8.1
EPSS 10.2%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- Ubuntu
Description
An issue was discovered in ntopng 3.4 before 3.4.180617. The PRNG involved in the generation of session IDs is not seeded at program startup. This results in deterministic session IDs being allocated for active user sessions. An attacker with foreknowledge of the operating system and standard library in use by the host running the service and the username of the user whose session they're targeting can abuse the deterministic random number generation in order to hijack the user's session, thus escalating their access.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ntopng | >= 3.4, < 3.4.180617 | 3.4.180617 | Fixed |
| ubuntu/ntopng(Ubuntu Pro 16.04) | < 2.2+dfsg1-1ubuntu0.1~esm2; = 1.2.1+dfsg1-2ubuntu1; = 2.0+dfsg1-1; = 2.2+dfsg1-1 +1 more | 2.2+dfsg1-1ubuntu0.1~esm2 | Fixed |
| ubuntu/ntopng(Ubuntu Pro 18.04) | < 3.2+dfsg1-1ubuntu0.1~esm2; = 2.4+dfsg1-3; = 2.4+dfsg1-4; = 3.2+dfsg1-1 | 3.2+dfsg1-1ubuntu0.1~esm2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ntopng | >= 3.4, < 3.4.180617 | 3.4.180617 |
| ubuntu/ntopng(Ubuntu:Pro:16.04) | < 2.2+dfsg1-1ubuntu0.1~esm2 | 2.2+dfsg1-1ubuntu0.1~esm2 |
| ubuntu/ntopng(Ubuntu:Pro:16.04) | = 1.2.1+dfsg1-2ubuntu1 | No fix listed |
| ubuntu/ntopng(Ubuntu:Pro:16.04) | = 2.0+dfsg1-1 | No fix listed |
| ubuntu/ntopng(Ubuntu:Pro:16.04) | = 2.2+dfsg1-1 | No fix listed |
| ubuntu/ntopng(Ubuntu:Pro:16.04) | = 2.2+dfsg1-1build1 | No fix listed |
| ubuntu/ntopng(Ubuntu:Pro:18.04) | < 3.2+dfsg1-1ubuntu0.1~esm2 | 3.2+dfsg1-1ubuntu0.1~esm2 |
| ubuntu/ntopng(Ubuntu:Pro:18.04) | = 2.4+dfsg1-3 | No fix listed |
| ubuntu/ntopng(Ubuntu:Pro:18.04) | = 2.4+dfsg1-4 | No fix listed |
| ubuntu/ntopng(Ubuntu:Pro:18.04) | = 3.2+dfsg1-1 | No fix listed |
References
- 20180702 ntop-ng < 3.4.180617 - Authentication bypass / session hijacking exploit issue-tracking mailing-list third-party-advisory
- gist.github.com exploit issue-tracking
- github.com issue-tracking patch
- 44973 exploit third-party-advisory vdb-entry
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking