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

Shared Folders Restriction? #295

Open
IchiroKawashima opened this issue Jan 11, 2022 · 2 comments
Open

Shared Folders Restriction? #295

IchiroKawashima opened this issue Jan 11, 2022 · 2 comments

Comments

@IchiroKawashima
Copy link

Hi,

I found that VMs can mount any folders owned by the user who runs Virtual Box (let's say, it's vbox).
This means that VMs can mount /home/vbox and edit /home/vbox/.config/VirtualBox/VirtualBox.xml anytime.
If the authentication library is set as Builtin, non-admin users could rewrite /home/vbox/.config/VirtualBox/VirtualBox.xml and get privileged.

I guess it would be better to add some logic that restricts shared folders to $brouserRestrictFolders.

Thank you.

@titoshadow
Copy link

titoshadow commented Jan 16, 2022

Shouldn't that kind of restrictions rely on the web server more than phpvirtualbox ?

@trasherdk
Copy link

Nah, it's the $HOME of the user running Virtualbox.

I did try if open_basedir would have effect, it didn't 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants