CVE-2004-0448
CVSS10.0
发布时间 :2004-12-06 00:00:00
修订时间 :2008-09-05 16:38:27
NMCOPS    

[原文]Format string vulnerability in the log function for jftpgw 0.13.4 and earlier allows remote authenticated users to execute arbitrary code via format string specifiers in certain syslog messages.


[CNNVD]JFTPGW远程Syslog格式串处理漏洞(CNNVD-200412-031)

        
        jftpgw是一款FTP代理程序。
        jftpgw FTP proxy存在远程格式串问题,远程攻击者可以利用这个漏洞以jftpgw进程权限在系统上执行任意指令。
        问题是log()函数中的syslog(3)存在格式串问题,提交恶意格式串数据可破坏内存数据,可能以jftpgw进程权限在系统上执行任意指令。
        

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:jftpgw:jftpgw:0.13
cpe:/a:jftpgw:jftpgw:0.13.3
cpe:/a:jftpgw:jftpgw:0.13.1
cpe:/a:jftpgw:jftpgw:0.13.2

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

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0448
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2004-0448
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200412-031
(官方数据源) CNNVD

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/16271
(VENDOR_ADVISORY)  XF  jftpgw-log-format-string(16271)
http://www.securityfocus.com/bid/10438
(VENDOR_ADVISORY)  BID  10438
http://www.debian.org/security/2004/dsa-510
(VENDOR_ADVISORY)  DEBIAN  DSA-510

- 漏洞信息

JFTPGW远程Syslog格式串处理漏洞
危急 输入验证
2004-12-06 00:00:00 2005-10-20 00:00:00
远程  
        
        jftpgw是一款FTP代理程序。
        jftpgw FTP proxy存在远程格式串问题,远程攻击者可以利用这个漏洞以jftpgw进程权限在系统上执行任意指令。
        问题是log()函数中的syslog(3)存在格式串问题,提交恶意格式串数据可破坏内存数据,可能以jftpgw进程权限在系统上执行任意指令。
        

- 公告与补丁

        厂商补丁:
        Debian
        ------
        
        http://www.debian.org/security/2004/dsa-510

- 漏洞信息 (F33454)

dsa-510.txt (PacketStormID:F33454)
2004-05-30 00:00:00
Matt Zimmerman  debian.org
advisory,remote,arbitrary
linux,debian
CVE-2004-0448
[点击下载]

Debian Security Advisory DSA 510-1 - jaguar discovered a format string vulnerability in jftpgw, an FTP proxy program, whereby a remote user could potentially cause arbitrary code to be executed with the privileges of the jftpgw server process, which runs as user nobody by default.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 510-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
May 29th, 2004                          http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : jftpgw
Vulnerability  : format string
Problem-Type   : remote
Debian-specific: no
CVE Ids        : CAN-2004-0448

jaguar@felinemenace.org discovered a vulnerability in jftpgw, an FTP
proxy program, whereby a remote user could potentially cause arbitrary
code to be executed with the privileges of the jftpgw server process.
By default, the server runs as user "nobody".

CAN-2004-0448: format string vulnerability via syslog(3) in log()
function

For the current stable distribution (woody) this problem has been
fixed in version 0.13.1-1woody1.

For the unstable distribution (sid), this problem has been fixed in
version 0.13.4-1.

We recommend that you update your jftpgw 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:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1.dsc
      Size/MD5 checksum:      589 6c0ed10f2034cefdbf338de14b8c26bf
    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1.diff.gz
      Size/MD5 checksum:    19365 e34131b25f532be7e16c51030c55349f
    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1.orig.tar.gz
      Size/MD5 checksum:   219139 9546400895b5fe54ad70dbb33f83c6a1

  Alpha architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_alpha.deb
      Size/MD5 checksum:    74918 53c4ed0d56bfdd42191405059376cc98

  ARM architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_arm.deb
      Size/MD5 checksum:    57788 a3cadbfab75a3be17d0ef4d3da483504

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_i386.deb
      Size/MD5 checksum:    55924 b59ff3f29eb9803ebe06de132fbb2c24

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_ia64.deb
      Size/MD5 checksum:    98458 072000de165c9abb980c99241ad1282a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_hppa.deb
      Size/MD5 checksum:    67726 e90daefe5490c21c7d442f33f2d68223

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_m68k.deb
      Size/MD5 checksum:    52158 d48c566a6fda177048e91e90f60c076a

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_mips.deb
      Size/MD5 checksum:    68020 60b41b05f85fc83affd559bca3f0fd6f

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_mipsel.deb
      Size/MD5 checksum:    68180 b966bab91c3bc469652874d6e18844f7

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_powerpc.deb
      Size/MD5 checksum:    60466 3363c313d0cb2a409ce5579697912afc

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_s390.deb
      Size/MD5 checksum:    57770 bfead388669f0fd30967e56b2b648c2c

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/j/jftpgw/jftpgw_0.13.1-1woody1_sparc.deb
      Size/MD5 checksum:    60528 849fd4f56002ff1d8e4e4b08de7608f2

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

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAuPk2ArxCt0PiXR4RAhoGAJ9ACrnKA9/RlRkXWO8jGD39jIQUkwCeKhKC
KVSS6Iwt5bx7iRa9gzmLLAY=
=aogu
-----END PGP SIGNATURE-----
    

- 漏洞信息

6492
jftpgw syslog() Logging Format String
Remote / Network Access, Local / Remote, Context Dependent Input Manipulation
Loss of Integrity

- 漏洞描述

The jftpgw proxy server contains a flaw that may allow an attacker to execute arbitrary commands with the privileges of the server process. The issue is caused by an error in the logging functionality of the server where user supplied data is passed as a format string directly to a syslog() function call.

- 时间线

2004-05-30 Unknow
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

JFTPGW Remote Syslog Format String Vulnerability
Input Validation Error 10438
Yes No
2004-03-01 12:00:00 2009-07-12 05:16:00
Discovery is credited to jaguar@felinemenace.org.

- 受影响的程序版本

jftpgw jftpgw 0.13.3
jftpgw jftpgw 0.13.2
jftpgw jftpgw 0.13.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
jftpgw jftpgw 0.13
jftpgw jftpgw 0.13.4

- 不受影响的程序版本

jftpgw jftpgw 0.13.4

- 漏洞讨论

jftpgw FTP proxy is prone to a remotely exploitable format string vulnerability.

This issue could be exploited to execute arbitrary code in the context of the process, which is usually run as nobody (or an equivalent user). This is due to insecure usage of the syslog() function.

- 漏洞利用

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: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

Please see Debian advisory DSA 510-1 to details on how to obtain fixes to address the issue.

OpenBSD includes the software in their ports collection. OpenBSD has updated the port to version 0.13.5 in CVS.

The vendor released jftpgw 0.13.4 to address this issue.


jftpgw jftpgw 0.13

jftpgw jftpgw 0.13.1

jftpgw jftpgw 0.13.2

jftpgw jftpgw 0.13.3

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站