Skip to content

Prevent anonymous users from accessing setup pages

Sunil Mohan Adapa requested to merge fonfon:setupfix into master

Created by: fonfon

Anonymous users were able to access pages that used the 'public' decorator of stronghold. If such a page showed the installation routine of the setup module because of missing packages they were able to access and use it, in other words: Anonymous users were able to install software.

Example url: <your-server>/plinth/apps/xmpp/jsxc/, in case you do not have xmpp installed you will see this screen, and the installation will work: screenshot_2016-12-25_19-08-09

Ideas to make this more generic or implement it on a higher level are very much appreciated.

Merge request reports

Loading