You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "Lenny Primak (Jira)" <ji...@apache.org> on 2026/06/19 02:18:00 UTC

[jira] [Reopened] (SHIRO-561) "Remember me" cookie age is not verified server-side

     [ https://issues.apache.org/jira/browse/SHIRO-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lenny Primak reopened SHIRO-561:
--------------------------------
      Assignee: Lenny Primak

> "Remember me" cookie age is not verified server-side
> ----------------------------------------------------
>
>                 Key: SHIRO-561
>                 URL: https://issues.apache.org/jira/browse/SHIRO-561
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.2.4
>            Reporter: Richard Bradley
>            Assignee: Lenny Primak
>            Priority: Major
>
> The "remember me" cookie has a max age limit which is configurable in Shiro (see CookieRememberMeManager).
> However, Shiro does not enforce this limit at all -- it trusts the client to expire the "remember me" cookie after the requested time limit.
> Because the cookie value has no server-side age verification, if a malicious client gets a copy of the remember me cookie, then it will last forever, regardless of the max age limit configured in Shiro.
> See also http://stackoverflow.com/questions/26639205/shiro-how-does-remember-me-work/35633675



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org