CVE-2006-6969: Jetty server Jetty Uses Predictable Session Identifiers Vulnerability

MODERATE
Advisory Identifier: GHSA-jg2x-r643-w2ch
CWE-330
Published
Advisory Summary

CVE-2006-6969 is a MODERATE jetty uses predictable session identifiers vulnerability (CWE-330: Use of Insufficiently Random Values) affecting Jetty server libraries in the Maven ecosystem. The issue involves jetty uses predictable session identifiers. Remediation is available by upgrading affected packages to version 4.2.27, 5.1.12, 6.0.2, 6.1.0pre3.

CVE-2006-6969 at a Glance

CVE Identifier CVE-2006-6969
GHSA Identifier GHSA-jg2x-r643-w2ch
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-330: Use of Insufficiently Random Values
Affected Product Jetty server
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2006-6969

To remediate this vulnerability, upgrade all affected Jetty server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.eclipse.jetty:jetty-server fixed: 4.2.27
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>4.2.27</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 5.1.12
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>5.1.12</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 6.0.2
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>6.0.2</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 6.1.0pre3
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>6.1.0pre3</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.eclipse.jetty

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2006-6969, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.eclipse.jetty

Analyze the terminal output to locate any version of Jetty server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.27), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.eclipse.jetty command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. In Jetty server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Jetty before 4.2.27, 5.1 before 5.1.12, 6.0 before 6.0.2, and 6.1 before 6.1.0pre3 generates predictable session identifiers using java.util.random, which makes it easier for remote attackers to guess a session identifier through brute force attacks, bypass authentication requirements, and possibly conduct cross-site request forgery attacks.

CVE-2006-6969 Affected Jetty server Versions

4 component(s)
Fixed Versions:
4.2.275.1.126.0.26.1.0pre3
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.jetty:jetty-server
Maven
< 4.2.27
4.2.27
org.eclipse.jetty:jetty-server
Maven
≥ 5.1.0
< 5.1.12
5.1.12
org.eclipse.jetty:jetty-server
Maven
≥ 6.0.0
< 6.0.2
6.0.2
org.eclipse.jetty:jetty-server
Maven
≥ 6.1.0pre1
< 6.1.0pre3
6.1.0pre3

References

Frequently Asked Questions

What is CVE-2006-6969?
CVE-2006-6969 is a security vulnerability in Jetty server involving Jetty Uses Predictable Session Identifiers under CWE-330: Use of Insufficiently Random Values.
Which Jetty server versions are affected?
Affected versions include releases prior to 4.2.27, 5.1.12, 6.0.2, 6.1.0pre3 across affected packages: org.eclipse.jetty:jetty-server.
What version fixes CVE-2006-6969?
Upgrading to 4.2.27, 5.1.12, 6.0.2, 6.1.0pre3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jetty-server affected?
Yes, org.eclipse.jetty:jetty-server is affected in releases prior to 4.2.27, 5.1.12, 6.0.2, 6.1.0pre3. Upgrade your dependency to 4.2.27, 5.1.12, 6.0.2, 6.1.0pre3 or later.
What CWE is associated with CVE-2006-6969?
CVE-2006-6969 is classified under CWE-330: Use of Insufficiently Random Values (The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.).
How can I check Maven dependencies for CVE-2006-6969?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.jetty'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jg2x-r643-w2ch",
  "modified" : "2024-02-12T16:20:55Z",
  "published" : "2022-05-01T07:43:29Z",
  "aliases" : [ "CVE-2006-6969" ],
  "summary" : "Jetty Uses Predictable Session Identifiers",
  "details" : "Jetty before 4.2.27, 5.1 before 5.1.12, 6.0 before 6.0.2, and 6.1 before 6.1.0pre3 generates predictable session identifiers using java.util.random, which makes it easier for remote attackers to guess a session identifier through brute force attacks, bypass authentication requirements, and possibly conduct cross-site request forgery attacks.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.2.27"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.1.0"
      }, {
        "fixed" : "5.1.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.1.0pre1"
      }, {
        "fixed" : "6.1.0pre3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-6969"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty-project/codehaus-jetty6/commit/36f81d2e7058b012f6718bc2f1e2786694a8a4a1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty-project/codehaus-jetty6/commit/b31f606bf8058a38ab6253aa8dc2dfe6a7f83c78"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/32240"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jetty-project/codehaus-jetty6"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20070208112816/http://fisheye.codehaus.org/changelog/jetty/?cs=1274"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20070602184857/http://archives.neohapsis.com/archives/bugtraq/2007-02/0070.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20121019131825/http://www.securityfocus.com/archive/1/459164/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228100052/http://www.securityfocus.com/bid/22405"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-330" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-12T16:20:55Z",
    "nvd_published_at" : "2007-02-07T11:28:00Z"
  }
}