← Back to CVE Explorer

CVE-2026-5085

Full vulnerability record from the local CVENow database.

Description

Solstice::Session versions through 1440 for Perl generates session ids insecurely. The _generateSessionID method returns an MD5 digest seeded by the epoch time, a random hash reference, a call to the built-in rand() function and the process id. The same method is used in the _generateID method in Solstice::Subsession, which is part of the same distribution. The epoch time may be guessed, if it is not leaked in the HTTP Date header. Stringified hash refences will contain predictable content. The built-in rand() function is seeded by 16-bits and is unsuitable for security purposes. The process id comes from a small set of numbers. Predictable session ids could allow an attacker to gain access to systems.

Severity
CRITICAL
CVSS score
9.1 (v3.1)
Vulnerability status
Analyzed
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-04-13 07:16:50.543000
Last modified
2026-10-26 22:10:00.163000
View original CVE JSON
{
  "id": "CVE-2026-5085",
  "sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
  "published": "2026-04-13T07:16:50.543",
  "lastModified": "2026-10-26T22:10:00.163",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Solstice::Session versions through 1440 for Perl generates session ids insecurely.\n\nThe _generateSessionID method returns an MD5 digest seeded by the epoch time, a random hash reference, a call to the built-in rand() function and the process id.\n\nThe same method is used in the _generateID method in Solstice::Subsession, which is part of the same distribution.\n\nThe epoch time may be guessed, if it is not leaked in the HTTP Date header. Stringified hash refences will contain predictable content. The built-in rand() function is seeded by 16-bits and is unsuitable for security purposes. The process id comes from a small set of numbers.\n\nPredictable session ids could allow an attacker to gain access to systems."
    },
    {
      "lang": "es",
      "value": "Las versiones de Solstice::Session hasta la 1440 para Perl generan identificadores de sesión de forma insegura.\n\nEl método _generateSessionID devuelve un resumen MD5 inicializado con el tiempo de época, una referencia de hash aleatoria, una llamada a la función rand() incorporada y el ID de proceso.\n\nEl mismo método se utiliza en el método _generateID en Solstice::Subsession, que forma parte de la misma distribución.\n\nEl tiempo de época puede ser adivinado, si no se filtra en el encabezado de fecha HTTP. Las referencias de hash convertidas a cadena contendrán contenido predecible. La función rand() incorporada se inicializa con 16 bits y no es adecuada para fines de seguridad. El ID de proceso proviene de un pequeño conjunto de números.\n\nLos identificadores de sesión predecibles podrían permitir a un atacante obtener acceso a los sistemas."
    }
  ],
  "affected": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "affectedData": [
        {
          "vendor": "MCRAWFOR",
          "product": "Solstice::Session",
          "defaultStatus": "unaffected",
          "collectionURL": "https://cpan.org/modules",
          "packageName": "Solstice",
          "programFiles": [
            "lib/Solstice/Session.pm",
            "lib/Solstice/Subsession.pm"
          ],
          "programRoutines": [
            {
              "name": "Solstice::Session::_generateSessionID"
            },
            {
              "name": "Solstice::Subsession::_generateID"
            }
          ],
          "versions": [
            {
              "version": "0",
              "lessThanOrEqual": "1440",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
          "baseScore": 9.1,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 5.2
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-04-13T14:27:45.409795Z",
          "id": "CVE-2026-5085",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-338"
        },
        {
          "lang": "en",
          "value": "CWE-340"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:mcrawfor:solstice\\:\\:session:1440:*:*:*:*:perl:*:*",
              "matchCriteriaId": "83F100D9-D72B-48D9-9D4A-C1C47B9D19CF"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://metacpan.org/dist/Solstice/source/lib/Solstice/Session.pm#L481",
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "tags": [
        "Product"
      ]
    },
    {
      "url": "https://metacpan.org/dist/Solstice/source/lib/Solstice/Subsession.pm#L105",
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "tags": [
        "Product"
      ]
    },
    {
      "url": "https://security.metacpan.org/docs/guides/random-data-for-security.html",
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/04/13/2",
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List"
      ]
    }
  ]
}