Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Is OSF Serious about Security
@ 1993-11-02 20:25 CRARY
  1993-11-03 19:11 ` Rich Salz
  0 siblings, 1 reply; 5+ messages in thread
From: CRARY @ 1993-11-02 20:25 UTC (permalink / raw)



      
       After wading through the DCE security service info. I can come up
with one conclusion. No, OSF is not serious about security.

       The main problem:
                         In the OSF/DCE implementation of the server code,
                   the application programmer is responsible for implementing
                   the necessary calls to get the Privilege Authorization
                   Certificate (PAC) and the ACL for the object the client
                   intends to use. In addition, it's the server app. code
                   that is required to make and carry out the authorization
                   decision.

                   This is a hack (probably a leftover from the Apollo days)
                   that effectively eliminates the usefulness of DCE.
                   Imagine having to go through a security review before
                   putting any new code into production? (I'd like to meet
                   the nitwit that came up with the idea - probably works
                   in a shop with three programmers and they're all trusted
                   - of course).

                   To correct this blatant disregard for the separation
                   between system and application security I'd like to 
                   see the client pass it's ID info. transparantly to the
                   underlying OS on the server side. Then when an access of
                   data is made from the server, the server takes on the
                   ownership rights of the client. If the client isn't
                   authorized (at the system level), then an access vio.
                   would occurr. This would protect the data from a 
                   programming mistake (or worse) by the app. programmer
                   and allow security auditors to check for appropriate
                   controls, instead of code review.

          I thought I'd post here (I've heard this is where the OSF/DCE
          white tower folks communicate), to see if anybody even gives
          a rats about the users who want to use DCE. If so, I'd love
          to hear the rationale for the lousy implementation of the 
          security service.

          While I'm at it, how about a management facility to invalidate
          the CDS cache? It'd sure be nice, instead of having to wait for
          the global expiration age to expire.


          Will DCE make it as a standard? Not unless OSF gets it's act
          together.

Alan
crary@bear.com
         (I speak for myself and in this case for Bear Stearns)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is OSF Serious about Security
  1993-11-02 20:25 Is OSF Serious about Security CRARY
@ 1993-11-03 19:11 ` Rich Salz
  1993-11-04 17:04   ` CRARY
  0 siblings, 1 reply; 5+ messages in thread
From: Rich Salz @ 1993-11-03 19:11 UTC (permalink / raw)


In <33915@ursa.bear.com> CRARY@VAX5.BEAR.COM (CRARY) writes:
>       After wading through the DCE security service info. I can come up
>with one conclusion. No, OSF is not serious about security.

This is wrong.

The DCE security system works this way.  A server can make a subroutine
call into the DCE library and find out the client's identity and PAC.
The server can also find out how much to trust this information -- whether
it has been certified by the DCE privilege server, for example.  Both
clients and servers can specify the amount of privacy and certification
they wish to use.

Access decisions are made by the server.  The DCE model is to use ACL's.
DCE ACL's look very similar to Posix ACL's.  Many of the ACL entries have
identical semantics.

Your proposal is:  a client sends its local identity to the server who
"becomes" that client in order to perform the desired request.  This is
flawed for several reasons:
    -	Security people don't generally like impersonation; it makes
	accountability hard.
    -	I don't think your idea works in a multi-threaded environment
    -	A client may not have an identity (e.g., an Mac or PC client
	accessing a DCE print server)
    -	The client's concept of identity may not map into the server's
	concept (how does a Unix uid/gid map into an MVS identity?)
    -	Your idea does not clearly address things that fall outside the
	file model -- e.g., a compute server.
    -	Your proposal would unacceptably limit the semantics of access
	control.

>         (I speak for myself and in this case for Bear Stearns)

One would expect a corporation to have a more civil tongue.
	/r$




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is OSF Serious about Security
  1993-11-03 19:11 ` Rich Salz
