Closed stondino00 closed 1 year ago
How do I get someone to review this?
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you!
My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!
If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+
Hi, same here with Nextcloud 25.0.4. A recent security audit of our external perimeter states that bootstrap 3.3.5 is used and refers to https://[domain]/dist/core-common.js. A quick search for "bootstrap v3.3.5" in this file returned 24 results.
That's not the case anymore. It's just a bad copyright comment that was copied over.
https://github.com/nextcloud/server/pull/35485
Also backported to 25.0.4 https://github.com/nextcloud/server/pull/36273
24 might still show this false interpretation, but it's okay to ignore. Shipped bootstrap version is 4.6.2 https://github.com/nextcloud/server/blob/stable24/package.json#L51
Thanks for the clarification, good to know that this is only a bad comment! But https://raw.githubusercontent.com/nextcloud/server/stable25/dist/core-common.js still has those comments, shouldn't they be gone there as well with those two PRs you mentioned?
Still seeing this copyright issue in 25.0.7
https://
Hi,
In v26.02 it is still an issue, the source still has it: https://raw.githubusercontent.com/nextcloud/server/stable26/dist/core-common.js. I guesss this affects the Nextcloud shipped apps by default too, below are some I've encountered from 1-7. Az point 8. is a different JS, which is actually really there : also outdated & vulnerable
By using the Nextcloud Files
In dist: /dist/core-common.js
Activity (v2.18.0): /apps/activity/js/activity-323.js
Checksum (v1.2.1): /apps/activity/js/activity-323.js
Electronic signatures (2.0.4): /apps/electronicsignatures/js/electronic-signatures-fileActions.js
Group folders (v14.0.2): /apps/groupfolders/js/groupfolders-vendors-node_modules_nextcloud_vue-richtext_dist_index_js-node_modules_nextcloud_vue_dist_Com-ae25e2.js
[Built-in] Viewer (v1.10.0): /apps/viewer/js/viewer-main.js6.
By loading Photos /apps/photos/js/photos-main.js
By loading Talk /apps/deck/js/deck-reference.js & /apps/deck/js/deck-talk.js 9.
A different but also vulnerable one - jszip.js in Mind Map (0.0.28): /apps/files_mindmap/js/jszip.js
I've considered opening a new issue for this, since above comments seem to not get any traction. The issue persists on v26.0.4, and still trips up security scanners - especially bad, since v26+ seems to have dropped bootstrap altogether as a dependency. I detest pinging, but seem to have no choice - @nickvergessen please consider reopening the issue?
Then maybe it is another app you use that embeds it itself.
Please post a new detailed scanner report so we can judge it
Alright, as I understand core-common.js is re-generated when apps are added/removed?
I've done a grep -R -o -n "Bootstrap v3.3.5" apps/
in my instance's apps folder, and it appears those still have the strings inside their *.js files.
calendar
deck
groupfolders
recommendations
richdocuments
privacy
photos
activity
firstrunwizard
viewer
Not all of those apps are active, and all are 'Featured' in the App menu.
⚠️ This issue respects the following points: ⚠️
Bug description
Nessus scan showing old bootstrap version. Actually looks like 3.x is end of life as well. Should be updated to 5.x asap it appears.
https://endoflife.date/bootstrap
Steps to reproduce
Scan with nessus OR go to this url on your nextcloud instance and search for Bootstrap.
https:///dist/core-common.js
Expected behavior
Showing newer version when searching for bootstrap.
Installation method
Official SNAP package
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response