[38890] in bugtraq

home help back first fref pref prev next nref lref last post

[ GLSA 200505-13 ] FreeRADIUS: Buffer overflow and SQL injection vulnerability

daemon@ATHENA.MIT.EDU (Sune Kloppenborg Jeppesen)
Tue May 17 18:32:54 2005

From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
To: gentoo-announce@gentoo.org
Date: Tue, 17 May 2005 16:27:26 +0200
Cc: bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
        security-alerts@linuxsecurity.com
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart6143601.ubThfzc7E3";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200505171627.27285.jaervosz@gentoo.org>

--nextPart6143601.ubThfzc7E3
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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     < 1.0.2-r3                  >= 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 ">=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

--nextPart6143601.ubThfzc7E3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCif9PzKC5hMHO6rkRAq2cAJ0QrRwHMzSlrhvz3bqxnUJlGPGoUwCfRsgs
pO7tsiQHJi28sPEtK4HoqWM=
=3cBw
-----END PGP SIGNATURE-----

--nextPart6143601.ubThfzc7E3--

home help back first fref pref prev next nref lref last post