@ 1993-11-04 17:04   ` CRARY
  1993-11-05 19:30     ` Paul (Cliffy) Palmer
  1993-11-09 14:42     ` Jon Mauney
  0 siblings, 2 replies; 5+ messages in thread
From: CRARY @ 1993-11-04 17:04 UTC (permalink / raw)


In <2b8voi$d8@paperboy.osf.org> rsalz@osf.org writes:

> In <33915@ursa.bear.com> CRARY@VAX5.BEAR.COM (CRARY) writes:
> >       After wading through the DCE security service info. I can come up
> >with one conclusion. No, OSF is not serious about security.
> 
> This is wrong.

        No, you are wrong... your next paragraph says it all...
> 
> The DCE security system works this way.  A server can make a subroutine
> call into the DCE library and find out the client's identity and PAC.

        Even a rank amateur appl. programmer of the server code could
  easily subvert the intent of the security manager (person). I've already seen
  cases where our wonderful security was bundeled in a neat little 
  subroutine call (from the server application). The only problem we had
  was that programmers don't always uncomment the subroutine call to put
  a new version of the code into production (yes, people do test without 
  wanting to always use the security services).

> The server can also find out how much to trust this information -- whether
> it has been certified by the DCE privilege server, for example.  Both
> clients and servers can specify the amount of privacy and certification
> they wish to use.
> 
       Clients and servers are application programs. When was the last time 
  anyone in the REAL world ever TRUSTED an application program to safeguard 
  important information? Why is it so difficult to safeguard data at the 
  system level? 

> Access decisions are made by the server.  The DCE model is to use ACL's.
> DCE ACL's look very similar to Posix ACL's.  Many of the ACL entries have
> identical semantics.
> 
      ACL's are wonderful. How about implementing them at the system security
  level instead of the application? 

> Your proposal is:  a client sends its local identity to the server who
> "becomes" that client in order to perform the desired request.  This is
> flawed for several reasons:
>     -	Security people don't generally like impersonation; it makes
> 	accountability hard.

      If it's imbedded, the security people sleep well at night. Even DEC's
      DFS software uses impersonation. It's really a non-issue. The real issue
      is whether OSF is serious about security? 

>     -	I don't think your idea works in a multi-threaded environment
>     -	A client may not have an identity (e.g., an Mac or PC client
> 	accessing a DCE print server)
>     -	The client's concept of identity may not map into the server's
> 	concept (how does a Unix uid/gid map into an MVS identity?)
>     -	Your idea does not clearly address things that fall outside the
> 	file model -- e.g., a compute server.
>     -	Your proposal would unacceptably limit the semantics of access
> 	control.

        I'm certainly willing to concede the methodology to achieve "REAL"
      security. If you can only find problems with a SOLUTION then I would
      hope that you would at least give us some hope that the real problem
      will be addressed. If it's too tough for the current folks at OSF,
      let me know...send current specs. and code. Our systems team will find
      an elegant solution and propose it to OSF. 

> 
> >         (I speak for myself and in this case for Bear Stearns)
> 
> One would expect a corporation to have a more civil tongue.

        Change often requires someone to feel uncomfortable.

        If OSF would wake up and get it's people out the 4th floor cafeteria,
        then maybe "REAL" users wouldn't be so frustrated. The OSF attitude of
        "mechanism not policy" grates me to no end. I suspect the Athena
        folks have slipped into OSF (disguised as knowlegable analysts),
        and put this terrible spin on DCE security. DCE is a great concept.
        However, unless this problem is corrected, two tier C/S will be the
        norm and the three-tier approach will die. As a member of OSF, I
        suppose we should start showing up at the SIG meetings and scream
        to get some of you folks to "wake up"!

        I'll be in Cambridge next week and would love a chance to speak
        with anyone that will listen (I'm even willing to listen myself). 
        Let me know, I'd love a chance to "be constructive" instead of flaming
        OSF over this security disaster.

        If there are "REAL" workarounds so that security can be implemented
        at the system level, then I send my deepest appologies...however,
        I've never heard that from anyone at OSF...it's time for an attitude
        adjustment in the ivory tower.

	Alan
	crary@bear.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is OSF Serious about Security
  1993-11-04 17:04   ` CRARY
@ 1993-11-05 19:30     ` Paul (Cliffy) Palmer
  1993-11-09 14:42     ` Jon Mauney
  1 sibling, 0 replies; 5+ messages in thread
From: Paul (Cliffy) Palmer @ 1993-11-05 19:30 UTC (permalink / raw)


In article 33955@ursa.bear.com, CRARY@VAX5.BEAR.COM (CRARY) writes:
>        Even a rank amateur appl. programmer of the server code could
>  easily subvert the intent of the security manager (person). I've already seen
>  cases where our wonderful security was bundeled in a neat little 
>  subroutine call (from the server application). The only problem we had
>  was that programmers don't always uncomment the subroutine call to put
>  a new version of the code into production (yes, people do test without 
>  wanting to always use the security services).

If you are as serious about security as you would appear I would think
that you would make a point of testing the security of your code before
putting it into production.  This technique has always worked well for
me.

>       Clients and servers are application programs. When was the last time 
>  anyone in the REAL world ever TRUSTED an application program to safeguard 
>  important information? Why is it so difficult to safeguard data at the 
>  system level?

As long as decisions are made in application programs, application
programs must be trusted to safeguard data.  A good operating system
helps as much as possible, but cannot do the job alone.  Of course we
could always roll all of the applications code into the kernel ;-)

Personally, I place much higher trust in the security of some of the
applications we have developed and tested in-house than some of
security provided by the operating system.

>
>      ACL's are wonderful. How about implementing them at the system security
>  level instead of the application?

I thought OSF/DCE was system level software :-)  Does OSF/DFS count?

Or is it only system level if it is bundled into the kernel :-)

>
>      If it's imbedded, the security people sleep well at night. Even DEC's
>      DFS software uses impersonation. It's really a non-issue. The real issue
>      is whether OSF is serious about security?

