ProFTPD mod_tls模塊CA SSL證書驗證漏洞
影響版本:
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
證書是發(fā)布給haxx.se的,但mod_tls模塊錯誤的驗證給example.com,這有助于攻擊者通過中間人攻擊執(zhí)行網(wǎng)絡釣魚等欺騙。
必須滿足以下mod_tls配置的情況下服務器才受這個漏洞影響:
# Reverse DNS resolution MUST be on for this bug to manifest UseReverseDNS on 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 <*參考 TJ Saunders(tj@castaglia.org) http://bugs.proftpd.org/show_bug.cgi?format=multiple&id=3275 *> |
SEBUG安全建議:
廠商補?。?
ProFTPD Project
目前廠商已經(jīng)發(fā)布了升級補丁以修復這個安全問題,請到廠商的主頁下載:
ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3rc2.tar.gz
【編輯推薦】