CVE-2015-10149

Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine

Published Nov 14, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine.

read_session_id returns the cookie value as the session id without checking its characters, and Dancer hands it to the session engine to load the session.

A remote attacker may cause path traversal or injection in a session engine that uses the id in a file path, cache command or query without checking it.

Analysis

AI-generated

Technical impact

The defect in Perl Dancer versions older than 1.3400 allows a session ID from a cookie to be passed to the session engine without any validation. This flaw can enable a remote attacker to inject malicious characters into the session ID, potentially leading to path traversal, command injection, or SQL injection if the session engine uses the ID directly in file paths, cache commands, or database queries. The consequence is that an attacker could execute arbitrary code or compromise the confidentiality and integrity of the application.

Affected Systems

The affected product is the Dancer web framework for Perl, with the issue present in all releases before 1.3400. No specific vendor and product list beyond the Dancer project is provided; users should check the version of Dancer installed on their servers, and if it is older than 1.3400, the vulnerability applies.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, so there is no public evidence of exploitation yet. Nevertheless, the flaw can be exploited by an attacker who can set the session cookie, which is often possible through a malicious web page or phishing. The absence of validation means the exploitation path is straightforward and likely to succeed if the session engine is vulnerable to file path or command injection. The risk is moderate to high, especially in environments where Dancer is exposed to untrusted clients and the session engine does not perform its own sanitization.

Remediation

Vendor Solution

Upgrade to Dancer 1.3400 or later.


OpenCVE Recommended Actions

  • Upgrade the Dancer framework to version 1.3400 or later to apply the session ID validation fix.
  • Verify that the chosen session engine does not construct file paths, cache commands, or SQL queries directly from the session ID or that it performs adequate sanitization of that input.
  • If an immediate upgrade is not possible, restrict the session ID format in the application (e.g., enforce alphanumeric characters) before passing it to the session engine, or switch to a session store that does not rely on raw cookie values.

Generated by OpenCVE AI on November 14, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Perldancer
Perldancer dancer\
Vendors & Products Perldancer
Perldancer dancer\
Type Values Removed Values Added
Description Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine. read_session_id returns the cookie value as the session id without checking its characters, and Dancer hands it to the session engine to load the session. A remote attacker may cause path traversal or injection in a session engine that uses the id in a file path, cache command or query without checking it.
Title Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine
Weaknesses CWE-1286
References
Weaknesses
  • CWE-1286

    Improper Validation of Syntactic Correctness of Input

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 14, 2026, 11:05 PM
Reserved
Nov 14, 2026, 7:54 PM
Status
Received
Published
Nov 14, 2026, 8:17 PM
Modified
Nov 14, 2026, 11:16 PM