Closed Bluscream closed 5 years ago
Yes, that's true but I have some clarifications:
But apart from that this sort of attack could work (without testing).
Three fixes come to my mind:
Solution 3 sounds like the cleanest one, but needs some work.
Just for the record: The cleanest solution would be if TeamSpeak Systems would add the sending client id in the original plugin sdk :)
I am with you at the last part, i mean Teaspeak took ~3 days to do it and im sure in Teamspeak it wont happen at all.
About your workarounds: I'm not too much into encryption but @Flakebi pointed out that a "nonce" might be what you're looking for. Tho i'm certain that using local pkg counters would be sufficient to avoid resending and gives the benefit of network redundancy
I just talked with @Flakebi and @Splamy about your implementation and they pointed out that someone who recieves the command can resend it to others and they would assume the cmd was sent by you. Take the following scenario as example:
You have two music bots and one (main) is playing and second (backup) is not playing
ping
every 30 secondsNow imagine some malicious user trying to tamper with the system:
ping
every 30 seconds