Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Home Page:https://dashy.to

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Unauthorized user can access /conf.yml

Towerism opened this issue · comments

Environment

Self-Hosted (Docker)

System

Chrome 124.0.6367.201, Debian GNU/Linux 12 (bookworm), Docker 20.10.24+dfsg1 build 297e128

Version

3.1.0

Describe the problem

First of all, thanks for creating this product. It's a beautiful, easy to configure, easy to use dashboard that has made it a pleasure to organize my home network.

Now onto to the bug.

With the following settings:

appConfig.disableConfigurationForNonAdmin: true
appConfig.auth.enableGuestAccess: false

an unauthorized user can access /conf.yml and view the entire config. This seems like a security flaw. Unauthorized users should be denied access to /conf.yml.

Additional info

No response

Please tick the boxes

Closed as duplicate of #668

Please look into the docs before creating a new issue; https://dashy.to/docs/authentication

It's explained here.
Also you can find a resolution, for example by adding http basic auth.

Also look at this:
#1579 (comment)