DescriptionRichard Stanway
2007-02-14 06:21:10 EST
The server blindly trusts the "ip" key in SV_UserinfoChanged if it is set by the client, allowing a user to supply a fake "ip" key and bypass any game-based IP restrictions. Additionally, a malicious oversized userinfo string could cause the IP address added by the server to be truncated or missing entirely.
Bug discovered by vcxzet and Polly.
Created attachment 1264[details]
svn1042 userinfo ip fix
Mostly the same as R1CH's fix, but is more exact on what constitutes a userinfo string overflow.
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.
--ryan.
Created attachment 1263 [details] Patch against 898
Created attachment 1264 [details] svn1042 userinfo ip fix Mostly the same as R1CH's fix, but is more exact on what constitutes a userinfo string overflow.