CVE-2020-3213 - Improper Privilege Management

Severity

67%

Complexity

8%

Confidentiality

98%

A vulnerability in the ROMMON of Cisco IOS XE Software could allow an authenticated, local attacker to elevate privileges to those of the root user of the underlying operating system. The vulnerability is due to the ROMMON allowing for special parameters to be passed to the device at initial boot up. An attacker could exploit this vulnerability by sending parameters to the device at initial boot up. An exploit could allow the attacker to elevate from a Priv15 user to the root user and execute arbitrary commands with the privileges of the root user.

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

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

Demo Examples

Improper Privilege Management

CWE-269

This code temporarily raises the program's privileges to allow creation of a new user folder.


               
return True
return False#avoid CWE-22 and CWE-78
lowerPrivileges()
return False

While the program only raises its privilege level to create the folder and immediately lowers it again, if the call to os.mkdir() throws an exception, the call to lowerPrivileges() will not occur. As a result, the program is indefinitely operating in a raised privilege state, possibly allowing further exploitation to occur.

Improper Privilege Management

CWE-269

Evidence of privilege change:


               
seteuid(getuid());/* do some stuff */

               
}
// privileged code goes here, for example:// nothing to return

Improper Privilege Management

CWE-269

This code intends to allow only Administrators to print debug information about a system.


               
}
ADMIN,USER,GUEST
}
}
break;
break;
System.out.println("You must be logged in to perform this command");

While the intention was to only allow Administrators to print the debug information, the code as written only excludes those the with the role of "GUEST". Someone with the role of "ADMIN" or "USER" will be allowed access, which goes against the original intent. An attacker may be able to use this debug information to craft an attack on the system.

Improper Privilege Management

CWE-269

This code allows someone with the role of "ADMIN" or "OPERATOR" to reset a user's password. The role of "OPERATOR" is intended to have less privileges than an "ADMIN", but still be able to help users with small issues such as forgotten passwords.


               
}
ADMIN,OPERATOR,USER,GUEST
}
}
}
break;
break;
break;
System.out.println("You must be logged in to perform this command");

This code does not check the role of the user whose password is being reset. It is possible for an Operator to gain Admin privileges by resetting the password of an Admin account and taking control of that account.

Overview

Type

Cisco IOS

First reported 4 years ago

2020-06-03 18:15:00

Last updated 4 years ago

2020-06-10 15:52:00

Affected Software

Cisco IOS XE 3.8.0s

3.8.0s

Cisco IOS XE 3.8.1S

3.8.1s

Cisco IOS XE 3.8.2S

3.8.2s

Cisco IOS XE 3.9.0AS

3.9.0as

Cisco IOS XE 3.9.0s

3.9.0s

Cisco IOS XE 3.9.1AS

3.9.1as

Cisco IOS XE 3.9.1s

3.9.1s

Cisco IOS XE 3.9.2S

3.9.2s

Cisco IOS XE 3.10.0S

3.10.0s

Cisco IOS XE 3.10.1S

3.10.1s

Cisco IOS XE 3.10.2S

3.10.2s

Cisco IOS XE 3.10.3S

3.10.3s

Cisco IOS XE 3.10.5S

3.10.5s

Cisco IOS XE 3.10.6S

3.10.6s

Cisco IOS XE 3.10.7S

3.10.7s

Cisco IOS XE 3.11.0S

3.11.0s

Cisco IOS XE 3.11.1S

3.11.1s

Cisco IOS XE 3.11.2S

3.11.2s

Cisco IOS XE 3.12.0AS

3.12.0as

Cisco IOS XE 3.14.0S

3.14.0s

Cisco IOS XE 3.14.1S

3.14.1s

Cisco IOS XE 3.14.2S

3.14.2s

Cisco IOS XE 3.14.3S

3.14.3s

Cisco IOS XE 3.14.4S

3.14.4s

Cisco IOS XE 3.15.1cS

3.15.1cs

Cisco IOS XE 3.15.4S

3.15.4s

Cisco IOS XE 3.16.0cS

3.16.0cs

Cisco IOS XE 3.16.1AS

3.16.1as

Cisco IOS XE 3.16.2BS

3.16.2bs

Cisco IOS XE 3.17.1AS

3.17.1as

Cisco IOS XE 3.17.2S

3.17.2s

Cisco IOS XE 3.18.0S

3.18.0s

Cisco IOS XE 16.1.1

