RSS Feed/News nginx-related manual security fault

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,726
Points
823

Reputation:

In XenForo 2.x manual, where nginx webserver configuration described, there's a potential security fault related to php scripts:

Friendly URLs | Manual | XenForo

End-user documentation for XenForo
xenforo.com
xenforo.com
With this setup, every visitor still can execute any php scripts behind protected folders, like src, internal_data, etc
All protected routes need to have ^~ at the beginning of path, so the final version should look like this:
NGINX:

Code:
location ^~ /xf/install/data/ {
    internal;
}

location ^~...

Read more

Continue reading...
 
Status
Not open for further replies.
Top