发布时间 :2005-12-31 00:00:00
修订时间 :2017-10-10 21:30:31

[原文]Off-by-one error in the sql_error function in sql_unixodbc.c in FreeRADIUS, and possibly other versions including 1.0.4, might allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code by causing the external database query to fail. NOTE: this single issue is part of a larger-scale disclosure, originally by SUSE, which reported multiple issues that were disputed by FreeRADIUS. Disputed issues included file descriptor leaks, memory disclosure, LDAP injection, and other issues. Without additional information, the most recent FreeRADIUS report is being regarded as the authoritative source for this CVE identifier.



- CVSS (基础分值)

CVSS分值: 6.4 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

cpe:/a:freeradius:freeradius:1.0.3FreeRADIUS 1.0.3
cpe:/a:freeradius:freeradius:1.0.4FreeRADIUS 1.0.4

- OVAL (用于检测的技术细节)

oval:org.mitre.oval:def:10449Off-by-one error in the sql_error function in sql_unixodbc.c in FreeRADIUS, and possibly other versions including 1.0.4, might all...

- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  SGI  20060404-01-U
(PATCH)  BID  14775
(UNKNOWN)  XF  freeradius-token-sqlunixodbc-dos(22211)

- 漏洞信息

中危 设计错误
2005-12-31 00:00:00 2006-04-07 00:00:00

- 公告与补丁


- 漏洞信息 (F47023)

Debian Linux Security Advisory 1089-1 (PacketStormID:F47023)
2006-06-05 00:00:00

Debian Security Advisory 1089-1 - Several problems have been discovered in freeradius, a high-performance and highly configurable RADIUS server.

Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 1089-1                                       Martin Schulze
June 3rd, 2006                
- --------------------------------------------------------------------------

Package        : freeradius
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE IDs        : CVE-2005-4744 CVE-2006-1354
BugTraq IDs    : 17171 17293
Debian Bug     : 359042

Several problems have been discovered in freeradius, a
high-performance and highly configurable RADIUS server.  The Common
Vulnerabilities and Exposures project identifies the following


    SuSE researchers have discovered several off-by-one errors may
    allow remote attackers to cause a denial of service and possibly
    execute arbitrary code.


    Due to insufficient input validation it is possible for a remote
    attacker to bypass authentication or cause a denial of service.

The old stable distribution (woody) does not contain this package.

For the stable distribution (sarge) this problem has been fixed in
version 1.0.2-4sarge1.

For the unstable distribution (sid) this problem has been fixed in
version 1.1.0-1.2.

We recommend that you upgrade your freeradius package.

Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.1 alias sarge
- --------------------------------

  Source archives:
      Size/MD5 checksum:      897 56748d8bbc17aa4e7393b990eb74b3eb
      Size/MD5 checksum:    15630 20c245bcb697ed963fa5599fd64412fd
      Size/MD5 checksum:  1931715 422a004f2354b2a7364f5b683891a26a

  Architecture independent components:
      Size/MD5 checksum:   111708 ad56d19ec032f33dc7c80816176fdb33

  Alpha architecture:
      Size/MD5 checksum:  2234836 a9bfbf394a28e96c3a548f4c9cc6daf1
      Size/MD5 checksum:    54158 01356bafaa902def24608e4ff0f5234f
      Size/MD5 checksum:    54986 bee15f15d005285f827766f996c60ce4
      Size/MD5 checksum:   107460 56d7d0ee92185d08baac041d5997849f
      Size/MD5 checksum:    55930 f9b5543a03e90b5dff4657eb74c17e1d

  AMD64 architecture:
      Size/MD5 checksum:  1961200 87bf5381e4746425397e6315811aa202
      Size/MD5 checksum:    53024 c61df3f04a0f4022edf411bd98416ba6
      Size/MD5 checksum:    53786 e21e4a4f2073dd8ed6eb123432b45360
      Size/MD5 checksum:    99594 5090d67f5a4da97b097656608a570ba6
      Size/MD5 checksum:    54750 0431a87e678e805a6ef551dd8e5307aa

  ARM architecture:
      Size/MD5 checksum:  2034200 a78f3ddf85f1e71c32e9b86bbbbe8e85
      Size/MD5 checksum:    51194 7238cf725afbcaf03efab289cc6bd11b
      Size/MD5 checksum:    52600 9f16d186efe2c9ee581516d9263acd33
      Size/MD5 checksum:    96374 0e057ed9a937bcf2e6a0604434510bb4
      Size/MD5 checksum:    53186 4c11d61d72cdfba0ba4282f49955d727

  Intel IA-32 architecture:
      Size/MD5 checksum:  2028508 9be926753b1314b3e7453bcb36773c03
      Size/MD5 checksum:    51446 953e5b759545a6238bdccb91260e6f25
      Size/MD5 checksum:    52560 79302631d1252b0c5916f2c3659f0eb9
      Size/MD5 checksum:    97512 4bbd2b53a66a237ce910fcf147302637
      Size/MD5 checksum:    53282 2e067204ac8293570a8a177763afdcc3

  Intel IA-64 architecture:
      Size/MD5 checksum:  2375466 943bd9e40c1ffab804b453d8d6acc7f4
      Size/MD5 checksum:    53962 0cb36b4572da7058d92fe910d492c95f
      Size/MD5 checksum:    55154 f075e38a76ab13c658f7131721f4489b
      Size/MD5 checksum:   112832 a64d3649091a27afe04ca6cb4136f668
      Size/MD5 checksum:    56028 99aa443bc1fd14e50e50a507aeec0100

  HP Precision architecture:
      Size/MD5 checksum:  2039272 d016b1a80144623a6e6ee3adabad8ae8
      Size/MD5 checksum:    54602 ee33f588d756dd6196f79b1447f0aa8f
      Size/MD5 checksum:    56014 bb6ab35f1ad31b57a7bd19d071812693
      Size/MD5 checksum:   105438 7bd780bb55549c009ba25c59f07306a7
      Size/MD5 checksum:    56354 1cdfaf9766a45583c41573f53dc1947e

  Motorola 680x0 architecture:
      Size/MD5 checksum:  2017716 7e004414928552bd42e6824f45b09608
      Size/MD5 checksum:    52950 eb95df0d1973deff8557f8ef21af5789
      Size/MD5 checksum:    53954 531a9c1328415fedd7d258af62c822e6
      Size/MD5 checksum:    95190 adbb0a86dcfad99fb7d6ab2d327157cc
      Size/MD5 checksum:    54802 7b908b24521cb21174a13617434b376c

  Big endian MIPS architecture:
      Size/MD5 checksum:  2135574 4eb5a131e58807a2928130a1260a2dad
      Size/MD5 checksum:    53200 b5dd30dd319f8154ef914f773a0c1448
      Size/MD5 checksum:    53668 d7e9aad513740e93a52db17e902e5747
      Size/MD5 checksum:    97996 8bb100ed36fc455f73b667ec4bb4da7e
      Size/MD5 checksum:    55140 f6cdf24be5e60b91e61dce6280a02192

  Little endian MIPS architecture:
      Size/MD5 checksum:  2102240 86ab8809a4bef9538ea4c7693492ca3f
      Size/MD5 checksum:    52062 281530578f22e92c57ff60374000b0f3
      Size/MD5 checksum:    52400 df97212268ea91baad3ca2dfdc4c7fce
      Size/MD5 checksum:    96492 3d63745a6aaf6bbf32a9cb48582acdd7
      Size/MD5 checksum:    53936 9ded19b30c574fa280e54f246cf80749

  PowerPC architecture:
      Size/MD5 checksum:  2330602 3362429b3da2311b68d86ebfc07544ee
      Size/MD5 checksum:    58844 69224d3064f8a9b2f632c3a0035d61ca
      Size/MD5 checksum:    60056 ba48d26580793fe3963306e9408982c7
      Size/MD5 checksum:   108876 9ee35d9bba2ed802d84274b458f861be
      Size/MD5 checksum:    61222 cf3addbb9c8ff12ea10eea6f6dc8ea7d

  IBM S/390 architecture:
      Size/MD5 checksum:  2581854 d4ec31ca6d5a56a0276321aa6cd666e1
      Size/MD5 checksum:    65650 d568c8c65934c39f20a0a06424d06cb7
      Size/MD5 checksum:    66414 5c5883970226a543b1d4186676e56733
      Size/MD5 checksum:   122758 e5394b982f52d76fe7e06aa1b894724b
      Size/MD5 checksum:    68072 cdac845ff69647c86434cb0dca112b09

  Sun Sparc architecture:
      Size/MD5 checksum:  2080708 0ecadd00e7bd093d9c8a5684c066b62e
      Size/MD5 checksum:    52898 b0f8020da1f2ab6d29cbd587361f6831
      Size/MD5 checksum:    54004 98076e96d39bf98c15a220f2f1e13317
      Size/MD5 checksum:    98894 550cc64d2b5c0b6a4af33d669df6abc0
      Size/MD5 checksum:    54868 b18f2bfe5e3bd063a243f94d4060ab52

  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list:
Package info: `apt-cache show <pkg>' and<pkg>

Version: GnuPG v1.4.3 (GNU/Linux)



- 漏洞信息

FreeRADIUS exec.c radius_exec_program() Function Overflow DoS
Denial of Service, Input Manipulation
Loss of Integrity, Loss of Availability
Vendor Verified

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-09-08 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 1.0.5 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

FreeRADIUS Multiple Remote Vulnerabilities
Design Error 14775
Yes No
2005-09-08 12:00:00 2006-12-07 03:44:00
The discoverer of these issues is currently unknown. The vendor disclosed these issues.

- 受影响的程序版本

SuSE SUSE Linux Enterprise Server 8
+ Linux kernel 2.4.21
+ Linux kernel 2.4.19
SuSE SUSE Linux Enterprise Server 7
+ Linux kernel 2.4.19
SGI ProPack 3.0 SP5
S.u.S.E. SuSE Linux School Server for i386
S.u.S.E. SuSE eMail Server III
S.u.S.E. SuSE eMail Server 3.1
S.u.S.E. Open-Enterprise-Server 9.0
S.u.S.E. Novell Linux Desktop 9.0
S.u.S.E. Novell Linux Desktop 1.0
S.u.S.E. Linux Professional 8.2
S.u.S.E. Linux Professional 7.3
S.u.S.E. Linux Personal 9.3
S.u.S.E. Linux Personal 9.2 x86_64
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1 x86_64
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
S.u.S.E. Linux Openexchange Server
S.u.S.E. Linux Office Server
S.u.S.E. Linux IMAP Server 1.0
S.u.S.E. Linux Enterprise Server for S/390 9.0
S.u.S.E. Linux Enterprise Server for S/390
S.u.S.E. Linux Enterprise Server 9
S.u.S.E. Linux Desktop 1.0
S.u.S.E. Linux Database Server 0
S.u.S.E. Linux Connectivity Server
S.u.S.E. Linux 8.1
S.u.S.E. Linux 8.0 i386
S.u.S.E. Linux 8.0
S.u.S.E. Linux 7.3 sparc
S.u.S.E. Linux 7.3 ppc
S.u.S.E. Linux 7.3 i386
S.u.S.E. Linux 7.3
S.u.S.E. Linux 7.2 i386
S.u.S.E. Linux 7.2
S.u.S.E. Linux 7.1 x86
S.u.S.E. Linux 7.1 sparc
S.u.S.E. Linux 7.1 ppc
S.u.S.E. Linux 7.1 alpha
S.u.S.E. Linux 7.1
S.u.S.E. Linux 7.0 sparc
S.u.S.E. Linux 7.0 ppc
S.u.S.E. Linux 7.0 i386
S.u.S.E. Linux 7.0 alpha
S.u.S.E. Linux 7.0
S.u.S.E. Linux 6.4 ppc
S.u.S.E. Linux 6.4 i386
S.u.S.E. Linux 6.4 alpha
S.u.S.E. Linux 6.4
S.u.S.E. Linux 6.3 ppc
S.u.S.E. Linux 6.3 alpha
S.u.S.E. Linux 6.3
S.u.S.E. Linux 6.2
S.u.S.E. Linux 6.1 alpha
S.u.S.E. Linux 6.1
S.u.S.E. Linux 6.0
S.u.S.E. Linux 5.3
S.u.S.E. Linux 5.2
S.u.S.E. Linux 5.1
S.u.S.E. Linux 5.0
S.u.S.E. Linux 4.4.1
S.u.S.E. Linux 4.4
S.u.S.E. Linux 4.3
S.u.S.E. Linux 4.2
S.u.S.E. Linux 4.0
S.u.S.E. Linux 3.0
S.u.S.E. Linux 2.0
S.u.S.E. Linux 1.0
RedHat Enterprise Linux ES 4
RedHat Enterprise Linux ES 3
Red Hat Fedora Core3
Red Hat Enterprise Linux AS 4
Red Hat Enterprise Linux AS 3
Mandriva Linux Mandrake 2006.0 x86_64
Mandriva Linux Mandrake 2006.0
+ Gentoo Linux
Debian Linux 3.1 sparc
Debian Linux 3.1 s/390
Debian Linux 3.1 ppc
Debian Linux 3.1 mipsel
Debian Linux 3.1 mips
Debian Linux 3.1 m68k
Debian Linux 3.1 ia-64
Debian Linux 3.1 ia-32
Debian Linux 3.1 hppa
Debian Linux 3.1 arm
Debian Linux 3.1 amd64
Debian Linux 3.1 alpha
Debian Linux 3.1
Debian Linux 3.0 sparc
Debian Linux 3.0 s/390
Debian Linux 3.0 ppc
Debian Linux 3.0 mipsel
Debian Linux 3.0 mips
Debian Linux 3.0 m68k
Debian Linux 3.0 ia-64
Debian Linux 3.0 ia-32
Debian Linux 3.0 hppa
Debian Linux 3.0 arm
Debian Linux 3.0 alpha
Debian Linux 3.0

- 不受影响的程序版本


- 漏洞讨论

FreeRADIUS is susceptible to multiple remote vulnerabilities:

- Memory-handling vulnerabilities. These issues may allow remote attackers to crash affected services or possibly execute arbitrary machine code in the context of the vulnerable application.

- File descriptor leak. Attackers may exploit this to gain access to files that they may not normally have access to.

- The LDAP module contains a flaw whereby attacker-specified data may be passed on to the configured LDAP database without proper input sanitization.

These issues are all reported to affect version 1.0.4 of FreeRADIUS; previous versions are also likely vulnerable to one or more of these issues.

**Update: The vendor has posted a response to these issues. Please see "Response to Suse Audit Report on FreeRADIUS" for further details.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at:

- 解决方案

The vendor has released version 1.0.5 of FreeRADIUS to address these issues.

Please see the references for more information and vendor advisories.



- 相关参考