16.1.1

Cisco IOS XE 16.3.4

16.3.4

Cisco IOS XE 16.4.2

16.4.2

Cisco IOS XE 16.5.1

16.5.1

Cisco IOS XE 16.5.1B

16.5.1b

Cisco IOS XE16.9.1

16.9.1

Cisco IOS XE 16.9.3

16.9.3

Cisco IOS XE 16.11.1

16.11.1

Cisco IOS XE 16.12.1

16.12.1

Cisco IOS XE 16.10.1

16.10.1

Cisco IOS XE 3.10.2AS

3.10.2as

Cisco IOS XE 3.10.10S

3.10.10s

Cisco IOS XE 3.13.3S

3.13.3s

Cisco IOS XE 3.13.6BS

3.13.6bs

Cisco IOS XE 3.13.10S

3.13.10s

Cisco IOS XE 3.16.0AS

3.16.0as

Cisco IOS XE 3.16.0BS

3.16.0bs

Cisco IOS XE 3.16.4CS

3.16.4cs

Cisco IOS XE 3.16.4ES

3.16.4es

Cisco IOS XE 3.16.4GS

3.16.4gs

Cisco IOS XE 3.16.5AS

3.16.5as

Cisco IOS XE 3.16.5BS

3.16.5bs

Cisco IOS XE 3.16.7AS

3.16.7as

Cisco IOS XE 3.16.7BS

3.16.7bs

Cisco IOS XE 3.16.8S

3.16.8s

Cisco IOS XE 3.16.9S

3.16.9s

Cisco IOS XE 3.16.10S

3.16.10s

Cisco IOS XE 3.18.1GSP

3.18.1gsp

Cisco IOS XE 3.18.1HSP

3.18.1hsp

Cisco IOS XE 3.18.1ISP

3.18.1isp

Cisco IOS XE 3.18.4S

3.18.4s

Cisco IOS XE 3.18.4SP

3.18.4sp

Cisco IOS XE 3.18.5SP

3.18.5sp

Cisco IOS XE 3.18.6SP

3.18.6sp

Cisco IOS XE 3.18.7SP

3.18.7sp

Cisco IOS XE 3.18.8SP

3.18.8sp

Cisco IOS XE 16.3.5

16.3.5

Cisco IOS XE 16.3.7

16.3.7

Cisco IOS XE 16.3.8

16.3.8

Cisco IOS XE 16.4.3

16.4.3

Cisco IOS XE 16.5.2

16.5.2

Cisco IOS XE 16.5.3

16.5.3

Cisco IOS XE 16.6.4

16.6.4

Cisco IOS XE 16.6.4A

16.6.4a

Cisco IOS XE 16.6.4S

16.6.4s

Cisco IOS XE 16.6.5A

16.6.5a

Cisco IOS XE 16.6.5B

16.6.5b

Cisco IOS XE 16.6.6

16.6.6

Cisco IOS XE 16.6.7A

16.6.7a

Cisco IOS XE 16.7.3

16.7.3

Cisco IOS XE 16.8.1A

16.8.1a

Cisco IOS XE 16.8.1B

16.8.1b

Cisco IOS XE 16.8.1C

16.8.1c

Cisco IOS XE 16.8.1S

16.8.1s

Cisco IOS XE 16.8.2

16.8.2

Cisco IOS XE 16.8.3

16.8.3

Cisco IOS XE 16.9.1A

16.9.1a

Cisco IOS XE 16.9.1B

16.9.1b

Cisco IOS XE 16.9.1C

16.9.1c

Cisco IOS XE 16.9.1D

16.9.1d

Cisco IOS XE 16.9.1S

16.9.1s

Cisco IOS XE 16.9.2

16.9.2

Cisco IOS XE 16.9.2A

16.9.2a

Cisco IOS XE 16.9.2S

16.9.2s

Cisco IOS XE 16.9.3A

16.9.3a

Cisco IOS XE 16.9.3H

16.9.3h

Cisco IOS XE 16.9.3S

16.9.3s

Cisco IOS XE 16.9.4C

16.9.4c

Cisco IOS XE 16.10.1A

16.10.1a

Cisco IOS XE 16.10.1B

16.10.1b

Cisco IOS XE 16.10.1E

16.10.1e

Cisco IOS XE 16.10.1S

16.10.1s

Cisco IOS XE 16.10.2

16.10.2

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.