Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15984

Use of 'Cache-Control: public' for serving files

XMLWordPrintable

    • Icon: Security Issue Security Issue
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.8-RC1
    • 3.2.5
    • Attachments
    • None

      In inlcludes/functions_download.php on line 199 and line 454 the Cache-Control is set to public.

      header('Cache-Control: public');
      

      A proxy service may cache a file in private forums or PM's giving access to someone who does not have access. Minimally this should be set to private. Ideally to leverage a public cache files that can be viewed by the anonymous user could be set to public and set all others to private.

            Senky Senky [X] (Inactive)
            thecoalman thecoalman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: