CVE-2009-0891 - Improper Authentication

Severity

55%

Complexity

80%

Confidentiality

81%

The Web Services Security component in IBM WebSphere Application Server 7.0 before Fix Pack 1 (7.0.0.1), 6.1 before Fix Pack 23 (6.1.0.23),and 6.0.2 before Fix Pack 33 (6.0.2.33) does not properly enforce (1) nonce and (2) timestamp expiration values in WS-Security bindings as stored in the com.ibm.wsspi.wssecurity.core custom property, which allows remote authenticated users to conduct session hijacking attacks.

The Web Services Security component in IBM WebSphere Application Server 7.0 before Fix Pack 1 (7.0.0.1), 6.1 before Fix Pack 23 (6.1.0.23),and 6.0.2 before Fix Pack 33 (6.0.2.33) does not properly enforce (1) nonce and (2) timestamp expiration values in WS-Security bindings as stored in the com.ibm.wsspi.wssecurity.core custom property, which allows remote authenticated users to conduct session hijacking attacks.

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

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 16 years ago

2009-03-25 01:30:00

Last updated 7 years ago

2017-08-17 01:30:00

Affected Software

IBM WebSphere Application Server 6.0.2

6.0.2

IBM WebSphere Application Server 6.0.2.1

6.0.2.1

IBM WebSphere Application Server 6.0.2.2

6.0.2.2

IBM WebSphere Application Server 6.0.2.3

6.0.2.3

IBM WebSphere Application Server 6.0.2.4

6.0.2.4

IBM WebSphere Application Server 6.0.2.5

6.0.2.5

IBM WebSphere Application Server 6.0.2.6

6.0.2.6

IBM WebSphere Application Server 6.0.2.7

6.0.2.7

IBM WebSphere Application Server 6.0.2.8

6.0.2.8

IBM WebSphere Application Server 6.0.2.9

6.0.2.9

IBM WebSphere Application Server 6.0.2.11

6.0.2.11

IBM WebSphere Application Server 6.0.2.13

6.0.2.13

IBM WebSphere Application Server 6.0.2.15

6.0.2.15

IBM WebSphere Application Server 6.0.2.17

6.0.2.17

IBM WebSphere Application Server 6.0.2.19

6.0.2.19

IBM WebSphere Application Server 6.0.2.22

6.0.2.22

IBM WebSphere Application Server 6.0.2.23

6.0.2.23

IBM WebSphere Application Server 6.0.2.24

6.0.2.24

IBM WebSphere Application Server 6.0.2.25

6.0.2.25

IBM WebSphere Application Server 6.0.2.27

6.0.2.27

IBM WebSphere Application Server 6.0.2.28

6.0.2.28

IBM WebSphere Application Server 6.0.2.29

6.0.2.29

IBM WebSphere Application Server 6.0.2.30

6.0.2.30

IBM WebSphere Application Server 6.0.2.31

6.0.2.31

IBM WebSphere Application Server 6.0.2.32

6.0.2.32

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 7.0

7.0

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.