• Buggy PHP2Shell Update

    From not@not@telling.you.invalid (Computer Nerd Kev) to alt.os.linux.debian on Fri Oct 23 07:45:37 2026
    From Newsgroup: alt.os.linux.debian

    A warning that since applying Debian 12 (Bookworm) and 13 (Trixie)
    package updates to fix the PHP2Shell vulnerability (updated to PHP
    8.2.35 and 8.4.27 respectively), PHP can't load modules anymore:

    Here from the web server log on the Debian 12 system (actually
    Devuan):

    PHP Warning: PHP Startup: Unable to load dynamic library
    'mbstring.so' (tried: /usr/lib/php/20220829/mbstring.so
    (/usr/lib/php/20220829/mbstring.so: undefined symbol:
    _safe_femalloc), /usr/lib/php/20220829/mbstring.so.so
    (/usr/lib/php/20220829/mbstring.so.so: cannot open shared object
    file: No such file or directory)) in Unknown on line 0

    (repeated for 15 other modules)

    Similar in Debian 13 (so much for running a backup server with a
    different OS version so the same bugs won't happen in both places
    at once):

    PHP Warning: PHP Startup: Unable to load dynamic library
    'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so
    (/usr/lib/php/20240924/mbstring.so: undefined symbol:
    _safe_femalloc), /usr/lib/php/20240924/mbstring.so.so
    (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object
    file: No such file or directory)) in Unknown on line 0

    I found a bug report for this with Debian 12 (PHP 8.2.35):

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151659

    Unfortunately so far no work-around is suggested, except to
    downgrade back to the vulnerable version.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to alt.os.linux.debian on Mon Oct 26 11:39:51 2026
    From Newsgroup: alt.os.linux.debian

    Computer Nerd Kev <not@telling.you.invalid> wrote:
    A warning that since applying Debian 12 (Bookworm) and 13 (Trixie)
    package updates to fix the PHP2Shell vulnerability (updated to PHP
    8.2.35 and 8.4.27 respectively), PHP can't load modules anymore:

    It turns out it's an Apache issue. The install script does a
    "restart" of Apache, but it reuses the old mod_php in memory
    instead of the newly installed one. But Apache does reload the PHP
    modules, and they all fail since they're for the new version.

    It's fixed by running "apache2ctl stop", then "apache2ctl start",
    instead of "apache2ctl restart". Or rebooting. Unfortunately Apache
    probably remains vulnerable to PHP2Shell until you do that.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.22a-Linux NewsLink 1.2