CVE-2018-12520 EXPLOIT
8.1
HIGH · CVSS 3.1 · EPSS 10.5% (pctl 96)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 8.1 (HIGH, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 10.54% — more likely to be exploited than 96% of all CVEs |
| Weakness | CWE-335 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2018-07-05 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| ntop | ntopng |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | ntop-ng < 3.4.180617 - Authentication Bypass | 2018-07-03 |
References
- http://seclists.org/fulldisclosure/2018/Jul/14
- https://gist.github.com/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f
- https://github.com/ntop/ntopng/commit/30610bda60cbfc058f90a1c0a17d0e8f4516221a
- https://www.exploit-db.com/exploits/44973/
- http://seclists.org/fulldisclosure/2018/Jul/14
- https://gist.github.com/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f
- https://github.com/ntop/ntopng/commit/30610bda60cbfc058f90a1c0a17d0e8f4516221a
- https://www.exploit-db.com/exploits/44973/
→ the Explorer · watch your stack · NVD