Description
In Juju from version 3.0.0 through 3.6.18, the authorization of the "secret-set" tool is not performed correctly, which allows a grantee to update the secret content, and can lead to reading or updating other secrets. When the "secret-set" tool logs an error in an exploitation attempt, the secret is still updated contrary to expectations, and the new value is visible to both the owner and the grantee.
Problem types
CWE-863 Incorrect Authorization
CWE-284 Improper Access Control
Product status
3.0.0 (semver) before 3.6.19
Credits
Dima Tisnek
References
github.com/juju/juju/security/advisories/GHSA-439w-v2p7-pggc