Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
VMS security vulnerability (POP server)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 28 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
JF Mezei  
View profile  
 More options Jul 1 2007, 9:27 pm
Newsgroups: comp.os.vms
From: JF Mezei <jfmezei.spam...@vaxination.ca>
Date: Sun, 01 Jul 2007 21:27:57 -0400
Local: Sun, Jul 1 2007 9:27 pm
Subject: VMS security vulnerability (POP server)
OK, it has been a couple of weeks and haven't heard anything back from HP).

When a pop client requests access to the VMS POP server (Alpha VMS 8.3,
TCPIP Services 5.6) and provides incorrect username/password, this event
is not logged in the audit server. A simple message is sent to OPCOM.
This message does not contain any clue on the origin of the request.

So overnight, it becomes possible to run brute force attempts on
usernames via POP since no intrusion detection/evasion is made, and
short of many messages in operator.log, there is nothing in AnA/AUDIT
and no information on the IP address of the client that made those attempts.

(I got such an attack with thousands of attempts).

The whole intrusion detection scheme needs to apply to ALL services
which grant access to VMS via user/password combination and all such
application should comply to whateer calling standards to ensure that
all attempts with invalid credentials are properly logged, including IP
address and the username that was attempted.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ultra...@gmail.com  
View profile  
 More options Jul 1 2007, 10:06 pm
Newsgroups: comp.os.vms
From: ultra...@gmail.com
Date: Mon, 02 Jul 2007 02:06:14 -0000
Local: Sun, Jul 1 2007 10:06 pm
Subject: Re: VMS security vulnerability (POP server)
On Jul 1, 9:27 pm, JF Mezei <jfmezei.spam...@vaxination.ca> wrote:

you need pmdf ...

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Moroney  
View profile  
 More options Jul 1 2007, 10:55 pm
Newsgroups: comp.os.vms
From: moro...@world.std.spaamtrap.com (Michael Moroney)
Date: Mon, 2 Jul 2007 02:55:49 +0000 (UTC)
Local: Sun, Jul 1 2007 10:55 pm
Subject: Re: VMS security vulnerability (POP server)
That is a nasty one, since much of what makes VMS resistant to such
attacks is the ability to sense a breakin attempt and deny access from
the breakin source even when it gets the password correct.

Did the attempt seem to target VMS or was it a script kiddie hacking at
a Windoze box or Unix box (accounts like administrator or root being
tried)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Santos  
View profile  
 More options Jul 2 2007, 1:10 am
Newsgroups: comp.os.vms
From: John Santos <j...@egh.com>
Date: Mon, 02 Jul 2007 05:10:45 GMT
Local: Mon, Jul 2 2007 1:10 am
Subject: Re: VMS security vulnerability (POP server)

Michael Moroney wrote:
> That is a nasty one, since much of what makes VMS resistant to such
> attacks is the ability to sense a breakin attempt and deny access from
> the breakin source even when it gets the password correct.

> Did the attempt seem to target VMS or was it a script kiddie hacking at
> a Windoze box or Unix box (accounts like administrator or root being
> tried)

Works okay in IUPOP3 server <V2.0-4/NETLIB/(DECC) and TCPware V5.7-2.

Still broken in:

"HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.6 - ECO 1
on an HP rx2620  (1.60GHz/3.0MB) running OpenVMS V8.3"

Both IUPOP3 and TCPware POP3 log intrusions for each failed access and
then put you in "INTRUDER" state and initiate break-in evasion after
the appropriate number of failures.  TCPIP (UCX) just logs the failures
to OPCOM.

There are a bunch of logical names that control TCPIP's POP3.  None of
them seem to enable breakin evasion, though.

