Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16918

phpBB circumvents http>https redirection

    XMLWordPrintable

Details

    • Security Issue
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Invalid
    • 3.3.5
    • None
    • Authentication
    • I am using the latest release version of phpBB on an Apache server

    Description

      I am using a simple HTTP to HTTPS redirect on my website through .htaccess in the root directory. My phpBB3 forum is installed in a subdirectory and has its own .htaccess file that comes in with the installation.

      The problem is that phpBB's htaccess file seems to overwrite the simple redirect I have in my root directory:

      RewriteCond %{HTTP_HOST} ^example\.com [NC]
      RewriteCond %{SERVER_PORT} 80 
      RewriteRule ^(.*)$ https://example.com/$1 [R,L]

       

      As a result, the boards can be browsed using the HTTP protocol which is unsecure - especially when there are internal links on the forums.

      I think HTTP authentication should be blocked altogether, especially if SSL is enabled in the forum options. It's very easy to check if the user is connected through HTTPS using PHP.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dopeman69 dopeman69
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: