Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in 389-ds-base. A replication session established via the StartNSDS50ReplicationRequest extended operation sets a connection-wide marker rather than one scoped to the replica's own suffix. Every subsequent operation sent on that connection is tagged with the server's internal "replicated operation" flag, and the server's access-control checks unconditionally grant success for any operation carrying this flag, bypassing ACI evaluation entirely regardless of the target entry or operation type. As a result, an account authorized only as a replication bind DN can, after initiating a replication session, read and modify the server's own configuration tree (cn=config) -- including attributes such as nsslapd-rootpw -- even though that account holds no privileges over cn=config and the replication session was only intended to authorize updates to its own replicated suffix. The elevated access persists even after a subsequent bind as a different, unprivileged identity on the same connection. This is an incorrect-authorization issue (CWE-863): an access-control check exists but is applied too broadly, to a scope wider than the trust relationship it was meant to represent.