CVE-2015-10149: Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine
Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine.
readsessionid 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libdancer-perlto a version that resolves this vulnerability.Fixed in 1.3400+dfsg-1 - Upgrade
Upgrade
debian/libdancer-perlto a version that resolves this vulnerability.Fixed in 1.3521+dfsg-1Fixed in 1.3522-2 - Upgrade
Upgrade
Dancer for Perlto a version that resolves this vulnerability.Fixed in 1.3400