Plain vanilla POP3 isn't very secure since the usernames and passwords are
transmitted in plain text.  There is an alternate APOP authorization method
that uses shared secrets instead.  I haven't tried setting this up.  It can
also be run over an SSL connection, where everything is encrypted.  I haven't
tried setting this up either.  (All my users are either on the LAN or
coming in over encrypted VPN connections, no WAN access to POP, and they
are all company employees with privileged VMS accounts anyway, so it
doesn't worry me very much.)  Both of these alternate access methods can
be configured by logical names to be used in addition to or in place of
the standard plain-text access on port 110.

If you're letting the outside world get at port 110, then I would either
disable it or firewall it or use one of the alternatives (APOP or SSL)
instead.

--
John Santos
Evans Griffiths & Hart, Inc.
781-861-0670 ext 539


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JF Mezei  
View profile  
 More options Jul 2 2007, 2:00 am
Newsgroups: comp.os.vms
From: JF Mezei <jfmezei.spam...@vaxination.ca>
Date: Mon, 02 Jul 2007 02:00:44 -0400
Local: Mon, Jul 2 2007 2:00 am
Subject: Re: VMS security vulnerability (POP server)

Michael Moroney wrote:
> That is a nasty one, since much of what makes VMS resistant to such
> attacks is the ability to sense a breakin attempt and deny access from
> the breakin source even when it gets the password correct.

> Did the attempt seem to target VMS or was it a script kiddie hacking at
> a Windoze box or Unix box (accounts like administrator or root being
> tried)

Brute force. And VMS is even worse:

$ telnet/port=110 chain
%TELNET-I-TRYING, Trying ... 10.0.0.11
%TELNET-I-SESSION, Session 01, host chain, port 110
+OK TCPIP POP server V5.6-9, OpenVMS V8.3 Alpha at chain.vaxination.ca,
up sinc>
USER canada
-ERR No such user "canada"
USER system
+OK Password required for "system"
PASS chocolate
-ERR password supplied for "system" is incorrect.
%TELNET-S-REMCLOSED, Remote connection closed
-TELNET-I-SESSION, Session 01, host chain, port 110

So by checking whether the USER command returns an -ERR or +OK, you can
narrow down which usernames are valid, and then proceed to guess their
passwords by brute force.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Sharman  
View profile  
 More options Jul 2 2007, 3:16 am
Newsgroups: comp.os.vms
From: Chris Sharman <chris.shar...@sorry.nospam>
Date: Mon, 02 Jul 2007 07:16:41 GMT
Local: Mon, Jul 2 2007 3:16 am
Subject: Re: VMS security vulnerability (POP server)

Good job IUPOP3 does intrusion detection, and is easily available &
installable - I'd often wondered whether I ought to ditch it in favour
of the latest ucx/tcpip offering, but hadn't got around to it.

You make a convincing case for IUPOP3. It's source code, too, so if it
allows checking of user names in isolation, that would be easily fixable.

Chris


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Huber  
View profile  
 More options Jul 2 2007, 3:45 am
Newsgroups: comp.os.vms
From: Joseph Huber <joseph.hu...@NOSPAM.web.de>
Date: Mon, 02 Jul 2007 09:45:52 +0200
Local: Mon, Jul 2 2007 3:45 am
Subject: Re: VMS security vulnerability (POP server)

Chris Sharman wrote:
> Good job IUPOP3 does intrusion detection, and is easily available &
> installable - I'd often wondered whether I ought to ditch it in favour
> of the latest ucx/tcpip offering, but hadn't got around to it.

> You make a convincing case for IUPOP3. It's source code, too, so if it
> allows checking of user names in isolation, that would be easily fixable.

I some time ago also switched from IUPOP3 to TCPIP services, because it
serves the SSL port, and our domain requests that for outside connections.
I know one could tunnel SSL POP (using e.g. STUNNEL, which I do for IMAP
in my aging TCPIP 5.3), but this has the ugly effect of being one
connection at a time (and others get connection timeout and have to retry).

Although TCPIP services POP implementation seems to be based on IUPOP3,
is there a newer IUPOP3 implementation serving the SSL port ?

--

  Joseph Huber   - http://www.huber-joseph.de


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
IanMiller  
View profile  
 More options Jul 2 2007, 4:17 am
Newsgroups: comp.os.vms
From: IanMiller <g...@uk2.net>
Date: Mon, 02 Jul 2007 01:17:49 -0700
Local: Mon, Jul 2 2007 4:17 am
Subject: Re: VMS security vulnerability (POP server)
"(All my users are either on the LAN or
coming in over encrypted VPN connections, no WAN access to POP, and
they
are all company employees with privileged VMS accounts anyway, so it
doesn't worry me very much.)  "

This means that the usernames and passwords for privileged vms
accounts are going over your corporate LAN unencrypted. You may wish
to reconsider this.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
IanMiller  
View profile  
 More options Jul 2 2007, 4:18 am
Newsgroups: comp.os.vms
From: IanMiller <g...@uk2.net>
Date: Mon, 02 Jul 2007 01:18:52 -0700
Local: Mon, Jul 2 2007 4:18 am
Subject: Re: VMS security vulnerability (POP server)
Orginally the UCX POP3 server was based on IUPOP3. I wonder if it
still is.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
J.Jansen  
View profile  
 More options Jul 2 2007, 4:18 am
Newsgroups: comp.os.vms
From: "J.Jansen" <jo...@hrem.nano.tudelft.nl>
Date: Mon, 02 Jul 2007 10:18:02 +0200
Local: Mon, Jul 2 2007 4:18 am
Subject: Re: VMS security vulnerability (POP server)

No idea at all where to download, since Indiana University closed the
IUPOP3 web-page. So I do not expect any new development.
Anyone any idea where to get the latest version?

                    Jouk


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ruslan R. Laishev  
View profile  
 More options Jul 2 2007, 4:19 am
Newsgroups: comp.os.vms
From: "Ruslan R. Laishev" <zzLais...@zzDeltaTelecom.RU-remove.all-zz-to-reply>
Date: Mon, 02 Jul 2007 12:19:43 +0400
Local: Mon, Jul 2 2007 4:19 am
Subject: Re: VMS security vulnerability (POP server)
Hello!

        Have a look to http://starlet.deltatel.ru/~laishev/work/pop3/

        I wrote this as replacement of the IUpop3 and other POP3 server supplied with
IP-package.

        Intrusion detection, TLS support and so on...

--
+ WBR, OpenVMS [Sys|Net] HardWorker ............. Skype: SysMan-One  +
Delta Telecom JSC, IMT-MC-450(CDMA2000) cellular operator
Russia,191119,St.Petersburg,Transportny per. 3 Cel: +7 (812) 716-3222
+http://starlet.deltatelecom.ru ............. Frying on OpenVMS only +

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Santos  
View profile  
 More options Jul 2 2007, 5:10 am
Newsgroups: comp.os.vms
From: John Santos <j...@egh.com>
Date: Mon, 02 Jul 2007 09:10:07 GMT
Local: Mon, Jul 2 2007 5:10 am
Subject: Re: VMS security vulnerability (POP server)

IanMiller wrote:
> "(All my users are either on the LAN or
> coming in over encrypted VPN connections, no WAN access to POP, and
> they
> are all company employees with privileged VMS accounts anyway, so it
> doesn't worry me very much.)  "

> This means that the usernames and passwords for privileged vms
> accounts are going over your corporate LAN unencrypted. You may wish
> to reconsider this.

You're wrong, because you are making incorrect assumptions.  I won't
say any more.

--
John Santos
Evans Griffiths & Hart, Inc.
781-861-0670 ext 539


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Linden  
View profile  
 More options Jul 2 2007, 9:24 am
Newsgroups: comp.os.vms
From: "Tom Linden" <tom-rem...@kednos.com>
Date: Mon, 02 Jul 2007 06:24:37 -0700
Local: Mon, Jul 2 2007 9:24 am
Subject: Re: VMS security vulnerability (POP server)
On Sun, 01 Jul 2007 23:00:44 -0700, JF Mezei  

What happens if you disable telnet and only allow ssh?

--
PL/I for OpenVMS
www.kednos.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Gunshannon  
View profile  
 More options Jul 2 2007, 11:43 am
Newsgroups: comp.os.vms
From: b...@cs.uofs.edu (Bill Gunshannon)
Date: 2 Jul 2007 15:43:04 GMT
Local: Mon, Jul 2 2007 11:43 am
Subject: Re: VMS security vulnerability (POP server)
In article <op.tut97bj98vl...@murphus.linden>,
        "Tom Linden" <tom-rem...@kednos.com> writes:

He is using TELNET from the source end.  The destination is POP.
If he disables TELNET he can't get out of his box.  :-) Somehow, I
don't think that will solve a problem with incoming POP connections.

bill

--
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
b...@cs.scranton.edu     |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>  


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
m...@null.net  
View profile  
 More options Jul 2 2007, 11:50 am
Newsgroups: comp.os.vms
From: m...@null.net
Date: Mon, 02 Jul 2007 08:50:14 -0700
Local: Mon, Jul 2 2007 11:50 am
Subject: Re: VMS security vulnerability (POP server)
On Jul 2, 2:00 am, JF Mezei <jfmezei.spam...@vaxination.ca> wrote:

> So by checking whether the USER command returns an -ERR or +OK, you can
> narrow down which usernames are valid, and then proceed to guess their
> passwords by brute force.

Yes, but that behavior is up to the system manager.  Messages
generated by the POP server can be either FRIENDLY or SECURE.  For
example, if you don't want a potential attacker to be able to tell
whether or not a particular username exists, you can do:

   $ DEFINE /SYSTEM /EXECUTIVE_MODE TCPIP$POP_SECURITY SECURE

Of course, you'll also want to make appropriate settings around other
ways to scan for valid usernames, such as SMTP, FINGER, FTP, and other
services you have enabled.  Otherwise, the attacker who wants to know
whether user JONES exists will just try sending mail and see whether
it bounces.

For the POP server, the source of all access attempts (whether
successful or not) is captured in the file:

   SYS$SYSDEVICE:[TCPIP$POP]TCPIP$POP_RUN.LOG

If the target username exists, the login failure count is also
incremented so that the user will be notified of the failures upon the
next valid login.

             - Mark


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Linden  
View profile  
 More options Jul 2 2007, 12:14 pm
Newsgroups: comp.os.vms
From: "Tom Linden" <tom-rem...@kednos.com>
Date: Mon, 02 Jul 2007 09:14:52 -0700
Local: Mon, Jul 2 2007 12:14 pm
Subject: Re: VMS security vulnerability (POP server)
On Mon, 02 Jul 2007 08:43:04 -0700, Bill Gunshannon <b...@cs.uofs.edu>  
wrote:

What I meant was, can ssh be similarly exploited to attempt breakin?

--
PL/I for OpenVMS
www.kednos.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven M. Schweda  
View profile  
 More options Jul 2 2007, 12:27 pm
Newsgroups: comp.os.vms
From: s...@antinode.org (Steven M. Schweda)
Date: Mon, 2 Jul 2007 11:27:52 -0500 (CDT)
Local: Mon, Jul 2 2007 12:27 pm
Subject: Re: VMS security vulnerability (POP server)
From: "Tom Linden" <tom-rem...@kednos.com>

> What I meant was, can ssh be similarly exploited to attempt breakin?

   SSH seems to say the right things.  For example:

[...]
Security alarm (SECURITY) and security audit (SECURITY) on ALP, system id: 1119
Auditable event:          Network breakin detection
Event time:                1-JUL-2007 12:45:50.89
PID:                      20221942        
Process name:             TCPIP$SS_BG4356
Username:                 ROOT            
Password:                 <valid>
Remote node fullname:     SSH_PASSWORD:202.79.4.57
Remote username:          ROOT(LOCAL)
Status:                   %LOGIN-F-EVADE, break-in evasion in effect
[...]

------------------------------------------------------------------------

   Steven M. Schweda               sms@antinode-org
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JF Mezei  
View profile  
 More options Jul 2 2007, 1:38 pm
Newsgroups: comp.os.vms
From: JF Mezei <jfmezei.spam...@vaxination.ca>
Date: Mon, 02 Jul 2007 13:38:00 -0400
Subject: Re: VMS security vulnerability (POP server)

m...@null.net wrote:

> For the POP server, the source of all access attempts (whether
> successful or not) is captured in the file:

>    SYS$SYSDEVICE:[TCPIP$POP]TCPIP$POP_RUN.LOG

 From my examples posted yesterday:

> 2007-07-02 01:59:23 thread 0: sys$getuai: %RMS-E-RNF, record not found
> 2007-07-02 01:59:23 thread 0: User account "canada" is invalid.
> 2007-07-02 01:59:23 thread 0: No such user "canada"
> 2007-07-02 01:59:40 thread 0: password supplied for "system" is incorrect.
> 2007-07-02 01:59:40 thread 0: Max # of authentication attempts exceeded.
> 2007-07-02 04:05:51 thread 0: read iosb: %SYSTEM-F-LINKDISCON, network partner d
> isconnected logical link
> 2007-07-02 04:05:52 thread 0: abnormal disconnect

Where is the source of the attempt ? I see no IP address there.

> If the target username exists, the login failure count is also
> incremented so that the user will be notified of the failures upon the
> next valid login.

Not in my universe:

Username: SYSTEM                           Owner:  Jean-François Mezei
Account:  SYSTEM                           UIC:    [1,4] ([SYSTEM])
CLI:      DCL                              Tables: DCLTABLES
<...>
Expiration:            (none)    Pwdminimum:  5   Login Fails:     0
Pwdlifetime:           (none)    Pwdchange:   5-OCT-2006 01:02
Last Login: 25-JUN-2007 03:23 (interactive), 24-JUN-2007 00:31
(non-interactive)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
m...@null.net  
View profile  
 More options Jul 2 2007, 5:43 pm
Newsgroups: comp.os.vms
From: m...@null.net
Date: Mon, 02 Jul 2007 14:43:35 -0700
Local: Mon, Jul 2 2007 5:43 pm
Subject: Re: VMS security vulnerability (POP server)
On Jul 2, 1:38 pm, JF Mezei <jfmezei.spam...@vaxination.ca> wrote:

> Where is the source of the attempt ? I see no IP address there.

Whoops, you're right.  I forgot that we have TCPIP$POP_LOG_LEVEL
defined to THREAD on our systems, which adds to the detail recorded in
the logfile.  For normal operation, especially if you have hundreds of
clients, each configured to check its mailbox every 5 minutes, you may
not want to capture that much information.  I agree that logging the
client address should probably be the default, at least in cases where
there has been an invalid access attempt.

             - Mark


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phillip Helbig---remove CLOTHES to reply  
View profile  
 More options Jul 3 2007, 1:59 am
Newsgroups: comp.os.vms
From: hel...@astro.multiCLOTHESvax.de (Phillip Helbig---remove CLOTHES to reply)
Date: Tue, 3 Jul 2007 05:59:39 +0000 (UTC)
Local: Tues, Jul 3 2007 1:59 am
Subject: Re: VMS security vulnerability (POP server)
Note that this was posted to the ovms-li...@openvms.org by Hoff:

From:   SMTP%"ovms-li...@openvms.org"  2-JUL-2007 21:50:28.68
To:     "Patch and Security Alerts" <ale...@openvms.org>
Subj:   [OVMS-Alert] TCP/IP Services POP3 Security Vulnerability Report in Wild

 From Stephen Hoffman, Hoffman Labs:

JF Mezei has posted details of a security vulnerability in
the OpenVMS TCP/IP Services POP3 implementation (current
versions) into the comp.os.vms newsgroup, reportedly after
contacting HP with the initial report of the
vulnerability. Mr Mezei indicates a local OpenVMS Alpha
system was targeted by a POP3 dictionary attack.

Remote IP-based POP3-based dictionary attacks appear
feasible against passwords using this vulnerability, and
no breakin evasion processing is performed.

I've posted a quick review of the newsgroup report and
some suggestions at the HoffmanLabs site:

  http://64.223.189.234/node/395

The original report is available here:

  http://groups.google.com/group/comp.os.vms/msg/8a42e91fe1e9cd36

It is unclear if other components of TCP/IP Services are
similarly afflicted.

_______________________________________________

NOTICE: Patches/Kits may not be available for several hours.  -KF
_______________________________________________
You are subscribed to: ale...@openvms.org
To subscribe: alerts-subscr...@openvms.org
To unsubscribe: alerts-unsubscr...@openvms.org

Send administrative queries to <alerts-requ...@openvms.org>

Please forward to friends and co-workers.

OpenVMS.org lists are not affiliated with HP.
OpenVMS is a trademark of HP.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
davi...@alpha2.mdx.ac.uk  
View profile  
 More options Jul 3 2007, 9:18 am
Newsgroups: comp.os.vms
From: davi...@alpha2.mdx.ac.uk
Date: Tue, 3 Jul 2007 13:18:24 +0000 (UTC)
Local: Tues, Jul 3 2007 9:18 am
Subject: Re: VMS security vulnerability (POP server)

Telnet in this instance is just being used to setup a connection to the POP
server port and then to pass the same commands that a pop client would send.
Telnet is often used in this manner. The telnet connection could come from
anywhere and the only way to stop telnet connections to the POP server port
would basically be to stop anyone connecting to that port eg not to run the POP
server.

David Webb
Security team leader
CCSS
Middlesex University


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Wade  
View profile  
 More options Jul 4 2007, 10:54 am
Newsgroups: comp.os.vms
From: Tom Wade <nos...@picard.eurokom.ie>
Date: Wed, 04 Jul 2007 15:54:08 +0100
Local: Wed, Jul 4 2007 10:54 am
Subject: Re: VMS security vulnerability (POP server)

> Brute force. And VMS is even worse:

The problem is that an application that accepts a username/password and
attempts to validate using $HASH_PASSWORD and $GETUAI *must* also make
explicit calls to $SCAN_INTRUSION, otherwise it provides a back door
around the intrusion detection mechanism.  I have seen this on many
applications, including POP servers and web scripts to change your
password.  With the benefit of hindsight, it might have been a better
idea to provide a $VERIFY_PASSWORD service which combines the three
functions above, because it is so easy for a developer to overlook it.

Another place to check is if the UCX SMTP server supports SASL (this is
the "my-server-requires-authentication" checkbox in the POP client).
SASL allows the client to pass a username/password in the ESMTP dialog
so that you can allow authenticated clients to relay through your server
irrespective of what IP address they are coming from .  Even PMDF
overlooked putting this through $SCAN_INTRUSION when it first came out
(it was fixed pretty quickly).  Only slightly more difficult to script
an attack on this one.

To check if your SMTP server supports SASL, telnet to port 25 and issue
an EHLO command.  Look for the AUTH extension.  It is harder to test
using telnet because the username/password pair need to be BASE64 encoded.

---------------------------------------------------------
Tom Wade                 | EMail: tee dot wade at eurokom dot ie
EuroKom                  | Tel:   +353 (1) 296-9696
A2, Nutgrove Office Park | Fax:   +353 (1) 296-9697
Rathfarnham              | Disclaimer:  This is not a disclaimer
Dublin 14                | Tip:   "Friends don't let friends do Unix !"
Ireland


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
IanMiller  
View profile  
 More options Jul 4 2007, 11:40 am
Newsgroups: comp.os.vms
From: IanMiller <g...@uk2.net>
Date: Wed, 04 Jul 2007 15:40:26 -0000
Local: Wed, Jul 4 2007 11:40 am
Subject: Re: VMS security vulnerability (POP server)
On Jul 4, 3:54 pm, Tom Wade <nos...@picard.eurokom.ie> wrote:

That is the intention of the SYS$ACM service. See Chapter 33 of the
programming concepts manual
http://h71000.www7.hp.com/doc/82FINAL/5841/5841pro_contents_010.html#...

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dclhac...@gmail.com  
View profile  
 More options Jul 4 2007, 2:11 pm
Newsgroups: comp.os.vms
From: dclhac...@gmail.com
Date: Wed, 04 Jul 2007 11:11:22 -0700
Local: Wed, Jul 4 2007 2:11 pm
Subject: Re: VMS security vulnerability (POP server)
On Jul 2, 12:10 am, John Santos <j...@egh.com> wrote:

> Plain vanilla POP3 isn't very secure since the usernames and passwords are
> transmitted in plain text.  There is an alternate APOP authorization method
> that uses shared secrets instead.  I haven't tried setting this up.

APOP works well in TCP/IP Services and setup is trivial.  The username
is still passed in the clear, but the password is not.  Setup can be
summarized as:

1. Create a POP_SECRET.DAT file with your passphrase in your VMSmail
directory (secure it so that only the owner has access).
2. If necessary, tell your client that you're going to use APOP.

Full details for the server side can be found in the following section
of the TCP/IP Services User's Manual:

http://h71000.www7.hp.com/doc/732FINAL/6525/6525pro_016.html#heading_...

In the case of Thunderbird, you don't have to do anything extra --
when you connect, it asks for your password: simply provide your
passphrase.

You would still be able to use this thread's described attack vector
to identify user accounts, but it removes the ability to sniff
passwords on the wire, as only an MD5 hash of the passphrase is sent.

Aaron


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ruslan R. Laishev  
View profile  
 More options Jul 5 2007, 3:24 am
Newsgroups: comp.os.vms
From: "Ruslan R. Laishev" <zzLais...@zzDeltaTelecom.RU-remove.all-zz-to-reply>
Date: Thu, 05 Jul 2007 11:24:24 +0400
Local: Thurs, Jul 5 2007 3:24 am
Subject: Re: VMS security vulnerability (POP server)
Hello!

> 2. If necessary, tell your client that you're going to use APOP.

        There is a POP3 with TLS support (TLS is supported by most POP3 clients), just
got it and use it, and lost an interest to the problem.

--
+ WBR, OpenVMS [Sys|Net] HardWorker ............. Skype: SysMan-One  +
Delta Telecom JSC, IMT-MC-450(CDMA2000) cellular operator
Russia,191119,St.Petersburg,Transportny per. 3 Cel: +7 (812) 716-3222
+http://starlet.deltatelecom.ru ............. Frying on OpenVMS only +


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 28   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google