Skip to main content
Public proof of conceptFix available

CVE-2018-12520

A public proof of concept exists; no exploitation attested.

  • Published2018-07-05
  • Fixed in3.4.180617
  • WeaknessCWE-335

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2018-07-03Exploit-DB entryExploit-DB

Versions per branch

NVD
Ntop ntopng
BranchAffectedFixed in
3.4≥ 3.4, < 3.4.1806173.4.180617

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ntopngUbuntu:Pro:18.04:LTSall versions · fixed in 3.2+dfsg1-1ubuntu0.1~esm2
  • ntopngUbuntu:Pro:16.04:LTSall versions · fixed in 2.2+dfsg1-1ubuntu0.1~esm2

Full record on NVD

Fix

  1. Update Ntop ntopng to 3.4.180617

Advisories and patches

Detection

read 2026-12-04 04:56 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-44973
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2018-07-05
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-mx87-47cg-9wpg

Frequently asked questions

What is CVE-2018-12520?

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.

Is CVE-2018-12520 actively exploited?

Active exploitation of CVE-2018-12520 has not been confirmed. Its EPSS score was 10.2% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-12520?

CVE-2018-12520 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running ntopng? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record