-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModSecurity 3.0.13 error std::length_error + blocking ALL site requests #3259
Comments
Hi @stevenkain, do you have audit.log? If yes, could you share that with us, but please not here but in email: [email protected]. |
as I mentioned in my initial post, the audit.log is always empty. 0 bytes The Module Parameters in my OpenLiteSpeed WebServer are:
|
sorry, I didn't notice that line.
Thanks, I try to investigate the cause based on the available information. |
Do you have any special build environment/setting/...? How did you build the library? I mean could you show your config.log's 7th line? It seems something like
or very similar. The point is that your used options (+ other exported variables, eg. if you have any |
Nothing special, ModSecurity v3.0.13 comes packaged with the newest OpenLiteSpeed v1.8.2. Basically: then run: P.S: maybe this could help: is how any and all my web pages are returned (index.html) in Firefox 115.14.0esr (64-bit) when I try to access them with ModSecurity module enabled in the OLS webserver: |
Thanks, this is an important information. Seems like LiteSpeed delivers the solution in binary format - and therefore I don't know what modifications they have been made. On the weekend I tried to reconstruct the issue with "vanilla" libmodsecurity3 and an Nginx (based on your logs - I assumed that the URI is just the May be you should ask LiteSpeed to investigate this issue. |
I did, even before coming here: https://forum.openlitespeed.org/threads/ols-1-8-2-upgrade-std-length_error-breaks-mod_security.6194/ No feedback yet. |
Please fix the current version of the ModSecurity Library, which seems to be broken for many (most?) of us. |
Indeed, it must be fixed - but unfortunately until we can't reproduce the issue, we can't handle the problem. Could you produce a core dump? |
I asked the core dump on OLS's forum. |
Issue was solved on OLS's site: Conclusion: older versions of GCC (<= 7) probably compiles incorrect binary. I'm closing this one. |
After upgrading to latest version of ModSecurity v3.0.13 there is a new error written to the stderr.log every 5 minutes:
At the same time, ModSecurity now blocks every single page request for my site (browser returns code 301 - moved permanently). When I turn off the ModSec module within the WebServer, everything starts running fine once again.
There seem to be no other errors and the only entries in the debug.log are lvl 4 and lvl 9, all of them seem to pass:
[/] [4] Running (disruptive) action: pass.
Attached:
stderr.log
modsec_debug.log
(modsec_audit.log is always empty, no point of attaching it)
OS: AlmaLinux v9.4 x64
PLATFORM_ID="platform:el9"
WebServer: OpenLiteSpeed v1.8.2
ModSec v3.0.13 implemented as a module with OpenLiteSpeed v1.8.2
Comodo rules set (free version) for Litespeed v1.241 "cwaf_rules_ls-1.24"
modsec_debug.log
stderr.log
The text was updated successfully, but these errors were encountered: