发布时间 :2005-01-11 00:00:00
修订时间 :2017-07-10 21:32:06

[原文]Apache mod_auth_radius 1.5.4 and libpam-radius-auth allow remote malicious RADIUS servers to cause a denial of service (crash) via a RADIUS_REPLY_MESSAGE with a RADIUS attribute length of 1, which leads to a memcpy operation with a -1 length argument.

[CNNVD]Apache mod-auth-radius/libpam-radius-auth 拒绝服务漏洞(CNNVD-200501-235)

        远程恶意RADIUS服务期可以通过RADIUS attribute长度为1的RADIUS_REPLY_MESSAGE导致出现长度为-1的memcpy操作,从而造成程序崩溃,引发拒绝服务。

- CVSS (基础分值)

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

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


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


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

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20050111 Apache mod_auth_radius remote integer overflow
(UNKNOWN)  BID  12217
(UNKNOWN)  XF  modauthradius-dos(18841)

- 漏洞信息

Apache mod-auth-radius/libpam-radius-auth 拒绝服务漏洞
中危 边界条件错误
2005-01-11 00:00:00 2005-10-20 00:00:00
        远程恶意RADIUS服务期可以通过RADIUS attribute长度为1的RADIUS_REPLY_MESSAGE导致出现长度为-1的memcpy操作,从而造成程序崩溃,引发拒绝服务。

- 公告与补丁


- 漏洞信息 (F35909)

dsa-659.txt (PacketStormID:F35909)
2005-01-27 00:00:00

Debian Security Advisory 659-1 - Two problems have been discovered in the libpam-radius-auth package, the PAM RADIUS authentication module. The configuration file gets installed world-readable and the same flaw that exists in mod_auth_radius for Apache is inherent in libpam-radius-auth as well.

Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 659-1                                        Martin Schulze
January 26th, 2005            
- --------------------------------------------------------------------------

Package        : libpam-radius-auth
Vulnerability  : information leak, integer underflow
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2004-1340 CAN-2005-0108

Two problems have been discovered in the libpam-radius-auth package,
the PAM RADIUS authentication module.  The Common Vulnerabilities and
Exposures Project identifies the following problems:


    The Debian package accidently installed its configuration file
    /etc/pam_radius_auth.conf world-readable.  Since it may possibly
    contain secrets all local users are able to read them if the
    administrator hasn't adjusted file permissions.  This problem is
    Debian specific.


    Leon Juranic discoverd an integer underflow in the mod_auth_radius
    module for Apache which is also present in libpam-radius-auth.

For the stable distribution (woody) these problems have been fixed in
version 1.3.14-1.3.

For the unstable distribution (sid) these problems have been fixed in
version 1.3.16-3.

We recommend that you upgrade your libpam-radius-auth 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.0 alias woody
- --------------------------------

  Source archives:
      Size/MD5 checksum:      633 685f1323a3b5848ccb548fe383c2647d
      Size/MD5 checksum:     4339 cdbeaff45c0477e017bb2926d72e258f
      Size/MD5 checksum:    24709 3952a5de3ac960d03e437951f42e67e2

  Alpha architecture:
      Size/MD5 checksum:    21606 a6ba05a3d785212a9b65720f29254988

  ARM architecture:
      Size/MD5 checksum:    19220 393e12c5b12e19b4f85f9efd2daa10cb

  Intel IA-32 architecture:
      Size/MD5 checksum:    17496 183e9f999e643aeb407898c8aac3f7d4

  Intel IA-64 architecture:
      Size/MD5 checksum:    24672 d595102f5f85b8b1c403bf9fa5cceab7

  HP Precision architecture:
      Size/MD5 checksum:    20238 f88620aba0ce73be9978d5e069af6391

  Motorola 680x0 architecture:
      Size/MD5 checksum:    17140 4409cb32e00171b001a99a9c8a690679

  Big endian MIPS architecture:
      Size/MD5 checksum:    18090 916e4b25e48fd01d6bdc2509d8089505

  Little endian MIPS architecture:
      Size/MD5 checksum:    18310 1b20887306ee88f954aa159afb13889e

  PowerPC architecture:
      Size/MD5 checksum:    18394 29467c53c34a3f8745e640969e337a51

  IBM S/390 architecture:
      Size/MD5 checksum:    18690 2c2ea4437da4b44b14c65fffedc11673

  Sun Sparc architecture:
      Size/MD5 checksum:    18328 b39b7c1da80afa286c979e37b74c846e

  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.2.5 (GNU/Linux)



- 漏洞信息

mod_auth_radius for Apache HTTP Server radcpy() Function Overflow DoS
Denial of Service, Input Manipulation
Loss of Integrity, Loss of Availability

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-01-11 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Apache mod_auth_radius Malformed RADIUS Server Reply Integer Overflow Vulnerability
Boundary Condition Error 12217
Yes No
2005-01-10 12:00:00 2009-07-12 09:27:00
Discovery is credited to LSS Security <>.

- 受影响的程序版本

mod_auth_radius mod_auth_radius 1.5.4
mod_auth_radius mod_auth_radius 1.5.2
mod_auth_radius mod_auth_radius 1.5
mod_auth_radius mod_auth_radius 1.3.9
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

- 漏洞讨论

mod_auth_radius is reported prone to an integer overflow vulnerability. This issue is due to an error in the application when handling server-supplied integer values before these values are employed as the size argument in a subsequent memory copy operation.

To exploit this vulnerability, an attacker must control a RADIUS server or intercept network traffic and send spoofed RADIUS replies to the Apache server. Successful exploitation may result in memory corruption and allow for arbitrary code execution.

All versions of mod_auth_radius are considered vulnerable at the moment.

- 漏洞利用

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: &lt;;.

A proof of concept is available:

- 解决方案

Debian Linux has released advisory DSA-659-1 addressing this issue. Please see the referenced advisory for more information.

Debian Linux 3.0 hppa

Debian Linux 3.0 ppc

Debian Linux 3.0 s/390

Debian Linux 3.0 arm

Debian Linux 3.0 alpha

Debian Linux 3.0 mips

Debian Linux 3.0 ia-32

Debian Linux 3.0 mipsel

Debian Linux 3.0 m68k

Debian Linux 3.0 sparc

Debian Linux 3.0 ia-64

- 相关参考