FreeRADIUS: SQL injection and Denial of Service vulnerability The FreeRADIUS server is vulnerable to an SQL injection attack and a buffer overflow, possibly resulting in disclosure and modification of data and Denial of Service. freeradius 2005-05-17 2006-05-22 91736 remote 1.0.2-r4 1.0.2-r4

FreeRADIUS is an open source RADIUS authentication server implementation.

Primoz Bratanic discovered that the sql_escape_func function of FreeRADIUS may be vulnerable to a buffer overflow (BID 13541). He also discovered that FreeRADIUS fails to sanitize user-input before using it in a SQL query, possibly allowing SQL command injection (BID 13540).

By supplying carefully crafted input, a malicious user could cause an SQL injection or a buffer overflow, possibly leading to the disclosure and the modification of sensitive data or Denial of Service by crashing the server.

There are no known workarounds at this time.

All FreeRADIUS users should upgrade to the latest available version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-dialup/freeradius-1.0.2-r4"
BugTraq ID 13540 BugTraq ID 13541 CVE-2005-1454 CVE-2005-1455 koon DerCorny koon