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

[BUG-SECURITY ISSUE] DB user/pass in plaintext in server.log #34

Closed
1 task done
nodiaque opened this issue Nov 20, 2023 · 3 comments
Closed
1 task done

[BUG-SECURITY ISSUE] DB user/pass in plaintext in server.log #34

nodiaque opened this issue Nov 20, 2023 · 3 comments

Comments

@nodiaque
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello,

When you open server.log, the full connection string http://user:pass@mongodb is written multiple time in plaintext. At least password should be scrubbed

Expected Behavior

Password to be scrubbed in logs unless debug mode is enable with a warning saying it's dumping pasword in plaint test.

Steps To Reproduce

Check server.log

Environment

- OS: unraid 6.12.4
- How docker service was installed:
Unraid apps

CPU architecture

x86-64

Docker creation

unraid apps

Container logs

no need
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca
Copy link
Member

aptalca commented Nov 20, 2023

Isn't that unifi's log? If so, we don't control that and it should be reported upstream.

@nodiaque
Copy link
Author

You are right, I see the older one was doing it also using the internal database of mongodb. I'll send that to unifi then!

@thespad thespad closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2023
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants