Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5534

(Static Catalog) As a puppet node, I should only be able to retrieve historical file content for files in <codedir>/environments/*/modules/*/files/*

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Normal
    • Resolution: Incomplete
    • None
    • None
    • None
    • None

    Description

      As a puppet node, I should only be able to retrieve historical file content for files which I have permission to access.

      Static Catalog
      1. local file has drifted. So we need to retrieve the right original file content that is consistent with the one we are applying
      2. auth part: removing implicit path expansion of puppet:///modules/mod_name/file_name urls to modules/mod_name/files/file_name. A valid client cert can access everything from any module's files directory. Make sure that as an unauthenticated connection cannot get file content. Also make sure you cannot cause a path traversal attack even with a valid client cert.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sean Sean Griffin
              Sean Griffin Sean Griffin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support