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

Nextcloud exposes internal configuration/setup information #12209

Closed
rg-ac opened this issue Nov 2, 2018 · 4 comments
Closed

Nextcloud exposes internal configuration/setup information #12209

rg-ac opened this issue Nov 2, 2018 · 4 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap needs info security

Comments

@rg-ac
Copy link

rg-ac commented Nov 2, 2018

Steps to reproduce

  1. Load the NextCloud main page of your installation, e.g. nextcloud.example.com
  2. View the HTML source in your browser
  3. Look at the header part at the 'oc_*' variables

Expected behaviour

Don't expose internal configuration to the web - also no version numbers, etc.

Actual behaviour

Some oc_* variables contain internal configuration setup while not enabling any kind of federation and not being logged in.

Server configuration

Operating system: Ubuntu 16.04
Web server: Apache
Database: MySQL
PHP version:?
Nextcloud version: 13.0.7.2
Updated from an older Nextcloud/ownCloud or fresh install: Updated

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #11205 ([Nextcloud 14] Internal Server Error), #10941 (Nextcloud customiztion), #104 (NextCloud / OwnCloud), #5405 (Nextcloud / direct_menu), and #3911 (Slow Nextcloud).

@MorrisJobke
Copy link
Member

Some oc_* variables contain internal configuration setup while not enabling any kind of federation and not being logged in.

What details are you referring to specifically? Because the version number is something that doesn't really matter. If you want to know the version, then look into the JS code and it's pretty easy to say which Nextcloud version it is. It's basically obfuscation.

Also this version number is used by clients to identify the server.

@tspr
Copy link

tspr commented Nov 5, 2018

Similar Issue: #12274

nc leaks internal IP address to public.

@kesselb kesselb added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jan 17, 2020
@skjnldsv
Copy link
Member

I fail to see how that would be an issue, but again, I'm no security expert 🙈

Anyway, see two last comments on #12274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap needs info security
Projects
None yet
Development

No branches or pull requests

6 participants