CVE-2018-12520 Weak cryptography in n/a
Attackers can hijack user sessions and escalate privileges due to deterministic session ID generation in ntopng.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-12520?
CVE-2018-12520 is a high-severity vulnerability in n/a, published on 5 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-335
Which versions are affected by CVE-2018-12520?
It affects 1 product.
Products include Ntop Ntopng.
How do I fix CVE-2018-12520?
Upgrade to a fixed version.
Is CVE-2018-12520 being exploited?
There is no known exploitation of CVE-2018-12520 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-mx87-47cg-9wpg, UBUNTU-CVE-2018-12520, USN-4842-1.