UBUNTU-CVE-2018-12520

Source
https://ubuntu.com/security/CVE-2018-12520
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-12520.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-12520
Upstream
Downstream
Related
Published
2018-07-05T20:29:00Z
Modified
2025-09-08T16:44:55Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - high
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / ntopng

Package

Name
ntopng
Purl
pkg:deb/ubuntu/ntopng@2.2+dfsg1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2+dfsg1-1ubuntu0.1~esm2

Affected versions

1.*

1.2.1+dfsg1-2ubuntu1

2.*

2.0+dfsg1-1
2.2+dfsg1-1
2.2+dfsg1-1build1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "ntopng",
            "binary_version": "2.2+dfsg1-1ubuntu0.1~esm2"
        },
        {
            "binary_name": "ntopng-data",
            "binary_version": "2.2+dfsg1-1ubuntu0.1~esm2"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / ntopng

Package

Name
ntopng
Purl
pkg:deb/ubuntu/ntopng@3.2+dfsg1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2+dfsg1-1ubuntu0.1~esm2

Affected versions

2.*

2.4+dfsg1-3
2.4+dfsg1-4

3.*

3.2+dfsg1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "ntopng",
            "binary_version": "3.2+dfsg1-1ubuntu0.1~esm2"
        },
        {
            "binary_name": "ntopng-data",
            "binary_version": "3.2+dfsg1-1ubuntu0.1~esm2"
        }
    ]
}