Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-2010, 12:38 PM
Junior Member
 
Posts: 7
Exclamation SSL Server Allows Anonymous Authenticaion Vulnerability

We just had an internal vulnerability scan done. The company used a Qualys appliance and the report showed three entries on my Zimbra server.

"SSL Server Allows Anonymous Authentication Vulnerability"

It is listing ports 25, 465, 587 as the offending services.

I have an Ubuntu 8.04 server out-of-the-box installation running a similarly basic Zimbra installation. I know those ports are SMTP related but not sure how to resolve the errors if they can even be resolved. I don't really use the mail side of Zimbra that much. We mostly wanted the caledar feature. But on occasion I scan something with our network copier and email it to my zimbra account. So that feature is nice.

I am by no means a Linux guru so newbie style instructions would be nice.

Thank you for any help offered.
Mike
Reply With Quote
  #2 (permalink)  
Old 12-03-2010, 12:25 PM
Moderator
 
Posts: 1,432
Default

Please do zmcontrol -v and put the results into your profile. (User CP > Edit Profile > Zimbra/OS Version.)

Also, if you are paying for the vulnerability scan, I would hope that the service would include some explanation or demonstration of the vulnerability.

Via google I found this page: https://community.qualys.com/docs/DOC-1097 and I was able to "reproduce" a vulnerability. But the key text on that page seems to be
Quote:
Please note that some vendors may allow the initial SSL connection with an anonymous cipher, but disallow the connection once the underlying service is exercised.
I'm pretty sure that what's going on is that all three ports are working as intended by allowing an SSL connection to be initiated anonymously and then doing an SMTP handshake. Port 25 shouldn't require any authentication since it's used to receive mail from foreign servers and to relay mail from trusted networks. Ports 465 and 587 are used to relay mail but only after authentication within SMTP.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #3 (permalink)  
Old 12-07-2010, 01:59 PM
Junior Member
 
Posts: 7
Default

Quote:
Originally Posted by ewilen View Post
I'm pretty sure that what's going on is that all three ports are working as intended by allowing an SSL connection to be initiated anonymously and then doing an SMTP handshake.
I agree though I was hoping to find a way to resolve the issue. Howerver, if there isn't any more specific information I guess I'll document that Qualys info you posted and report to the board that they are false positives.

Thank you,
Mike
Reply With Quote
  #4 (permalink)  
Old 12-07-2010, 02:50 PM
Moderator
 
Posts: 1,432
Default

Again, I'm pretty sure that everything is working the way it's intended, and that this is secure. That said, gmail doesn't show the "vulnerability" on port 587 connections:

Code:
openssl s_client -connect smtp.gmail.com:587 -cipher aNULL -starttls smtp
CONNECTED(00000003)
32116:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:/SourceCache/OpenSSL098/OpenSSL098-35/src/ssl/s23_clnt.c:596:
But I doubt that this means anything other than that the two services use different procedures for authentication.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #5 (permalink)  
Old 01-27-2011, 09:57 AM
Trained Alumni
 
Posts: 19
Default

In reference to the Qualys link:

Quote:
Please note that some vendors may allow the initial SSL connection with an anonymous cipher, but disallow the connection once the underlying service is exercised.
Can anyone confirm this is how Zimbra's IMAP, POP, SMTP and HTTPS services operate? PCI auditors rarely accept "may allow" as an answer.

Failing that, can it be tweaked to not support this method of connectivity?
Reply With Quote
  #6 (permalink)  
Old 05-02-2011, 08:32 PM
Starter Member
 
Posts: 2
Default

I found a fix for this issue here: Postfix PCI Compliance in ZCS - Zimbra :: Wiki

However I still have weak ciphers when using port 25 and TLS. I'm still trying to figure out how to fix that issue.
Reply With Quote
  #7 (permalink)  
Old 05-03-2011, 01:52 PM
Starter Member
 
Posts: 2
Default

Quote:
Originally Posted by ShotgunSi View Post
I found a fix for this issue here: Postfix PCI Compliance in ZCS - Zimbra :: Wiki

However I still have weak ciphers when using port 25 and TLS. I'm still trying to figure out how to fix that issue.
Edit: Fixed my issue by making a minor tweak to the suggested commands from the Zimbra Wiki article by adding DES to the following two commands:

postconf -e smtpd_tls_exclude_ciphers="aNULL, MD5, DES"

zmlocalconfig -e smtpd_tls_exclude_ciphers="aNULL, MD5, DES"
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.