The patch is available from here and I urge users to apply the patch as soon as possible. It only patches PHP files so can be applied directly to package installs as well as source builds.
To apply the patch go to the top level of your ZoneMinder source directory and type the following.
Code: Select all
patch -p0 < /path/to/downloaded/lfi-patch.txt
Code: Select all
patching file web/includes/functions.php
Hunk #1 succeeded at 2314 (offset -36 lines).
Hunk #2 succeeded at 2341 (offset -36 lines).
patching file web/index.php
Hunk #1 succeeded at 96 (offset -1 lines).
Hunk #2 succeeded at 111 with fuzz 1 (offset -1 lines).
Please note that the issue that this patch addresses applies to authenticated users on systems with authentication enabled, or for any users on systems which do not require authentication. Not all systems appear to exhibit the problem even in these circumstances, possibly due to different PHP configuration, but I recommend applying the patch on all systems anyway. Please note that the version of 1.24.4 available for download as from today (28/7) has been updated with this patch.