Hundreds of Notices and Warnings in Logs

#1
I am getting tons of modsec warnings and notices in the logs when i first log into WebAdmin Console.
this has happened hundreds of times every few seconds as you can see. not posting all to save space and time.

Code:
2019-01-01 02:14:00.683461    NOTICE    [76.179.196.244:58415:HTTP2-39] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:14:07.340021    NOTICE    [76.179.196.244:58415:HTTP2-43] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:14:08.164722    NOTICE    [76.179.196.244:58415:HTTP2-47] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:14:09.799489    NOTICE    [76.179.196.244:58415:HTTP2-49] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:14:13.213976    NOTICE    [76.179.196.244:58415:HTTP2-51] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:14:17.201513    NOTICE    [76.179.196.244:58415:HTTP2-53] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:14:20.114367    NOTICE    [76.179.196.244:58415:HTTP2-55] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:15:59.263203    NOTICE    [76.179.196.244:58661:HTTP2-1] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:16:10.026039    NOTICE    [76.179.196.244:58661:HTTP2-3] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
2019-01-01 02:16:21.051640    NOTICE    [76.179.196.244:58661:HTTP2-5] [STDERR] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17
and

Code:
ModSecurity] REQBODY_ERROR "!@eq 0" "msg:'Failed to parse request body.||MVN:%{MATCHED_VAR_NAME}||T:LITESPEED||MV:%{MATCHED_VAR}||PC:%{PERF_COMBINED}',tag:'i360',id:88139653,rev:'1',maturity:'9',accuracy:'9',phase:request,pass,t:none,tag:'noshow',severity:7,tag:'o'": Rule not supported.

[ModSecurity] failed to parse a modsec variable. while parsing: Block abusive scripts||MVN:%{MATCHED_VAR_NAME}||T:LITESPEED||MV:%{MATCHED_VAR}||GT:%{ARGS_GET}||PT:%{ARGS_POST}||PC:%{PERF_COMBINED}

[ModSecurity] failed to parse a modsec variable. while parsing: Block abusive scripts||MVN:%{MATCHED_VAR_NAME}||T:LITESPEED||MV:%{MATCHED_VAR}||GT:%{ARGS_GET}||PT:%{ARGS_POST}||PC:%{PERF_COMBINED}


[ModSecurity] failed to parse a modsec variable. while parsing: Track php injections||MVN:%{MATCHED_VAR_NAME}||T:LITESPEED||MV:%{MATCHED_VAR}||GT:%{ARGS_GET}||PT:%{ARGS_POST}||PC:%{PERF_COMBINED}
 

Pong

Administrator
Staff member
#2
Unsupported Variable Errors are normal and can be ignored.

We try to keep LSWS compatible with the latest mod_security 2.5(and above) and gotroot rules. LSWS supports most of these rules. We attempt not to miss any really important features/rules used in the real world, and we regularly add support for more features based on our user feedback. However, because of the complexity and fluctuating nature of these security rules, it is not possible to be 100% compatible with Apache at any one time.

The above error messages simply mean the given variables are not supported by LSWS yet. The errors can simply be ignored. We periodically review our mod_security engine and frequently add new support. Stay tuned.

https://www.litespeedtech.com/suppo...g:mod_security_faq#unsupported_variable_error
 

Pong

Administrator
Staff member
#3
For [STDERR] PHP Strict Standards: Only variables should be assigned by reference, in /usr/local/lsws/admin/html.5.3.5/service/logViewer.php on line 17

We could not reproduce it in our lab computer. How to reproduce it? Can you log a ticket with us by providing logged in to your server?
 
Top