{"vuid":"VU#970915","idnumber":"970915","name":"Quake II Server performs console variable expansion on client-supplied input values","keywords":["Quake 2","Quake II","Server","disclose sensitive information","say command","$rcon_password","macros","rcon hack"],"overview":"The Quake II Server contains an information leakage vulnerability that allows remote attackers to gain control of the game server process.","clean_desc":"The Quake II Server responds to console commands from Quake II clients to perform a variety of game and server management functions. Both the server and client store configuration and status information in console variables (cvars) that are accessed using a syntax of \"$name\", where \"name\" is the name of the console variable to be expanded. In normal operation, users interact with a client console application to issue commands to the server. If the user types a command containing the string \"$rcon_password\", the client console will include the value of a local variable named \"rcon_password\" in the command string. However, if the client console is modified to prevent local variable expansion, an attacker can pass an unexpanded variable string to the server. When the server processes the string, it will expand it using the local variables of the server, not the client. For example, the \"say\" command broadcasts text messages from one Quake II client to other players via the server. If the server encounters a \"say\" command that contains an unexpanded variable string such as \"$rcon_password\", it will expand the variable name and include the resulting text in the broadcast message. This can be used by an attacker to gather information from affected servers, including authentication information that would allow the attacker to gain control of the game server process.","impact":"Attackers can obtain authentication information from affected servers, resulting in compromise of the game server process.","resolution":"Apply a patch from your vendor Please see the vendor section of this document for information on patch availability and locations.","workarounds":"","sysaffected":"","thanks":"The CERT/CC thanks Richard Stanway for his assistance in researching this vulnerability.","author":"This document was written by Jeffrey P. Lanza.","public":["http://www.aq2tng.barrysworld.net/","http://www.quakesrc.org/forum/topicDisplay.php?topicID=160","http://www.securityfocus.com/bid/4744"],"cveids":["CVE-2002-0770"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2002-05-15T20:55:24Z","publicdate":"2002-03-08T00:00:00Z","datefirstpublished":"2002-05-29T19:24:02Z","dateupdated":"2002-05-29T19:24:14Z","revision":25,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"20","cam_exploitation":"10","cam_internetinfrastructure":"0","cam_population":"10","cam_impact":"10","cam_easeofexploitation":"15","cam_attackeraccessrequired":"20","cam_scorecurrent":"16.875","cam_scorecurrentwidelyknown":"16.875","cam_scorecurrentwidelyknownexploited":"22.5","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":16.875,"vulnote":null}