High severity · published Jul 5, 2018
CVE-2018-12520
An issue was discovered in ntopng 3.4 before 3.4.180617
8.1
CVSS
10.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)10.5% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NT
Ntopng · Ntop
3.4 before 3.4.180617 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-12520
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-12520
Exploit
http://seclists.org/fulldisclosure/2018/Jul/14
Exploit
https://gist.github.com/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f
Patch
https://github.com/ntop/ntopng/commit/30610bda60cbfc058f90a1c0a17d0e8f4516221a
Exploit
https://www.exploit-db.com/exploits/44973/
More from Ntopng
9.8
CVE-2026-38968
ntopng through 6.6 is vulnerable to Predictable Session Identifier which can lead to Session Hijacking
8.8
CVE-2026-84990
ntopng: Missing Authorization on System Configuration Backup Download and Listing
8.8
CVE-2026-82412
ntopng: Remote Code Execution via OS Command Injection in Vulnerability-Scan REST API
8.8
CVE-2017-5473
Cross-site request forgery (CSRF) vulnerability in ntopng through 2.4 allows remote attackers to hijack the authentication of arbitrary users, as demonstrated by…
8.1
CVE-2026-83621
ntopng: Missing Authorization Check in REST API Allows Non-Admin Users to Tamper Threat Intelligence Blacklist URLs
