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

RPC passes Objects by default #27395

Closed
LunaticExperimentalist opened this issue Mar 25, 2019 · 1 comment · Fixed by #27485
Closed

RPC passes Objects by default #27395

LunaticExperimentalist opened this issue Mar 25, 2019 · 1 comment · Fixed by #27485

Comments

@LunaticExperimentalist
Copy link

Godot version:
3.1

OS/device including version:
Debian 9

Issue description:
High level multiplayer API allows passing Objects with scripts to peers. This opens up a remote code execution exploit.

Steps to reproduce:
Initialize NetworkedMultiplayerENet on a client and server, connect them, and set them as the network peer interfaces for their respective scene trees. Pass scripted object over RPC.

Minimal reproduction project:
Exploit.zip

@Faless
Copy link
Collaborator

Faless commented Mar 25, 2019

This must be a bug down the line. allow_object_decoding is false by default, so the label should not be decoded. I'm investigating.

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