Session hijacking via time-seeded session identifiers
Published Jul 2, 2026 · Updated Jul 2, 2026
Predictable session identifiers in ntopng 6.6 and earlier allow remote attackers to hijack authenticated web sessions. During live web login, generate_session_id in src/HTTPserver.cpp seeds rand() with the current time and hashes its output with the user and group, making cookies deterministic or colliding. Exploitation requires timing a fresh authenticated login closely enough to predict or collide with its new cookie, after which the attacker can assume that session's privileges.
Summary
What happened
Predictable session identifiers in ntopng 6.6 and earlier allow remote attackers to hijack authenticated web sessions. During live web login, generate_session_id in src/HTTPserver.cpp seeds rand() with the current time and hashes its output with the user and group, making cookies deterministic or colliding. Exploitation requires timing a fresh authenticated login closely enough to predict or collide with its new cookie, after which the attacker can assume that session's privileges.
The record
- CVE
- CVE-2026-38968
- Published
- Jul 2, 2026
- Updated
- Jul 2, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-341, T1539
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 2, 2026CVE publishedPublication date reported by the CVE source.
- Jul 2, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo