{"vuid":"VU#589523","idnumber":"589523","name":"Multiple implementations of the RADIUS protocol contain a digest calculation buffer overflow","keywords":["RADIUS protocol","Remote Authentication Dial-In User Server","stream cipher","Access-Request packet"],"overview":"Multiple implementations of the RADIUS protocol contain a buffer overflow in the function that calculates message digests.","clean_desc":"During the message digest calculation, a string containing the shared secret is concatenated with a packet received without checking the size of the target buffer. This makes it possible to overflow the buffer with shared secret data. This can lead to denial of service against the server. If the shared secret is known by the attacker, then it may be possible to use this information to execute arbitrary code with the privileges of the victim RADIUS server or client, usually root. It should be noted that gaining knowledge of the shared secret is not a trivial task. Certain implementations of RADIUS vulnerable to VU#589523 may allow the execution of code if multiple packets are processed in the same thread, and the last 1 or 2 bytes of the shared secret is with in a certain range. In this case, specific knowledge of the shared secret is not required.","impact":"Without knowledge of the shared secret, an attacker can cause a denial of service against the server, or the client via the server response. With knowledge of the shared secret, an attacker may be able to execute arbitrary code. In certain implementations, specific knowledge of the shared secret is not required to execute arbitrary code if the last 1 or 2 bytes of the shared secret are with in a certain range.","resolution":"Apply a patch or upgrade to the version specified by your vendor.","workarounds":"Implementing a firewall to filter packets from outside of your network perimeter from being sent to the RADIUS server may help reduce the risk of attack. Note that this is not sufficient to prevent the vulnerability from being exploited by users who are within your network perimeter.","sysaffected":"","thanks":"Our thanks to Joshua Hill <josh-radius@untruth.org> and 3APA3A <3APA3A@SECURITY.NNOV.RU> for their report and analysis of this vulnerability.","author":"This document was written by Jason Rafail and is based on information provided by 3APA3A.","public":["http://www.untruth.org/~josh/security/radius","http://www.securityfocus.com/bid/3530"],"cveids":["CVE-2001-1376"],"certadvisory":"CA-2002-06","uscerttechnicalalert":null,"datecreated":"2001-11-13T13:48:32Z","publicdate":"2001-11-12T00:00:00Z","datefirstpublished":"2002-03-04T19:27:57Z","dateupdated":"2002-04-16T18:56:33Z","revision":21,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"5","cam_exploitation":"0","cam_internetinfrastructure":"10","cam_population":"10","cam_impact":"17","cam_easeofexploitation":"10","cam_attackeraccessrequired":"12","cam_scorecurrent":"5.7375","cam_scorecurrentwidelyknown":"11.475","cam_scorecurrentwidelyknownexploited":"19.125","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":5.7375,"vulnote":null}