# CVE-2018-12520: ntopng: An issue was discovered in ntopng 3.4 before 3.4.180617

CVE-2018-12520 is fixed in 2 products on 1 platform, first by ntopng 3.2+dfsg1-1ubuntu0.1~esm2, released July 5, 2018. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2018-12520
- Priority: High
- CVSS: n/a (High)
- EPSS: 0.1054
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 5, 2018

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ntopng Ubuntu 18.04.6 LTS (bionic) | 3.2+dfsg1-1ubuntu0.1~esm2 | [ntopng 3.2+dfsg1-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ntopng-3.2-dfsg1-1ubuntu0.1-esm2.md) | Jul 5, 2018 |
| Linux | ntopng-data Ubuntu 18.04.6 LTS (bionic) | 3.2+dfsg1-1ubuntu0.1~esm2 | [ntopng-data 3.2+dfsg1-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ntopng-data-3.2-dfsg1-1ubuntu0.1-esm2.md) | Jul 5, 2018 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
