In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go does not validate the Type field when handling PUT/PATCH requests to /1.0/certificates/{fingerprint} for restricted TLS certificate users, allowing a remote authenticated attacker to escalate privileges to cluster admin.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Canonical Lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
|
4.12
|
<= 5.0.6
|
|
Canonical Lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
|
5.21.0
|
<= 5.21.4
|
|
Canonical Lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
|
6.0
|
<= 6.7
|