Improper Privilege Management
CVE-2021-3978
Summary
Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki through 1.4.1 When copying files with rsync, octorpki uses the "-a" "flag 0", which forces rsync to copy binaries with the suid bit set as root. Since the provided service definition defaults to root (https://github.com/cloudflare/cfrpki/blob/master/package/octorpki.service) this could allow for a vector, when combined with another vulnerability that causes octorpki to process a malicious TAL file, for a Local Privilege Escalation.
- LOW
- LOCAL
- HIGH
- UNCHANGED
- NONE
- LOW
- NONE
- NONE
CWE-269 - Improper Privilege Management
An effective privilege management infrastructure provides valid users with required access and privileges across heterogeneous technology environments. An application with a faulty privilege management infrastructure allows higher than authorized privileges or enables privilege escalation. This can lead to security incidents such as system infiltration, data breach, and complete system takeover.
References
Advisory Timeline
- Published