<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>5556</bug_id>
          
          <creation_ts>2007-09-12 17:29</creation_ts>
          <short_desc>Audit directory setup instructions are insecure</short_desc>
          <delta_ts>2012-09-12 13:00:29</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>GRAM</product>
          <component>gt2 Gatekeeper/Jobmanager</component>
          <version>4.0.5</version>
          <rep_platform>TeraGrid</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <bug_file_loc>http://www.globus.org/toolkit/docs/4.0/execution/prewsgram/Pre_WS_GRAM_Audit_Logging.html</bug_file_loc>
          
          
          <priority>P3</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John-Paul Navarro">navarro@mcs.anl.gov</reporter>
          <assigned_to name="Stuart Martin">smartin@mcs.anl.gov</assigned_to>
          <cc>bester@mcs.anl.gov</cc>
    
    <cc>feller@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="John-Paul Navarro">navarro@mcs.anl.gov</who>
            <bug_when>2007-09-12 17:29:39</bug_when>
            <thetext>PreWS audit setup instructions say to create a directory with the permissions &quot;rws-wsrwx&quot;.
This is insecure and allows arbitrary users to ls the files in the directory and to remove
anyone&apos;s files.  More secure perms are &quot;rwx-wx-wt&quot;, set using &quot;chmod 1733&quot;.  With these
permissions, a user can create, modify, or delete only their own files, but they can&apos;t even ls
the files in the directory to see what they are.  This is reasonable given that GRAM2 creates the
files for the user in the first place, and the file-names have large random integers in them. It
would be very difficult for a user to know the names of their files in order to alter them.

It would also be good if the instructions suggested that the directory owner be &quot;globus&quot; or
whichever non-root user will be used to process and load the audit records into the database.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Joe Bester">bester@mcs.anl.gov</who>
            <bug_when>2012-09-12 09:22:44</bug_when>
            <thetext>This has been fixed in GRAM5</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="John-Paul Navarro">navarro@mcs.anl.gov</who>
            <bug_when>2012-09-12 12:02:25</bug_when>
            <thetext>What version of GRAM5.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Joe Bester">bester@mcs.anl.gov</who>
            <bug_when>2012-09-12 13:00:29</bug_when>
            <thetext>5.2.x</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>