Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is NextCloud server vulnerable to this new jquery file upload vulnerability (CVE-2018-9206)? #11953

Closed
user23498723452 opened this issue Oct 20, 2018 · 2 comments
Labels

Comments

@user23498723452
Copy link

Is NextCloud server vulnerable to this jquery file upload vulnerability? In my brief testing it does not appear to be, but I want to be sure ... more than I want to collect a bug bounty.

https://www.bleepingcomputer.com/news/security/jquery-file-upload-plugin-vulnerable-for-8-years-and-only-hackers-knew/

https://github.com/lcashdol/Exploits/blob/master/CVE-2018-9206/

https://github.com/blueimp/jQuery-File-Upload/wiki/Security

NC separates the uploaded file path from the uri and presumably prevents execution in this manner. Not to mention that NC seems to require authentication. So, at worst a privilege escalation issue. I tested the exploit locally and it failed. At the very least the uri/path to anything of concern in nextcloud is different.

I think this file is the affected component and is a vulnerable version:

https://github.com/nextcloud/server/blob/master/apps/files/js/jquery.fileupload.js

Here is the path I can locate the source js at on my server:

~website/apps/files/js/jquery.fileupload.js

But I have not figured if the same vulnerability is exposed.

@user23498723452 user23498723452 changed the title Is NextCloud server vulnerable to this new jquery file upload vulnerability? Is NextCloud server vulnerable to this new jquery file upload vulnerability (CVE-2018-9206)? Oct 20, 2018
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #5438 (Nextcloud won't upload larger files), #7622 (NextCloud Server Listener ), #8753 (Nextcloud server is not cleaning old uploads entries), #6223 (Unable to upload files to NextCloud), and #3402 (Hook for after uploading a new file).

@rullzer
Copy link
Member

rullzer commented Oct 23, 2018

Feel free to report such issue to our hackerone program :)
Anyway. No Nextcloud is not affected. This was a bug in the php code of the plugin which we do not use.

Thanks for reporting :)

@rullzer rullzer closed this as completed Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants