CVE-2018-12520

NameCVE-2018-12520
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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs903154

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ntopng (PTS)jessie1.2.1+dfsg1-1.1vulnerable
stretch2.4+dfsg1-3vulnerable
buster2.4+dfsg1-4vulnerable
sid3.2+dfsg1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ntopngsource(unstable)(unfixed)medium903154

Notes

[stretch] - ntopng <no-dsa> (Minor issue)
[jessie] - ntopng <no-dsa> (Minor issue)
http://seclists.org/fulldisclosure/2018/Jul/14
https://gist.github.com/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f
https://github.com/ntop/ntopng/commit/30610bda60cbfc058f90a1c0a17d0e8f4516221a

Search for package or bug name: Reporting problems