创意安天

 找回密码
 注册创意安天

ProFTPD mod_tls模块CA SSL证书验证漏洞

[复制链接]
发表于 2009-10-29 23:12 | 显示全部楼层 |阅读模式
影响版本:
ProFTPD Project ProFTPD 1.3
ProFTPD Project ProFTPD 1.2漏洞描述:
BUGTRAQ  ID: 36804
CVE ID: CVE-2009-3639

ProFTPD是一款开放源代码FTP服务程序。

ProFTPD的mod_tls模块没有正确地处理X.509证书主题通用名称(CN)字段域名中的空字符(\0),在处理包含有空字符的证书字段时错误地将空字符处理为截止字符,因此只会验证空字符前的部分。例如,对于类似于以下的名称:

    example.com\0.haxx.se

证书是发布给haxx.se的,但mod_tls模块错误的验证给example.com,这有助于攻击者通过中间人攻击执行网络钓鱼等欺骗。

必须满足以下mod_tls配置的情况下服务器才受这个漏洞影响:

  # Reverse DNS resolution MUST be on for this bug to manifest
  UseReverseDNS on

  <IfModule mod_tls.c>
    TLSEngine on

    # We have to be verifying clients’ certs for this bug to manifest
    TLSVerifyClient on

    # and we have to be requiring that the subjectAltName field of the
    # client’s certificate be a DNS name which matches the DNS name to which
    # the client’s IP address was resolved
    TLSOptions dNSNameRequired
  </IfModule><*参考  
TJ Saunders(tj@castaglia.org
http://bugs.proftpd.org/show_bug.cgi?format=multiple&id=3275
*>
SEBUG安全建议:
厂商补丁:

ProFTPD Project
---------------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3rc2.tar.gz
您需要登录后才可以回帖 登录 | 注册创意安天

本版积分规则

小黑屋|手机版|Archiver|创意安天 ( 京ICP备09068574,ICP证100468号。 )

GMT+8, 2024-5-19 22:32

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表