-
-
Notifications
You must be signed in to change notification settings - Fork 603
Open
Labels
Description
Version
1.23.0
What did you expect to happen?
A pass when running a detectify scan on our multisite.
Upon investigation it appears the multisite config in roles/wordpress-setup/templates/wordpress-site.conf.j2 is out of date with the current Wordpress recommendation for multisite. I believe line 69:
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
should be:
rewrite /wp-admin$ $scheme://$host$request_uri/ permanent;
I also found this mentioned here: yandex/gixy#77
What actually happens?
Detectify raises a "Wordpress / NGINX HTTP Response Splitting" issue.
Steps to reproduce
- Setup a new trellis install with multisite running via subdirectories
- Run a detectify scan
- Observe the results
Also:
- Setup a new trellis install with multisite running via subdirectories
- Visit https://mydomain.com/wp/%0d%0asplitting/wp-admin
System info
No response
Log output
No response
Please confirm this isn't a support request.
Yes