Return-Path: X-Original-To: apmail-shiro-dev-archive@www.apache.org Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCE5F187E8 for ; Thu, 25 Feb 2016 17:22:18 +0000 (UTC) Received: (qmail 46209 invoked by uid 500); 25 Feb 2016 17:22:18 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 46134 invoked by uid 500); 25 Feb 2016 17:22:18 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 45763 invoked by uid 99); 25 Feb 2016 17:22:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2016 17:22:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2D9312C1F6B for ; Thu, 25 Feb 2016 17:22:18 +0000 (UTC) Date: Thu, 25 Feb 2016 17:22:18 +0000 (UTC) From: "Richard Bradley (JIRA)" To: dev@shiro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SHIRO-561) "Remember me" cookie age is not verified server-side MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Richard Bradley created SHIRO-561: ------------------------------------- Summary: "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 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 (v6.3.4#6332)