CVE-2018-12520
Published: 5 July 2018
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.
From the Ubuntu Security Team
It was discovered that ntopng did not properly seed its random number generator, leading to predictable session tokens. An attacker could use this vulnerability to hijack a user's session.
Priority
Status
Package | Release | Status |
---|---|---|
ntopng Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(3.2+dfsg1-1ubuntu0.1~esm2)
Available with Ubuntu Pro |
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(3.8+dfsg1-2.1build1)
|
|
eoan |
Not vulnerable
(3.8+dfsg1-2.1build1)
|
|
focal |
Not vulnerable
(3.8+dfsg1-2.1build1)
|
|
groovy |
Not vulnerable
(3.8+dfsg1-2.1build1)
|
|
hirsute |
Not vulnerable
(3.8+dfsg1-2.1build1)
|
|
impish |
Does not exist
|
|
jammy |
Not vulnerable
(5.2.1+dfsg1-1)
|
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
lunar |
Not vulnerable
(5.2.1+dfsg1-1)
|
|
mantic |
Not vulnerable
(5.2.1+dfsg1-1)
|
|
noble |
Not vulnerable
(5.2.1+dfsg1-1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(3.8+dfsg1-1)
|
|
xenial |
Released
(2.2+dfsg1-1ubuntu0.1~esm2)
Available with Ubuntu Pro |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 8.1 |
Attack vector | Network |
Attack complexity | High |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
- http://seclists.org/fulldisclosure/2018/Jul/14
- https://gist.github.com/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f
- https://github.com/ntop/ntopng/commit/30610bda60cbfc058f90a1c0a17d0e8f4516221a
- https://ubuntu.com/security/notices/USN-4842-1
- https://www.cve.org/CVERecord?id=CVE-2018-12520
- NVD
- Launchpad
- Debian