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
11

0.001 Low

EPSS

Percentile

39.0%

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.