diff --git a/build/build.xml b/build/build.xml index 0370faf803..9942f10d05 100644 --- a/build/build.xml +++ b/build/build.xml @@ -3,8 +3,8 @@ - - + + diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 6566212e43..ab65c70d1f 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -50,6 +50,7 @@
  1. Changelog
      +
    • Changes since 3.3.9-RC1
    • Changes since 3.3.8
    • Changes since 3.3.7
    • Changes since 3.3.6
    • @@ -163,6 +164,16 @@
      +

      Changes since 3.3.9-RC1

      +

      Bug

      +
        +
      • [PHPBB3-17058] - Special character issue in emails from PHP 8.0 and higher
      • +
      +

      Hardening

      +
        +
      • [SECURITY-274] - Reset login keys/session when resetting password
      • +
      +

      Changes since 3.3.8

      Bug

        diff --git a/phpBB/install/phpbbcli.php b/phpBB/install/phpbbcli.php index ea79888c42..95b8f127f8 100755 --- a/phpBB/install/phpbbcli.php +++ b/phpBB/install/phpbbcli.php @@ -23,7 +23,7 @@ if (php_sapi_name() !== 'cli') define('IN_PHPBB', true); define('IN_INSTALL', true); define('PHPBB_ENVIRONMENT', 'production'); -define('PHPBB_VERSION', '3.3.9-RC1'); +define('PHPBB_VERSION', '3.3.9'); $phpbb_root_path = __DIR__ . '/../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); diff --git a/phpBB/phpbb/db/migration/data/v33x/v339.php b/phpBB/phpbb/db/migration/data/v33x/v339.php new file mode 100644 index 0000000000..a2757343a7 --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v33x/v339.php @@ -0,0 +1,36 @@ + + * @license GNU General Public License, version 2 (GPL-2.0) + * + * For full copyright and license information, please see + * the docs/CREDITS.txt file. + * + */ + +namespace phpbb\db\migration\data\v33x; + +class v339 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return version_compare($this->config['version'], '3.3.9', '>='); + } + + public static function depends_on() + { + return [ + '\phpbb\db\migration\data\v33x\v339rc1', + ]; + } + + public function update_data() + { + return [ + ['config.update', ['version', '3.3.9']], + ]; + } +} diff --git a/phpBB/phpbb/ucp/controller/reset_password.php b/phpBB/phpbb/ucp/controller/reset_password.php index 9919100a6c..fd256ef30d 100644 --- a/phpBB/phpbb/ucp/controller/reset_password.php +++ b/phpBB/phpbb/ucp/controller/reset_password.php @@ -415,6 +415,7 @@ class reset_password SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . ' WHERE user_id = ' . (int) $user_row['user_id']; $this->db->sql_query($sql); + $this->user->reset_login_keys(); $this->log->add('user', $user_row['user_id'], $this->user->ip, 'LOG_USER_NEW_PASSWORD', false, [ 'reportee_id' => $user_row['user_id'], $user_row['username']