Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:22589
HistoryFeb 28, 2020 - 2:48 a.m.

Privilege Escalation Via Insecure Directory Creation

2020-02-2802:48:37
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
10

5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

3.7 Low

CVSS2

Access Vector

LOCAL

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:H/Au:N/C:P/I:P/A:P

ansible is susceptible to privilege escalation. When it is running a module with become-user, a temporary directory /var/tmp is created for for the become_user using umask 77 && mkdir -p in /var/tmp without checking the existence of parent directories and its permissions, allowing a user on the node to escalate privileges as the become_user and to modify the permissions of files owned by the original SSH user on the node.

5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

3.7 Low

CVSS2

Access Vector

LOCAL

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:H/Au:N/C:P/I:P/A:P