1
Mamba
XOOPS 2.7.4.1 Security Update

Resized Image


XOOPS 2.7.4.1
A security update for XOOPS 2.7.4. It tightens the "Remember me" sign-in and updates the bundled PHPMailer library. All 2.7.4 sites should apply it. There are no database, template or language changes.

We appreciate the notification about this security issue from our friends at Impress CMS (David Janssens)

"Remember me" sign-in

  1. A session restored from the remember-me cookie starts empty, as a password sign-in does, and only under a new session ID.
  2. The cookie is no longer renewed on each visit. It expires 30 days after the password sign-in that set it, so a remembered visitor signs in again every 30 days.
  3. The cookie is removed only when it is refused. When the signing key or the two-factor record cannot be read, the visitor stays signed out for that request and keeps the cookie.
  4. A damaged key file (xoops_data/data/*-key-rememberme.php, empty or cut off) is replaced once and reported with a notice. That signs every remembered visitor out once.
  5. Every place that removes the cookie now uses one helper, XoopsUserUtility::clearRememberCookie().
  6. XOOPS 2.7.4 already ties the cookie to the account's password, so a password change still ends every remembered sign-in.


Known limits: signing out clears the cookie of that browser only, so a copy of the cookie made earlier stays valid until it expires or the password changes. Reactivating an account whose password is unchanged makes its unexpired cookies valid again. On sites that sign in through LDAP or Active Directory, a password change made only in the directory takes effect once the local account changes. A site that turns session ID regeneration off cannot use "remember me".

PHPMailer 7.4.1

The bundled PHPMailer is updated to 7.4.1. It carries the eight fixes PHPMailer published on 2026-12-04 for every release before 7.4.0: validation of header values such as Priority, the DKIM settings and attachment types, address handling, and STARTTLS.

PHPMailer 7 keeps its message translations in a static table, so XoopsMultiMailer now sets a site's language/<language>/phpmailer.php there. A module class that extends PHPMailer and sets $this->language or calls $this->setLanguage() must do the same.

Upgrading to 2.7.4.1

From XOOPS 2.7.4: back up your site, then copy the new files over the web root, and the contents of xoops_lib over your site's xoops_lib folder (wherever you moved it). You don't need to run the upgrade wizard. Afterwards, System Admin shows XOOPS 2.7.4.1.

From an older version: follow the upgrade steps of the 2.7.4 release first.

PHP 8.2 to 8.6 are supported, as in 2.7.4.

Known issue: symfony/yaml
The bundled symfony/yaml 7.4.21 is affected by Symfony advisory GHSA-hwfg-qwvh-2wfx: a crafted YAML document can keep the parser busy for a very long time. XOOPS core parses only YAML files on disk (module table definitions and sample data, read during installs an administrator runs), so no visitor input reaches the parser. A module that parses YAML from users or other untrusted sources should not do so on 2.7.4.1. XOOPS 2.7.5 ships symfony/yaml 7.4.23, which fixes it.

Full details are in docs/changelog.270.txt.

XOOPS 2.5.11
XOOPS 2.5.11.4, released today, brings the same "Remember me" fixes to the 2.5.11 line.

DOWNLOAD: https://github.com/XOOPS/XoopsCore27/releases/
Support XOOPS => DONATE
Use 2.7.x | Docs | Modules | Bugs