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

Security Issue: fnc_switchPlayer #304

Closed
Torndeco opened this issue Mar 30, 2016 · 0 comments
Closed

Security Issue: fnc_switchPlayer #304

Torndeco opened this issue Mar 30, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@Torndeco
Copy link

https://github.com/CBATeam/CBA_A3/blob/master/addons/common/fnc_switchPlayer.sqf#L69-L71

You are compiling code (not compile final) as a global varibale.
PublicVariable this to everyone
Then remoteexec the code

There is no real reason to have this as a function that is compiled on the fly, it doesn't change.


In its current state its possible for hacker to compile a new function, sent it to all clients/servers.
Then remoteexec it. all the hacker just needs to worry about battleye script filters....

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

No branches or pull requests

3 participants