Closed mjourdan closed 2 years ago
Thanks for the report.
IMO, the appropriate rights should be:
I am going to check this issue.
internal todo: check if there is the same problem in the rpm packages
in rpm packages, permissions are: root:root I am doing the fix in debian packages for alignment with rpm ones.
Fixed and tested in 6b0c813 (2.5) and 6c15e31 (2.6) Ready for 2.5.12 and 2.6.2 releases
Thank you!
Hello,
I noticed the ldap user was given full ownership of
/usr/local/openldap/sbin
andslapd-cli
, which could result in privilege escalation.Additional info
The openldap-ltb package comes with all files under sbin belonging to root:
Installing openldap-ltb-mdb-utils changes ownership to ldap:ldap:
I suppose the line responsible for this in openldab-ltb-mdb-utils.postinst could be removed, and existing installation could be fixed by triggering openldap-ltb's postinstall script.
Regards,