GLSA 200505-13: FreeRADIUS: Buffer overflow and SQL injection
Posted on: 05/17/2005 01:56 PM

A FreeRADIUS security update is available for Gentoo Linux

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200505-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: FreeRADIUS: Buffer overflow and SQL injection vulnerability
Date: May 17, 2005
Bugs: #91736
ID: 200505-13

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=======

The FreeRADIUS server is vulnerable to a buffer overflow and an SQL injection attack, possibly allowing the compromise of the system.

Background
=========

FreeRADIUS is an open source RADIUS authentication server implementation.

Affected packages
================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-dialup/freeradius lt; 1.0.2-r3 gt;= 1.0.2-r3

Description
==========

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).

Impact
=====

By supplying carefully crafted input, a malicious user could cause a buffer overflow or an SQL injection, possibly leading to the execution of arbitrary code or disclosure and the modification of sensitive data.

Workaround
=========

There are no known workarounds at this time.

Resolution
=========

All FreeRADIUS users should upgrade to the latest available version:

# emerge --sync
# emerge --ask --oneshot --verbose "gt;=net-dialup/freeradius-1.0.2-r3"

References
=========

[ 1 ] BugTraq ID 13540
http://www.securityfocus.com/bid/13540/
[ 2 ] BugTraq ID 13541
http://www.securityfocus.com/bid/13541/

Availability
===========

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200505-13.xml

Concerns?
========

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at http://bugs.gentoo.org.

License
======

Copyright 2005 Gentoo Foundation, Inc; referenced text belongs to its owner(s).

The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200505_13_freeradius_buffer_overflow_and_sql_injection.html)