Skip to content

Conversation

xLive
Copy link
Member

@xLive xLive commented Aug 21, 2025

This PR fixes missing ACL rights in the admin and admin2 resources.

When an ACL right isn’t set, hasObjectPermissionTo in admin & admin2 resources grants the permission by default (#663 will change that). This allowed cheaters to trigger certain actions from the client-side since no ACL right were explicitly set for them.

admin/conf/ACL.xml

  • command.removefromteam
  • command.warpto
  • command.setlights
  • command.setplates

admin2/conf/ACL.xml

  • command.unfreeze
  • command.unmute
  • command.warpto
  • command.createteam
  • command.destroyteam
  • command.blowvehicle
  • command.destroyvehicle
  • command.shutdown (already exists in default acl.xml, but added here just in case)

@xLive xLive requested a review from jlillis as a code owner August 21, 2025 16:36
@tzwer
Copy link
Contributor

tzwer commented Aug 21, 2025

I don't know how to thank you for this!
It saved us days of searching for exploits in our scripts.

Here is what the server looked like with that exploit 😂
image-10

@Dutchman101 Dutchman101 merged commit 18d4c2f into multitheftauto:master Aug 21, 2025
1 check failed
@xLive xLive deleted the fix/admin-missing-rights branch August 22, 2025 18:11
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

Successfully merging this pull request may close these issues.

3 participants