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

Add allowed_classes => false to unserialize() calls as additional hardening

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • 4.0.0-a3, 3.3.18-RC1
    • None
    • None
    • None
    • PHP 7.2+, phpBB 3.3.x

       

      {{Several unserialize() calls in phpBB do not restrict allowed classes,
      allowing PHP Object Injection if an attacker can write to the relevant
      database tables.

      Affected files:

      • phpbb/notification/type/base.php
      • phpbb/extension/manager.php
      • phpbb/textreparser/manager.php
      • includes/functions_display.php

      Fix: pass ['allowed_classes' => false] to all affected unserialize() calls.}}

            Marc Marc
            xananasx7 xananasx7
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: