← Vulnerability feed

Vulnerability record · CVE-2018-12520 · published 5 July 2018

CVE-2018-12520: Ntopng vulnerability

Ntop · Ntopng

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.

8.1 CVSS 3.1 High EPSS 11% · top 4.4% CWE-335 · CWE-335
8.1CVSS 3.1 base score, v2 6.8
11%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 6 tagged exploit
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-12520 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-38968Ntopng vulnerabilityntopng through 6.6 is vulnerable to Predictable Session Identifier which can lead to Session Hijacking. HTTP session identifiers in src/HTTPserver.cp…EPSS 0.55%8.8CVE-2017-5473Ntopng cross-site request forgery vulnerabilityCross-site request forgery (CSRF) vulnerability in ntopng through 2.4 allows remote attackers to hijack the authentication of arbitrary users, as dem…EPSS 3.6%7.5CVE-2017-7458Ntopng null pointer dereference vulnerabilityThe NetworkInterface::getHost function in NetworkInterface.cpp in ntopng before 3.0 allows remote attackers to cause a denial of service (NULL pointe…EPSS 1.9%7.5CVE-2017-7459Ntopng injection vulnerabilityntopng before 3.0 allows HTTP Response Splitting.EPSS 0.87%6.1CVE-2017-7416Ntopng cross-site scripting vulnerabilityntopng before 3.0 allows XSS because GET and POST parameters are improperly validated.EPSS 0.63%6.0CVE-2015-8368Ntopng vulnerabilityntopng (aka ntop) before 2.2 allows remote authenticated users to change the login context and gain privileges via the user cookie and username param…EPSS 5.1%4.3CVE-2014-5464Ntopng cross-site scripting vulnerabilityCross-site scripting (XSS) vulnerability in the nDPI traffic classification library in ntopng (aka ntop) before 1.2.1 allows remote attackers to inje…EPSS 4.5%4.3CVE-2014-4329Ntopng cross-site scripting vulnerabilityCross-site scripting (XSS) vulnerability in lua/host_details.lua in ntopng 1.1 allows remote attackers to inject arbitrary web script or HTML via the…EPSS 1.2%

Source: NIST National Vulnerability Database (record CVE-2018-12520), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.