-
Notifications
You must be signed in to change notification settings - Fork 103
Issue 6367 - RFE support of Session Tracking Control internet draft #6403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This is potentially an RCE due to ascii control characters when viewed by an admin. |
|
Thank @Firstyear for the rapid review. I assume RCE means remote code execution. I agree that taking client data requires careful checking. This data is ascii printable, less than 64K long. It is truncated to 15 first chars that are print in the log. Those chars (15bytes) are stored in the pblock. How can it be a RCE ? |
|
Not sure if it is really a RCE but anyway I think that @Firstyear concern is valid: |
|
@tbordaz ascii control characters - there is a method of adding them into a log such than an admin who views the log will trigger code to exec in their shell. You need to filter our ascii control chars is generally the easiest fix. |
8f04829 to
07aaac9
Compare
|
Looks good except a few minor points: |
Bug description: This RFE is to support https://datatracker.ietf.org/doc/html/draft-wahl-ldap-session-03 In short, it allows a client to send strings in a control. Those strings are added to the operation result logged in the access logs. Those strings are meaningful for the client (debug, kmonitoring,...). Fix description: The design is https://www.port389.org/docs/389ds/design/session-identifier-in-logs.html fixes: 389ds#6367 Reviewed by: William Brown, Pierre Rogier (Thanks !!!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…6403) Bug description: This RFE is to support https://datatracker.ietf.org/doc/html/draft-wahl-ldap-session-03 In short, it allows a client to send strings in a control. Those strings are added to the operation result logged in the access logs. Those strings are meaningful for the client (debug, kmonitoring,...). Fix description: The design is https://www.port389.org/docs/389ds/design/session-identifier-in-logs.html fixes: #6367 Reviewed by: William Brown, Pierre Rogier (Thanks !!!)
Bug description:
This RFE is to support https://datatracker.ietf.org/doc/html/draft-wahl-ldap-session-03
In short, it allows a client to send strings in a control.
Those strings are added to the operation result logged in the
access logs.
Those strings are meaningful for the client (debug,
kmonitoring,...).
Fix description:
The design is https://www.port389.org/docs/389ds/design/session-identifier-in-logs.html
fixes: #6367
Reviewed by: