Univention Bugzilla – Bug 37085
uidNumber not checked while creating user
Last modified: 2023-03-07 11:30:59 CET
See https://forge.univention.org/bugzilla/show_bug.cgi?id=37083 -there is a range limit for "valid" uidNumbers. You can still add a new user with a uidNumber outside this limit...afterwards, as the limit was reached, no more users are creatable anymore... We should validate this value, if there is a known limitation.
*** Bug 41036 has been marked as a duplicate of this bug. ***
We have a UCS@school ACL which allows write access to uidNumber/gidNumber which can be used to cause DoS as teacher. access to dn.base="cn=gidNumber,cn=temporary,cn=univention,dc=school,dc=local" attrs=univentionLastUsedValue by dn.regex="^uid=([^,]+),cn=(lehrer|lehrer und mitarbeiter|mitarbeiter|admins),cn=users,ou=([^,]+),dc=school,dc=local$$" write by * none break access to dn.base="cn=uidNumber,cn=temporary,cn=univention,dc=school,dc=local" attrs=univentionLastUsedValue by dn.regex="^uid=([^,]+),cn=(lehrer|lehrer und mitarbeiter|mitarbeiter|admins),cn=users,ou=([^,]+),dc=school,dc=local$$" write by * none break
Also by every DC: access to dn.regex="^cn=([^,]+),cn=temporary,cn=univention,dc=school,dc=local$" attrs=univentionLastUsedValue by dn.children="cn=dc,cn=computers,dc=school,dc=local" write
There is a Customer ID set so I set the flag "Enterprise Customer affected".
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
*** Bug 37084 has been marked as a duplicate of this bug. ***