If your security people sleep well at night simply because security is
imbedded they are fools.  There have been too many imbedded security
holes for my liking.

OSF has incorporated a very flexible (read powerful) security
infrastructure into their distributed communications environment.  Of
course that infrastructure still has to be integrated into application
programs and operating system utilities.  I think the real question
here is,  "Are you serious about security,  Is your operating system
vendor?"

>        I'm certainly willing to concede the methodology to achieve "REAL"
>      security. If you can only find problems with a SOLUTION then I would
>      hope that you would at least give us some hope that the real problem
>      will be addressed. If it's too tough for the current folks at OSF,
>      let me know...send current specs. and code. Our systems team will find
>      an elegant solution and propose it to OSF.

If your systems team is so competent, why are you so insistent that OSF
solve all of your security problems?

>        Change often requires someone to feel uncomfortable.
>
>        If OSF would wake up and get it's people out the 4th floor cafeteria,
>        then maybe "REAL" users wouldn't be so frustrated. The OSF attitude of
>        "mechanism not policy" grates me to no end.

Personally, when a vendor tries to dictate policy instead of providing
mechanisms it grates me to no end.  It is rare for a vendor to be
omniscient enough to know what my shop's security requirements are.
This is especially true since our security requirements seem to evolve
much faster than any vendor can deliver new releases of the operating
system.

It seems that Mr. Crary has greatly different expectations of what OSF's role
in implementing security is than I and many others have.  I am also aware
that Mr. Crary is not alone in his views.

Some how I get the feeling that Mr. Crary will never be completely
satisfied by the security provided by any vendor.

I have no affiliation with OSF.  I would just like to see their work
continue.

---
Paul (Cliffy) Palmer
New Technology, Inc.
700 Boulevard South, Suite 401
Huntsville, Alabama 35802
 
Internet:	palmer@Trade-Zone.msfc.nasa.gov.
Telephone:	(205) 461-4569




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Is OSF Serious about Security
  1993-11-04 17:04   ` CRARY
  1993-11-05 19:30     ` Paul (Cliffy) Palmer
@ 1993-11-09 14:42     ` Jon Mauney
  1 sibling, 0 replies; 5+ messages in thread
From: Jon Mauney @ 1993-11-09 14:42 UTC (permalink / raw)


CRARY (CRARY@VAX5.BEAR.COM) wrote:
: In <2b8voi$d8@paperboy.osf.org> rsalz@osf.org writes:
: 
: > In <33915@ursa.bear.com> CRARY@VAX5.BEAR.COM (CRARY) writes:
: > >       After wading through the DCE security service info. I can come up
: > >with one conclusion. No, OSF is not serious about security.
: > 
: > This is wrong.
: 
:         No, you are wrong... your next paragraph says it all...
: > 
: > The DCE security system works this way.  A server can make a subroutine
: > call into the DCE library and find out the client's identity and PAC.
: 
:         Even a rank amateur appl. programmer of the server code could
:   easily subvert the intent of the security manager (person).

..

: > The server can also find out how much to trust this information -- whether
: > it has been certified by the DCE privilege server, for example.  Both
: > clients and servers can specify the amount of privacy and certification
: > they wish to use.
: > 
:        Clients and servers are application programs. When was the last time 
:   anyone in the REAL world ever TRUSTED an application program to safeguard 
:   important information? Why is it so difficult to safeguard data at the 
:   system level? 

..

There are several problems with this line of argument:

1) Off hand, I'd say that if the server is sloppily coded, any security
scheme can be subverted.  If the server uses impersonation, then you
fool the server into impersonating the wrong person...

2) Database systems are application programs.  They must be built to enforce
a variety of access restrictions.  Just because somebody else wrote the code
doesn't make it special.  It only gives you a larger group to commiserate with
when bugs are found.

3) I see no reason to believe that The System will be
more secure than an application.  No theoretical reason and no empirical
evidence.  Security problems in OSs are not exactly rare.

4) DCE is "middle-ware", implemented on top of a variety of operating systems.
It is not really feasible for DCE security to be based on specific features
of the operating system kernel.

5) Access really is properly an application decision.  Only the application
knows what the relevant division of objects is, what the meaningful operations
are, and therefore only the application can really interpret the ACLs.
Throwing it to the system would require either a very cleverly flexible
system, or a restrictively inflexible set of security primitives.

--
Jon Mauney			 mauney@csc.ncsu.edu
Mauney Computer Consulting	 (919) 828-8053

"She wrote a long letter, on a short piece of paper."


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1993-11-09 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-02 20:25 Is OSF Serious about Security CRARY
1993-11-03 19:11 ` Rich Salz
1993-11-04 17:04   ` CRARY
1993-11-05 19:30     ` Paul (Cliffy) Palmer
1993-11-09 14:42     ` Jon Mauney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox