CVE-2016-6043 - Session Fixation

Severity

44%

Complexity

34%

Confidentiality

106%

Tivoli Storage Manager Operations Center could allow a local user to take over a previously logged in user due to session expiration not being enforced.

Tivoli Storage Manager Operations Center could allow a local user to take over a previously logged in user due to session expiration not being enforced.

CVSS 3.0 Base Score 7. CVSS Attack Vector: local. CVSS Attack Complexity: high. CVSS Vector: (CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

CVSS 2.0 Base Score 4.4. CVSS Attack Vector: local. CVSS Attack Complexity: medium. CVSS Vector: (AV:L/AC:M/Au:N/C:P/I:P/A:P).

Demo Examples

Session Fixation

CWE-384

The following example shows a snippet of code from a J2EE web application where the application authenticates users with LoginContext.login() without first calling HttpSession.invalidate().


               
}
...

In order to exploit the code above, an attacker could first create a session (perhaps by logging into the application) from a public terminal, record the session identifier assigned by the application, and reset the browser to the login page. Next, a victim sits down at the same public terminal, notices the browser open to the login page of the site, and enters credentials to authenticate against the application. The code responsible for authenticating the victim continues to use the pre-existing session identifier, now the attacker simply uses the session identifier recorded earlier to access the victim's active session, providing nearly unrestricted access to the victim's account for the lifetime of the session. Even given a vulnerable application, the success of the specific attack described here is dependent on several factors working in the favor of the attacker: access to an unmonitored public terminal, the ability to keep the compromised session active and a victim interested in logging into the vulnerable application on the public terminal.

In most circumstances, the first two challenges are surmountable given a sufficient investment of time. Finding a victim who is both using a public terminal and interested in logging into the vulnerable application is possible as well, so long as the site is reasonably popular. The less well known the site is, the lower the odds of an interested victim using the public terminal and the lower the chance of success for the attack vector described above. The biggest challenge an attacker faces in exploiting session fixation vulnerabilities is inducing victims to authenticate against the vulnerable application using a session identifier known to the attacker.

In the example above, the attacker did this through a direct method that is not subtle and does not scale suitably for attacks involving less well-known web sites. However, do not be lulled into complacency; attackers have many tools in their belts that help bypass the limitations of this attack vector. The most common technique employed by attackers involves taking advantage of cross-site scripting or HTTP response splitting vulnerabilities in the target site [12]. By tricking the victim into submitting a malicious request to a vulnerable application that reflects JavaScript or other code back to the victim's browser, an attacker can create a cookie that will cause the victim to reuse a session identifier controlled by the attacker. It is worth noting that cookies are often tied to the top level domain associated with a given URL. If multiple applications reside on the same top level domain, such as bank.example.com and recipes.example.com, a vulnerability in one application can allow an attacker to set a cookie with a fixed session identifier that will be used in all interactions with any application on the domain example.com [29].

Session Fixation

CWE-384

The following example shows a snippet of code from a J2EE web application where the application authenticates users with a direct post to the <code>j_security_check</code>, which typically does not invalidate the existing session before processing the login request.


               
</form>
<input type="text" name="j_password">

Overview

Type

IBM Tivoli Storage Manager

First reported 8 years ago

2017-02-01 20:59:00

Last updated 8 years ago

2017-02-09 21:37:00

Affected Software

IBM Tivoli Storage Manager 6.4.1.1

6.4.1.1

IBM Tivoli Storage Manager 6.4.2.1

6.4.2.1

IBM Tivoli Storage Manager 6.4.2.2

6.4.2.2

IBM Tivoli Storage Manager 6.4.2.3

6.4.2.3

IBM Tivoli Storage Manager 6.4.2.4

6.4.2.4

IBM Tivoli Storage Manager 7.1

7.1

IBM Tivoli Storage Manager 7.1.0.1

7.1.0.1

IBM Tivoli Storage Manager 7.1.0.2

7.1.0.2

IBM Tivoli Storage Manager 7.1.1.1

7.1.1.1

IBM Tivoli Storage Manager 7.1.1.2

7.1.1.2

IBM Tivoli Storage Manager 7.1.3

7.1.3

IBM Tivoli Storage Manager 7.1.3.1

7.1.3.1

IBM Tivoli Storage Manager 7.1.3.2

7.1.3.2

IBM Tivoli Storage Manager 7.1.4

7.1.4

IBM Tivoli Storage Manager 7.1.4.1

7.1.4.1

IBM Tivoli Storage Manager 7.1.4.2

7.1.4.2

IBM Tivoli Storage Manager 7.1.7

7.1.7

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.