Skip to content

fix(roster): require CheckAuth on getRosterList callback - #568

Open
Pajt9whauht283as wants to merge 1 commit into
Project-Sloth:mainfrom
Pajt9whauht283as:fix/security-roster-auth
Open

fix(roster): require CheckAuth on getRosterList callback#568
Pajt9whauht283as wants to merge 1 commit into
Project-Sloth:mainfrom
Pajt9whauht283as:fix/security-roster-auth

Conversation

@Pajt9whauht283as

Copy link
Copy Markdown

Adds the missing auth check to getRosterList, matching the pattern already used by every other callback in this file (getOfficerTags, promoteOfficer, ireOfficer, updateOfficerCallsign). Without it, any player can pull the full roster (names, citizenids, callsigns, ranks, certifications and live radio channels) regardless of MDT access.

Refs #566

getRosterList was the only callback in roster.lua without an auth check,
exposing full names, citizenids, callsigns, ranks, certifications and live
radio channels to any player. Matches the pattern used by getOfficerTags,
promoteOfficer, fireOfficer and updateOfficerCallsign.

Closes Project-Sloth#566
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.

1 participant