mirror of
https://github.com/outbackdingo/Mailu.git
synced 2026-01-27 10:19:35 +00:00
Snuffleupagus v0.12
This commit is contained in:
@@ -27,7 +27,7 @@ CMD /bin/bash
|
||||
FROM system as build
|
||||
|
||||
ARG MAILU_DEPS=prod
|
||||
ARG SNUFFLEUPAGUS_VERSION=0.11.0
|
||||
ARG SNUFFLEUPAGUS_VERSION=0.12.0
|
||||
|
||||
ENV VIRTUAL_ENV=/app/venv
|
||||
|
||||
|
||||
1
towncrier/newsfragments/3899.bugfix
Normal file
1
towncrier/newsfragments/3899.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Upgrade to Snuffleupagus 0.12 to fix a NULL ptr deref; re-enable the related rules
|
||||
@@ -144,11 +144,11 @@ sp.disable_function.function("ini_set").param("option").value_r("display_errors"
|
||||
|
||||
# Classic webshells patterns
|
||||
# Those create SIGSEGV on arm64 for some reason
|
||||
#sp.disable_function.function("system>base64_decode").drop();
|
||||
#sp.disable_function.function("shell_exec>base64_decode").drop();
|
||||
#sp.disable_function.function("exec>base64_decode").drop();
|
||||
#sp.disable_function.function("passthru>base64_decode").drop();
|
||||
#sp.disable_function.function("proc_open>base64_decode").drop();
|
||||
sp.disable_function.function("system>base64_decode").drop();
|
||||
sp.disable_function.function("shell_exec>base64_decode").drop();
|
||||
sp.disable_function.function("exec>base64_decode").drop();
|
||||
sp.disable_function.function("passthru>base64_decode").drop();
|
||||
sp.disable_function.function("proc_open>base64_decode").drop();
|
||||
sp.eval_blacklist.list("system,exec,shell_exec,passthru,proc_open");
|
||||
|
||||
sp.auto_cookie_secure.enable();
|
||||
@@ -156,6 +156,8 @@ sp.auto_cookie_secure.enable();
|
||||
# TODO: ensure this is up to date
|
||||
sp.cookie.name("roundcube_sessauth").samesite("strict");
|
||||
sp.cookie.name("roundcube_sessid").samesite("strict");
|
||||
sp.cookie.name("smtoken").samesite("strict");
|
||||
sp.cookie.name("smctoken").samesite("strict");
|
||||
sp.ini_protection.policy_silent_fail();
|
||||
|
||||
# roundcube uses unserialize() everywhere.
|
||||
|
||||
Reference in New Issue
Block a user