CVE-2018-1672 - Improper Authentication

Severity

65%

Complexity

80%

Confidentiality

106%

IBM WebSphere Portal 7.0, 8.0, 8.5, and 9.0 may fail to set the correct user context in certain impersonation scenarios, which can allow a user to act with the identity of a different user. IBM X-Force ID: 144958.

IBM WebSphere Portal 7.0, 8.0, 8.5, and 9.0 may fail to set the correct user context in certain impersonation scenarios, which can allow a user to act with the identity of a different user. IBM X-Force ID: 144958.

CVSS 3.0 Base Score 6.3. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

CVSS 2.0 Base Score 6.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:S/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

First reported 6 years ago

2018-10-01 14:29:00

Last updated 5 years ago

2019-10-09 23:38:00

Affected Software

IBM Websphere Portal 7.0.0.0

7.0.0.0

IBM Websphere Portal 7.0.0.1

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf011

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf012

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf013

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf014

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf015

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf016

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf017

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf018

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cumulative Fix 019 (PM76354)

7.0.0.1

IBM Websphere Portal 7.0.0.1 Cf020

7.0.0.1

IBM Websphere Portal 7.0.0.2

7.0.0.2

IBM WebSphere Portal 7.0.0.2 Cumulative Fix 12

7.0.0.2

IBM WebSphere Portal 7.0.0.2 CF013

7.0.0.2

IBM WebSphere Portal 7.0.0.2 Cumulative Fix 14

7.0.0.2

IBM WebSphere Portal 7.0.0.2 CF015

7.0.0.2

IBM WebSphere Portal 7.0.0.2 Cumulative Fix 16

7.0.0.2

IBM WebSphere Portal 7.0.0.2 Cumulative Fix 17

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cumulative Fix 18

7.0.0.2

IBM WebSphere Portal 7.0.0.2 Cumulative Fix 19

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cumulative Fix 20

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cumulative Fix 21

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cumulative Fix 22

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf023

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf024

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf025

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf026

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf027

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf028

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf029

7.0.0.2

IBM Websphere Portal 7.0.0.2 Cf030

7.0.0.2

IBM Websphere Portal 8.0.0.0

8.0.0.0

IBM Websphere Portal 8.0.0.0 Cumulative Fix 01

8.0.0.0

IBM Websphere Portal 8.0.0.0 Cumulative Fix 02

8.0.0.0

IBM Websphere Portal 8.0.0.0 Cumulative Fix 03

8.0.0.0

IBM Websphere Portal 8.0.0.0 Cumulative Fix 04

8.0.0.0

IBM Websphere Portal 8.0.0.0 Cumulative Fix 05

8.0.0.0

IBM Websphere Portal 8.0.0.1

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cumulative Fix 04

8.0.0.1

IBM WebSphere Portal 8.0.0.1 Cumulative Fix 05

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cumulative Fix 06

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cumulative Fix 07

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cumulative Fix 08

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cumulative Fix 09

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cumulative Fix 12

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf14

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf15

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf16

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf17

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf18

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf19

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf20

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf21

8.0.0.1

IBM Websphere Portal 8.0.0.1 Cf22

8.0.0.1

IBM WebSphere Portal 8.0.0.1 Cumulative Fix 23

8.0.0.1

IBM Websphere Portal 8.5.0.0 Cf03

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf04

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf05

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf06

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf07

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf08

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf09

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf10

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf11

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf12

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf13

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf14

8.5.0.0

IBM Websphere Portal 8.5.0.0 Cf15

8.5.0.0

IBM Websphere Portal 9.0.0.0 Cf14

9.0.0.0

IBM Websphere Portal 9.0.0.0 Cf15

9.0.0.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.