W3 Total Cache Nginx – Root Escalation
blog.tarq.io
W3 Total Cache Nginx – Root Escalation
1–10 of 22 posts
Re: W3 Total Cache Nginx – Root Escalation
#2Re: W3 Total Cache Nginx – Root Escalation
#3Re: W3 Total Cache Nginx – Root Escalation
#4Why would you ever include user owned configs in nginx?
Re: W3 Total Cache Nginx – Root Escalation
#5Re: W3 Total Cache Nginx – Root Escalation
#6Huh, why does nginx even change permissions?
Re: W3 Total Cache Nginx – Root Escalation
#7Huh, why does nginx even change permissions?
In theory, to make the temp/cache directories more secure I imagine
Re: W3 Total Cache Nginx – Root Escalation
#8Earlier quoted context omitted.
In theory, to make the temp/cache directories more secure I imagine
This would make sense if it created those directories, but IMHO it should fail to start if the path exists and isn't owned by www process. The function that does chown() is even called ngx_create_paths().
Re: W3 Total Cache Nginx – Root Escalation
#9Why would you ever include user owned configs in nginx?
Trust me, I was just surprised as you are when I saw tutorials suggesting this.
Yes, htaccess is ugly but at least a server operator can restrict the users from pwning the machine and only allow rewrite-configs.
Re: W3 Total Cache Nginx – Root Escalation
#10Earlier quoted context omitted.
Trust me, I was just surprised as you are when I saw tutorials suggesting this.
Because nginx AFAIK does not have something like Apache's .htaccess. Yes, htaccess is ugly but at least a server operator can restrict the users from pwning the machine and only allow rewrite-configs.
Htaccess sucks for various reasons, but most of the suck can be worked around.