Dancer before 1.3400 passes unvalidated session cookie ids (CVE-2015-10149)
The oss-security note does not state exploitation or name a patched Dancer release.
Unvalidated session IDs in Dancer before 1.3400
Dancer for Perl before 1.3400 returns the session cookie value as the session id without checking its characters and passes it to the session engine. A remote attacker who can set that cookie may cause path traversal or injection when an engine uses the id in a file path, cache command, or query without its own checks. Apps using such engines are affected.
What to do: Upgrade Dancer to 1.3400 or later.
| Product | Affected | Fixed in |
|---|---|---|
| Perl Dancer | before 1.3400 | 1.3400 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
The oss-security note does not state exploitation or name a patched Dancer release.
Today 1K readers · 1.1K views · 101 reads · all time 211K views