CVE-2026-38968

Published Jul 2, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
ntopng through 6.6 is vulnerable to Predictable Session Identifier which can lead to Session Hijacking. HTTP session identifiers in src/HTTPserver.cpp use weak time-seeded pseudo-randomness during session creation. As a result, fresh authenticated logins can receive deterministic or colliding session cookies under attacker-controlled timing.

Analysis

AI-generated

Technical impact

ntopng versions up to 6.6 create HTTP session identifiers using a time‑seeded pseudo‑random number generator. The exposed web interface issues session cookies when a user logs in; because the seed is predictable, an attacker can cause two sessions to receive the same or an easily predicted cookie value. This deterministic or colliding session ID allows the attacker to hijack a legitimate authenticated session and impersonate a user. The weakness is defined as a Predictable Session Identifier (CWE-341).

Affected Systems

Any host running ntopng through 6.6 with the web interface exposed is affected. The vulnerability exists in all releases up to and including 6.6; it has been fixed in later versions and by applying the commits referenced in the advisory. Hosts that restrict web access or run newer versions are not susceptible.

Risk and Exploitability

The CVSS score of 9.8 reflects a high severity impact. The EPSS score is below 1 %, indicating a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the potential for session hijacking means that once an attacker obtains a predictable session cookie, they can gain full privileges. The likely attack vector is remote, via the web interface, where the attacker controls the timing of logins to generate a desired session ID.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ntopng to a patched version (≥6.7) or apply the commits referenced in the advisory.
  • Enable HTTPS and set session cookies to Secure and HttpOnly to prevent interception and reuse.
  • Implement rate limiting or CAPTCHAs on login attempts to make timing‑based prediction of session IDs more difficult.

Generated by OpenCVE AI on July 31, 2026 at 15:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Predictable HTTP Session ID Leading to Session Hijacking in ntopng 6.6
Type Values Removed Values Added
Title Predictable HTTP Session ID Leading to Session Hijacking in ntopng 6.6
Type Values Removed Values Added
Title Predictable Session Identifier Vulnerability in ntopng 6.6
Type Values Removed Values Added
Title Predictable Session Identifier Vulnerability in ntopng 6.6
Type Values Removed Values Added
Title Predictable Session Identifier Leading to Session Hijacking in ntopng
Type Values Removed Values Added
Title Predictable Session Identifier Leading to Session Hijacking in ntopng
Type Values Removed Values Added
Title Predictable Session Identifier Leading to Session Hijacking in ntopng
Type Values Removed Values Added
Title Predictable Session Identifier Leading to Session Hijacking in ntopng
Type Values Removed Values Added
Title Predictable HTTP Session Identifier Leading to Session Hijacking in ntopng 6.6
Type Values Removed Values Added
Title Predictable HTTP Session Identifier Leading to Session Hijacking in ntopng 6.6
Type Values Removed Values Added
Title Weak Session ID Generation in ntopng Enables Hijacking
Type Values Removed Values Added
Title Weak Session ID Generation in ntopng Enables Hijacking
Type Values Removed Values Added
Title ntopng Predictable Session Identifier Leading to Session Hijacking
Type Values Removed Values Added
Title ntopng Predictable Session Identifier Leading to Session Hijacking
Type Values Removed Values Added
Title Predictable HTTP Session Identifier in ntopng 6.6 Allows Session Hijacking
Weaknesses CWE-330
Type Values Removed Values Added
Title Predictable HTTP Session Identifier in ntopng 6.6 Allows Session Hijacking
Weaknesses CWE-330
Type Values Removed Values Added
Weaknesses CWE-341
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Predictable Session Identifier Leading to Session Hijacking in ntopng
Weaknesses CWE-330
Type Values Removed Values Added
Title Predictable Session Identifier Leading to Session Hijacking in ntopng
Weaknesses CWE-330
Type Values Removed Values Added
Title Predictable Session Identifier in ntopng 6.6 Enables Session Hijacking
Weaknesses CWE-330
Type Values Removed Values Added
Title Predictable Session Identifier in ntopng 6.6 Enables Session Hijacking
Weaknesses CWE-330
Type Values Removed Values Added
Title Predictable session identifiers allow session hijacking in ntopng
Weaknesses CWE-613
Type Values Removed Values Added
Title Predictable session identifiers allow session hijacking in ntopng
Weaknesses CWE-613
Type Values Removed Values Added
Title Predictable Session Identifiers Permit Session Hijacking in ntopng 6.6
Weaknesses CWE-613
Type Values Removed Values Added
Title Predictable Session Identifiers Permit Session Hijacking in ntopng 6.6
Weaknesses CWE-613
Type Values Removed Values Added
First Time appeared Ntop
Ntop ntopng
Vendors & Products Ntop
Ntop ntopng
Type Values Removed Values Added
Description ntopng through 6.6 is vulnerable to Predictable Session Identifier which can lead to Session Hijacking. HTTP session identifiers in src/HTTPserver.cpp use weak time-seeded pseudo-randomness during session creation. As a result, fresh authenticated logins can receive deterministic or colliding session cookies under attacker-controlled timing.
References
Weaknesses
  • CWE-341

    Predictable from Observable State

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 6, 2026, 5:16 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Analyzed
Published
Jul 2, 2026, 9:16 PM
Modified
Jul 8, 2026, 6:39 PM