Project

General

Profile

Actions

Bug #7736

closed

Change to prevent unauthenticated requests for CSRF modified login behaviour as well

Added by Jan Pazdziora about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The change that went into Foreman as 4e3a7e7a2a5 included definition of handle_unverified_request which in turn affected not just the logout functionality, but login as well. The net effect is that it's now not possible to log in to Foreman WebUI via its logon form at /users/login without GETing that URL first, to get the authenticity_token.

Since issue #6999 was attempting to only change the logout behaviour, I'd call this a regression, unless there is a specific reason why the exception should be raised for the unauthenticated login page where just resetting the session and proceeding with the request was enough.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #6999: CVE-2014-3590 - User logout susceptible to CSRF attackClosedDaniel Lobato Garcia08/08/2014Actions
Actions

Also available in: Atom PDF