CVE-2018-12520

Summary

CVECVE-2018-12520
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-07-05 20:29:00 UTC
Updated2019-10-03 00:03:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-335

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ntop Ntopng All All All All
Application Ntop Ntopng All All All All

References

ReferenceSourceLinkTags
Added code to randomize values returned by rand() · ntop/ntopng@30610bd · GitHub CONFIRM github.com Patch, Third Party Advisory
Full Disclosure: ntop-ng < 3.4.180617 - Authentication bypass / session hijacking FULLDISC seclists.org Mailing List, Third Party Advisory
ntop-ng < 3.4.180617 - Authentication Bypass - Lua webapps Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
ntopng_cve_poc.py · GitHub MISC gist.github.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report