News for hackers. Stuff that matters.
Re:OneDrive File Picker Flaw Provides Apps Full Read Access ... by mchenier on Monday June 02, 2025 @01:14AM (#44155980)
One way to avoid this problem and considerably reduce the attack surface is to: 1- Create a dummy Onedrive account. 2- Share a folder on your main Onedrive to the dummy account. 3- In the dummy account, maps the shared link to a folder for easier access as if it was a normal folder. (May not be required for some apps). 4- Only lets third party apps access the dummy Onedrive account with its single folder.

This doesn’t give access to your main Onedrive account to any apps, just the files and folders under the shared folder you have shared with the dummy account.

Re:OneDrive File Picker Flaw Provides Apps Full Read Access ... by ThePowerOfFuet on Monday June 02, 2025 @03:48AM (#44156541)
To summarize: "Avoid OneDrive."
Re:OneDrive File Picker Flaw Provides Apps Full Read Access ... by pawanjswal on Monday June 02, 2025 @01:42AM (#44156078)
It's hard to believe that the OneDrive File Picker still doesn't have fine grained OAuth scopes in 2025. Allowing read access to the whole drive just to upload one file goes against the principle of least privilege.
Re:OneDrive File Picker Flaw Provides Apps Full Read Access ... by hulitu on Wednesday June 04, 2025 @06:09AM (#44179098)
> It's hard to believe that the OneDrive File Picker still doesn't have fine grained OAuth scopes in 2025

We are talking about Microsoft here. Me gets a new laptop, company allows SW instalation only from an internal portal, i don't find Teams there, i ask a colleague how does one one install Teams: IT said to download it from microsoft.com. ROTFL. Of course it does not need "elevated priviledges" to install. Of course it is installed for every account on the computer and has access to all user files. But some people still _believe_ the (first appeared in Win95) "most secure Windows ever" lie.

Re:OneDrive File Picker Flaw Provides Apps Full Read Access ... by TowerTall on Monday June 02, 2025 @08:09AM (#44157985)
OneDrive is rooted in Git Virtual File System (was GVFS / now VFS for Git) [1] and has historically been used by the Microsoft developer division to manage very large Git repositories where files were downloaded on demand.

Git’s model inherently is repository-wide access – if you can clone a repo, you get all its files. There is no built-in concept of per-file read permissions in Git.

Git and OneDrive emphasize a single large namespace (a repository or a personal drive) that authorized users can fully access, with optimization focused on sync and storage rather than fine-grained security boundaries. They assume a top-level trust (the user or app is either allowed or not allowed to access the dataset).

To get a sense of the scope of what it would take for Microsoft to implement fine-grained permission levels into OneDrive. It would be similar to implementing it into Git.

[1] https://github.com/microsoft/VFSForGit

Re:OneDrive File Picker Flaw Provides Apps Full Read Access ... by type0 on Monday June 02, 2025 @01:16PM (#44161019)
> In response, Microsoft is considering future improvements

Who knows, maybe it works as intended, that's MS Windows in a nutshell

Re:OneDrive File Picker Flaw Provides Apps Full Read Access ... by hulitu on Wednesday June 04, 2025 @06:10AM (#44179106)
They did rounded the buttons in Office 365 some months ago. /s