Skip to content
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

Restrict Certain OLE Data Coming in From Different Processes #11367

Open
lonitra opened this issue May 14, 2024 · 0 comments
Open

Restrict Certain OLE Data Coming in From Different Processes #11367

lonitra opened this issue May 14, 2024 · 0 comments
Assignees
Labels
area-Clipboard Issues related to Clipboard

Comments

@lonitra
Copy link
Member

lonitra commented May 14, 2024

Drag/drop or cut/paste items from one process to another can occur and there is no restrictions in place at the moment. We should consider adding the ability to avoid deserializing binary formatted OLE items unless source originated from in process via a switch. The key points to check at for whether the data came from a different process would be in Clipboard.GetDataObject and DropTarget.CreateWinFormsDataObjectForOutgoingDropData as these will occur before we pass the data back out to the user.
As part of this we should understand what OLE already does/does not allow e.g. is pasting/dropping allowed from elevated process to non-elevated? Vice versa? Etc. We should also determine whether the switch should be by default on or not.

@lonitra lonitra added the untriaged The team needs to look at this issue in the next triage label May 14, 2024
@elachlan elachlan added the area-Clipboard Issues related to Clipboard label May 14, 2024
@lonitra lonitra removed the untriaged The team needs to look at this issue in the next triage label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Clipboard Issues related to Clipboard
Projects
None yet
Development

No branches or pull requests

3 participants