FreeRADIUS radius_xlat function SQL injection
| freeradius-xlat-sql-injection (20449) |
Description:
FreeRADIUS is vulnerable to SQL injection caused by improper validation of user-supplied input in the radius_xlat() function. A remote attacker could send a specially-crafted SQL statement which would allow the attacker to add, modify or delete data in the backend database.
Platforms Affected:
- FreeRADIUS, FreeRADIUS 1.0.2
- Gentoo, Linux
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 AS
- SuSE, SuSE Linux
Remedy:
Upgrade to the latest version of FreeRADIUS (1.0.3 or later), available from the FreeRADIUS Web site. See References.
For SuSE Linux:
Apply the appropriate fixed packages via the SuSE FTP server or the YaST Online Update, as listed in SuSE Security Summary Report SUSE-SR:2005:014. See References.
For Gentoo Linux:
Upgrade tot he latest version of freeradius (1.0.2-r4 or later), as listed in Gentoo Linux Security Announcement GLSA 2005-05-13. See References.
For Red Hat Linux:
Refer to RHSA-2005:524-05 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Data Manipulation
References:
- Debian Bug report logs - #307720, freeradius: Few possible security problems at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=307720.
- FreeRADIUS Web site, FreeRADIUS -- building the perfect RADIUS server at http://www.freeradius.org/.
- FreeRADIUS Web site, FreeRADIUS -- Security Contacts and notifications at http://www.freeradius.org/security.html.
- BID-13540: FreeRadius RLM_SQL.C SQL Injection Vulnerability
- CVE-2005-1454: SQL injection vulnerability in the radius_xlat function in the SQL module for FreeRADIUS 1.0.2 and earlier allows remote authenticated users to execute arbitrary SQL commands via (1) group_membership_query, (2) simul_count_query, or (3) simul_verify_query configuration entries.
- GLSA-200505-13: FreeRADIUS: SQL injection and Denial of Service vulnerability
- RHSA-2005-524: freeradius security update
- SECTRACK ID: 1013909: FreeBSD `rlm_sql.c` Contains SQL Injection and Buffer Overflow Bugs
- SUSE-SR:2005:014: SUSE Security Summary Report
Reported:
May 06, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
