Bug 43246 - validation of DN in syntax class UMC_Objects
validation of DN in syntax class UMC_Objects
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-22 17:30 CET by Florian Best
Modified: 2019-03-13 14:21 CET (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): Cleanup, Security, Troubleshooting
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 2016-12-22 17:30:07 CET
The syntax class UDM_Objects currently validates a DN syntax with the regex re.compile('^([^=,]+=[^=,]+,)*[^=,]+=[^=,]+$') instead of ldap.dn.str2dn().

Also it doesn't validate if the object exists and is actually of the specified types. This causes that one can e.g. create networks/network objects with not existing 'dnsEntryZoneForward' or 'dnsEntryZoneReverse' entries.
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:20:48 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 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.