CVE-2018-12520
A public proof of concept exists; no exploitation attested.
- Published2018-07-05
- Fixed in3.4.180617
- WeaknessCWE-335
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2018-07-03Exploit-DB entryExploit-DB
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.4 | ≥ 3.4, < 3.4.180617 | 3.4.180617 | NVD |
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
Fix
- Update Ntop ntopng to 3.4.180617
Advisories and patches
- github.comPatch
Detection
read 2026-12-04 04:56 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.18.1read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- NVDweakness (CWE)CWE-335read 2026-10-23
- FIRST EPSSEPSS score10.2 %read 2026-12-04
- Exploit-DBdetectionread 2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2018-4490same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-mx87-47cg-9wpgsame flawGitHub Advisory Database · CC-BY-4.0
- USN-4842-1advisory covering several CVEsUbuntu
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?
Is CVE-2018-12520 actively exploited?
What is the CVSS score for CVE-2018-12520?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2022-31129same product
- CVE-2017-5473same product
- CVE-2017-7458same product
- CVE-2026-82413same productntopng: authenticated (non-admin) OS command injection via the vulnerability-scan `scan_ports` parameter (`nmap` argument reaches `popen`)
- CVE-2026-97371same productntopng: Stack buffer overflow (write) in nDPI custom category detection allows remote code execution via crafted network packets
- CVE-2026-38968same product
- CVE-2026-86091same product
- CVE-2026-83621same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-mx87-47cg-9wpg
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served