CallBackery before 0.62.0 has password and session flaws
The note describes unsalted HMAC-SHA1 passwords, cookie forgery via rand(), and session cookies accepted at any age.
Unbounded session cookie lifetime in CallBackery before 0.62.0
CallBackery for Perl rejects session cookies older than 300 seconds only when they arrive in the xsc query parameter. The same cookie sent in the X-Session-Cookie header is accepted at any age. Anyone who obtains a cookie leaked via a log, a Referer header, or browser history can authenticate as that user indefinitely. Versions before 0.62.0 are affected.
What to do: Upgrade CallBackery to 0.62.0 so cookies in the X-Session-Cookie header are subject to the same age check.
| Product | Affected | Fixed in |
|---|---|---|
| CallBackery for Perl | before 0.62.0 | 0.62.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
CallBackery versions before 0.62.0 for Perl accept session cookies of any age sent in the X-Session-Cookie header. cookieConf() rejects a cookie older than 300 seconds only when it arrives in the xsc query parameter. The same cookie sent in the X-Session-Cookie header is accepted however old it is. A session cookie that leaks through a log, a Referer header or browser history authenticates as its user indefinitely.
The note describes unsalted HMAC-SHA1 passwords, cookie forgery via rand(), and session cookies accepted at any age.
Today 1.5K readers · 2.4K views · 768 reads · all time 189K views