CVE-2009-2085 - Improper Authentication

Severity

75%

Complexity

99%

Confidentiality

106%

The Security component in IBM WebSphere Application Server (WAS) 6.1 before 6.1.0.25 and 7.0 before 7.0.0.5 does not properly handle use of Identity Assertion with CSIv2 Security, which allows remote attackers to bypass intended CSIv2 access restrictions via vectors involving Enterprise JavaBeans (EJB).

The Security component in IBM WebSphere Application Server (WAS) 6.1 before 6.1.0.25 and 7.0 before 7.0.0.5 does not properly handle use of Identity Assertion with CSIv2 Security, which allows remote attackers to bypass intended CSIv2 access restrictions via vectors involving Enterprise JavaBeans (EJB).

CVSS 2.0 Base Score 7.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P).

Demo Examples

Improper Authentication

CWE-287

The following code intends to ensure that the user is already logged in. If not, the code performs authentication with the user-provided username and password. If successful, it sets the loggedin and user cookies to "remember" that the user has already logged in. Finally, the code performs administrator tasks if the logged-in user has the "Administrator" username, as recorded in the user cookie.


               
}
}
ExitError("Error: you need to log in first");
);
);
DoAdministratorTasks();

Unfortunately, this code can be bypassed. The attacker can set the cookies independently so that the code does not check the username and password. The attacker could do this with an HTTP request containing headers such as:


               
[body of request]

By setting the loggedin cookie to "true", the attacker bypasses the entire authentication check. By using the "Administrator" value in the user cookie, the attacker also gains privileges to administer the software.

Improper Authentication

CWE-287

Overview

Type

IBM WebSphere Application Server

First reported 15 years ago

2009-08-13 18:30:00

Last updated 7 years ago

2017-08-17 01:30:00

Affected Software

IBM WebSphere Application Server 6.1

6.1

IBM WebSphere Application Server 6.1.0

6.1.0

IBM WebSphere Application Server 6.1.0.0

6.1.0.0

IBM WebSphere Application Server 6.1.0.1 (Fix Pack 1)

6.1.0.1

IBM WebSphere Application Server 6.1.0.2 (Fix Pack 2)

6.1.0.2

IBM WebSphere Application Server 6.1.0.3 (Fix Pack 3)

6.1.0.3

IBM WebSphere Application Server 6.1.0.5 (Fix Pack 5)

6.1.0.5

IBM WebSphere Application Server 6.1.0.7 (Fix Pack 7)

6.1.0.7

IBM WebSphere Application Server 6.1.0.9 (Fix Pack 9)

6.1.0.9

IBM WebSphere Application Server 6.1.0.11 (Fix Pack 11)

6.1.0.11

IBM WebSphere Application Server 6.1.0.12

6.1.0.12

IBM WebSphere Application Server 6.1.0.13 (Fix Pack 13)

6.1.0.13

IBM WebSphere Application Server 6.1.0.14 (Fix Pack 14)

6.1.0.14

IBM WebSphere Application Server 6.1.0.15 (Fix Pack 15)

6.1.0.15

IBM WebSphere Application Server 6.1.0.17 (Fix Pack 17)

6.1.0.17

IBM WebSphere Application Server 6.1.0.19 (Fix Pack 19)

6.1.0.19

IBM WebSphere Application Server 6.1.0.21 (Fix Pack 21)

6.1.0.21

IBM WebSphere Application Server 6.1.0.23 (Fix Pack 23)

6.1.0.23

IBM WebSphere Application Server 6.1.0.24

6.1.0.24

IBM WebSphere Application Server 7.0

7.0

IBM WebSphere Application Server 7.0.0.1

7.0.0.1

IBM WebSphere Application Server 7.0.0.3

7.0.0.3

IBM WebSphere Application Server 7.0.0.4

7.0.0.4

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.