Skip to content
Fencer Vulns
high 8.1

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

  1. First public exploit (EDB-44973)
  2. 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

Sources

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.