XOOPS 2.5.11.4 is a security update for XOOPS 2.5.11. All 2.5.11 sites should apply it.We appreciate the notification about this security issue from our friends at
Impress CMS (David Janssens)What's fixed"Remember me" sign-inGHSA-443c-pg9g-cw65- The remember-me cookie is tied to the account's current password. Changing the password now signs out every browser that was remembered before the change.
- A deactivated account can no longer be signed in from its cookie, and its open sessions end on the next page view.
- A remembered sign-in starts a fresh session, like a password sign-in. The cookie is no longer extended on each visit; it expires 30 days after the password sign-in that set it.
- A damaged remember-me key file is replaced automatically.
- Both sign-out pages clear the cookie the same way, and a malformed cookie no longer causes an error page.
- After the update, users who used "Remember me" sign in once more.
To end "Remember me" on all of an account's devices, change the account's password. To end it for every account at once, delete
xoops_data/data/*-key-rememberme.php;
XOOPS creates a new key on its next use. If PHP's OPcache runs with "opcache.validate_timestamps=0", also reset OPcache or restart PHP.
Image manager of the TinyMCE 3 and TinyMCE 5 editorsThe editors' image manager now applies the same rights as System, Images:
- Adding, editing and deleting image categories needs the right to manage images.
- Uploading an image needs the write right on its category, and deleting one the write right on the image's own category. Listing a category's images needs its read right.
- Saving changes to images (TinyMCE 3) needs the write right on the image's category and on the category it moves to.
The TinyMCE 5 plugin's upload, category edit and category delete forms work again, and deleting a category no longer stops with a fatal error on PHP 8.
image.php?id="image.php?id= now" sends an image of the image manager only to visitors whose groups may read its category, or who manage images. Anyone else gets the blank image. Before, it sent any displayed image to anyone who knew its number. Requests by file "(image.php?url= or ?src=)" are unchanged, and images of a category stored as files stay reachable at their address in uploads/.
Check your image categories after the update. A new category is readable by Webmasters only unless other groups were chosen. Open System, Images, and for every category stored in the database whose images appear on public pages, let Anonymous (and the other groups that should see them) read it. Its images are then served as before. A group that may only upload to a category no longer sees its images, and on a closed site a visitor who may not enter gets the closed-site page instead of the image.
There are no database, template or language changes. PHP 7.4 and later are supported, as in 2.5.11.2 and 2.5.11.3.
How to updateOn XOOPS 2.5.11.3: download
xoops-2.5.11.3-to-2.5.11.4-patch.zip. Back up your site, then copy the zip's htdocs folder over your XOOPS root, keeping the folder paths. It replaces nine files. You don't need to run the upgrade wizard. Afterwards, System Admin shows XOOPS 2.5.11.4-Stable. Then check your image categories as described above.
New install, or a version older than 2.5.11.3: use the full package (the source code zip on this release) and follow the usual install or upgrade steps.
Full details are in docs/changelog.250.txt.
Full Changelog:
https://github.com/XOOPS/XoopsCore25/compare/v2.5.11.3...v2.5.11.4XOOPS 2.7XOOPS 2.7.4.1 carries the "Remember me" changes for the 2.7 line. The image manager plugins of XOOPS 2.7 received the same checks in 2.7.3 and 2.7.4, and the image.php?id= change follows in 2.7.5.