Skip to content

NGINX v1.27.4 + ModSecurity = broken wordpress sites #18

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

Closed
Arien02 opened this issue Feb 23, 2025 · 3 comments
Closed

NGINX v1.27.4 + ModSecurity = broken wordpress sites #18

Arien02 opened this issue Feb 23, 2025 · 3 comments

Comments

@Arien02
Copy link

Arien02 commented Feb 23, 2025

Hello!

I have just updated NGINX from 1.27.3 to 1.27.4 and all my wordpress sites got broken, without any error messages in log files, just weird symbols and messages from browser.

I had to quick restore the backup, so the only capture I was able to make was this:

Image

But it works without any problem with 1.27.3 no config files changes, no WP updates...

Have anyone faced this problem with new NGINX version?
What can I do to help debug this issue?

@Arien02
Copy link
Author

Arien02 commented Feb 24, 2025

Just for adding more info, there's another user reporting issues like mine with last Nginx verion and Modsecurity enabled:

nginx/nginx#465

And looking for more info, it seems to be a problem with ModSecurity-nginx connector, and some patches added few weeks ago that resulted in weird responses from server.

The mantainer said it was fixed with some patches 5 days ago, so I guess deb.myguard.nl compiled packges are still affected with this errors.

owasp-modsecurity/ModSecurity-nginx#336 (comment)
owasp-modsecurity/ModSecurity-nginx#336

@eilandert can you please take a look for those patches and rebuild NGINX+ModSecurity with new versions?

Thank you.

@Arien02 Arien02 changed the title NGINX v1.27.4 broken wordpress sites NGINX v1.27.4 + ModSecurity = broken wordpress sites Feb 24, 2025
@eilandert
Copy link
Owner

HI!

Thank you for your research, I didn't know where to start looking yet :)
I am doing a full rebuild now, that includes a git pull for every module.

It should be online within the hour, please let me now how it goes

@Arien02
Copy link
Author

Arien02 commented Mar 1, 2025

@eilandert Sorry for the delayed reply, I just applied the update and now everything works as expected!

Thank you very much for your efforts.

@Arien02 Arien02 closed this as completed Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants