I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)
on
Which general topic do you have
The PHP2shell attacks are starting. Is nextcloud susceptible? If so is there any thing we should do short of shutting down our servers until the PHP patch is available?
It would be interesting to know whether this only affects file uploads, which would require authentication (unless they’re uploaded via public shares), or whether any Nextcloud endpoints can be exploited without authentication as well.
If it’s only the former, and you only have trusted users on your Nextcloud instance, or you’re the only user, and you don’t have any public shares that allow random people you don’t trust to upload files, then nothing should happen in theory.
But yeah, as long as we don’t know the full scope of these vulnerabilities, taking the instance offline (or at least making it inaccessible from the internet) is probably a good idea. In larger environments with lots of shares and/or users you can’t fully trust, taking it completely offline would be the safest option.
Btw, these kinds of attacks could theoretically also be carried out from a compromised client device on the LAN, in which case the respective user would probably already be authenticated.
Update: After doing a little more Googling, I found the following…
Conclusion: Taking it offline until the patches are installed seems to be the only 100% safe option.
Thank you for asking, we are aware of the issue. Please see CERT-EU - Critical Vulnerabilities in PHP for information from CERT. We are looking into it and will share more details as soon as we know more.
Are we going to get the fixes deployed into Nextcloud AIO as well soon? (not pushing, just wondering how to continue with those, because I run everything through AIO)