Bug 53320 - Remove recursive evaluation of UCR templates
Remove recursive evaluation of UCR templates
Status: NEW
Product: UCS
Classification: Unclassified
Component: UCR
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-21 16:09 CEST by Florian Best
Modified: 2021-05-21 16:09 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Security
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-05-21 16:09:46 CEST
The recursive evaluation of UCR templates is only necessary in some very seldom cases. We should disable it by default.

Example how to trigger it:

# touch '/var/lib/univention-ldap/local-schema/@!@__import__("subprocess").call(("id",))@!@'
# ucr commit /etc/ldap/slapd.conf
# grep root /etc/ldap/slapd.conf
include         /var/lib/univention-ldap/local-schema/uid=0(root) gid=0(root) Gruppen=0(root)