Fedora Account System
Red Hat Associate
Red Hat Customer
SamrUnicodeChangePasswordUser4 (opnum 73) requires no policy handle and is available through anonymous RPC. For an existing account name, an attacker can select 5,000 to 1,000,000 PBKDF2-HMAC-SHA512 iterations. Samba derives the key before it can authenticate the MAC, so invalid ciphertext and tags still consume the maximum work. In source4, this synchronous work executes in rpc(0), the worker serving SAMR and LSA handles. The handler also opens a SAMDB transaction before account lookup and retains it across the KDF, AEAD verification and change attempt. This turns protocol-cost work into worker starvation and blocks dependent SAMDB writes. Source3 has the same anonymous synchronous KDF. It does not retain the source4 transaction, but its rpcd_lsad process uses a finite worker pool, so five concurrent requests can occupy the default pool. ## Root cause The protocol requires costly derivation before MAC validation, but the server does not bound admission before starting that work. Source4 additionally holds a write transaction during work that does not need the transaction. Source3 offers only the finite-worker limit. Neither implementation has a global, per-origin or per-account cost budget. There is also a large timing difference between existing and nonexistent accounts. It should be assessed separately as a possible account-enumeration issue and is not used to raise the primary score.