CVE-2018-12520 in the critical feed json
An issue was discovered in ntopng 3.4 before 3.4.180617.
published 2018-07-05 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-4490
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.5%
- EPSS 10.5% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- ntop ntopng 3.4.180617
- ntopng Ubuntu Pro 16.04 LTS 2.2+dfsg1-1ubuntu0.1~esm2
- ntopng Ubuntu Pro 18.04 LTS 3.2+dfsg1-1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2018-12520
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Timeline
- First public exploit (EDB-44973)
- Published
Exploit prediction
10.54% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-44973 ntop-ng < 3.4.180617 - Authentication Bypass webapps, 2018-07-03
- seclists.org http://seclists.org/fulldisclosure/2018/Jul/14 referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
References
-
github.com
/ntop/ntopng/commit/30610bda60cbfc058f90a1c0a17d0e8f4516221a
patch
-
exploit-db.com
/exploits/44973/
exploit, third-party-advisory, vdb-entry
-
seclists.org
/fulldisclosure/2018/Jul/14
mailing-list, exploit, third-party-advisory
-
gist.github.com
/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f
exploit
Sources
- CVE List CVE-2018-12520
- NVD CVE-2018-12520
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.