]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2020-25722 Ensure the structural objectclass cannot be changed
authorAndrew Bartlett <abartlet@samba.org>
Tue, 19 Oct 2021 22:36:58 +0000 (11:36 +1300)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:12 +0000 (10:52 +0100)
commit8513fe9e30a65060fc8908f42756e44550176d7f
treef56917c7aaeeb5e1f5f57aea8e1274844172bebc
parentc59f5762ead77bcf9add3994a88a6d2b8e383869
CVE-2020-25722 Ensure the structural objectclass cannot be changed

If the structural objectclass is allowed to change, then the restrictions
locking an object to remaining a user or computer will not be enforcable.

Likewise other LDAP inheritance rules, which allow only certain
child objects can be bypassed, which can in turn allow creation of
(unprivileged) users where only DNS objects were expected.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14889

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
selftest/knownfail.d/ldap
selftest/knownfail.d/modify-order
selftest/knownfail.d/uac_mod_lock [deleted file]
selftest/knownfail.d/uac_objectclass_restrict
source4/dsdb/samdb/ldb_modules/objectclass.c