Project

General

Custom queries

Profile

Actions

Bug #4457

closed

CVE-2014-0090 - Session fixation, new session IDs are not generated on login

Added by Dominic Cleal about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Security
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description
Since new session id is not generated every time users log in, authentication can be bypassed through session fixation attacks in the situation where attackers are able to fixate another user's session id. Once users log in with the session id, attackers could also access the whole site with the user's privilege.

Severity: Medium

Affected URLs
http://$foreman/users/login

Steps
At host A, get a new session_id by accessing /users/login with any existing cookie removed.
At host B, access /users/login through http proxy. Intercept a request and delete Cookie header if exists. Intercept its response and
modify _session_id in Set-cookie header with the one got in host A.
At host B, access /users/login and verify if the injected _session_id is using in Cookie header.
At host B, log in with admin(or any user) account.
At Host A, verify if the session is considered as authenticated.

Result
User at host A can access the application bypassing authentication

Remedy advice
The session ID should be always changed when users log in.

Reference
https://www.owasp.org/index.php/Session_fixation


Files


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #23875: Remove login doesn't escalate privileges testClosedLukas Zapletal06/11/2018Actions
#1

Updated by Dominic Cleal about 11 years ago

  • Subject changed from Session fixation, new session IDs are not generated on login to CVE-2014-0090 - Session fixation, new session IDs are not generated on login
  • Description updated (diff)
#2

Updated by Dominic Cleal about 11 years ago

  • Target version set to 1.9.0
#3

Updated by Dominic Cleal about 11 years ago

  • Due date set to 03/18/2014
#4

Updated by Joseph Magen about 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Joseph Magen
#7

Updated by Joseph Magen about 11 years ago

#10

Updated by Joseph Magen about 11 years ago

#11

Updated by Dominic Cleal about 11 years ago

  • Status changed from Ready For Testing to Pending
#12

Updated by Dominic Cleal about 11 years ago

  • Status changed from Pending to Ready For Testing
#13

Updated by Dominic Cleal about 11 years ago

  • Due date changed from 03/18/2014 to 03/20/2014
#15

Updated by Dominic Cleal about 11 years ago

  • Assignee changed from Joseph Magen to Dominic Cleal
#16

Updated by Dominic Cleal about 11 years ago

  • File 0001-fixes-4457-Session-fixation-new-session-IDs-are-not-.patch added
#17

Updated by Dominic Cleal about 11 years ago

  • File deleted (0001-fixes-4457-Session-fixation-new-session-IDs-are-not-.patch)
#25

Updated by Dominic Cleal about 11 years ago

  • Status changed from Ready For Testing to Pending
#26

Updated by Dominic Cleal about 11 years ago

  • Private changed from Yes to No
#27

Updated by Dominic Cleal about 11 years ago

  • Status changed from Pending to Closed
  • % Done changed from 0 to 100
#28

Updated by Dominic Cleal about 11 years ago

  • Description updated (diff)
#29

Updated by Lukas Zapletal almost 7 years ago

  • Related to Refactor #23875: Remove login doesn't escalate privileges test added
Actions

Also available in: Atom PDF