Skip to content

Commit

Permalink
Merge PR #3586: Murmur: fix Denial of Service vulnerability in msgCha…
Browse files Browse the repository at this point in the history
…nnelState()
  • Loading branch information
davidebeatrici committed Jan 25, 2019
2 parents e31d267 + 3edc46f commit 15f268c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/murmur/Messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,13 @@ void Server::msgChannelState(ServerUser *uSource, MumbleProto::ChannelState &msg
}
}

if (msg.has_max_users()) {
if (! hasPermission(uSource, c, ChanACL::Write)) {
PERM_DENIED(uSource, c, ChanACL::Write);
return;
}
}

// All permission checks done -- the update is good.

if (p) {
Expand Down

0 comments on commit 15f268c

Please sign in to comment.