mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
Enhance Security by Warning users of using via http, Hashing Login Credentials, Encrypting HTTP Payloads, and Improving Docker Defaults in Open WebUI #2563
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gwpl on GitHub (Nov 4, 2024).
Enhance Security by Warning users of using via http, Hashing Login Credentials, Encrypting HTTP Payloads, and Improving Docker Defaults in Open WebUI
The transmission of login credentials in plaintext poses a security risk. Implementing client-side password hashing, encrypted HTTP payloads, and secure Docker defaults (including HTTPS) will improve user safety, especially for less experienced users.
Description
Captured local network traffic revealed that login credentials (username and password) are transmitted in plaintext. This presents a significant vulnerability, exposing users to potential data interception if the setup is not properly secured.
Acknowledgement of Current Best Practices
Documentation advises users to deploy Open WebUI through a reverse proxy or restrict access via firewall settings to ensure it is used only locally.
However, considering the broad and diverse audience of casual users who may not follow these guidelines, even small improvements can greatly enhance their security.
Recommendations
Justification and Commentary
Understanding that Open WebUI is a popular tool with a wide range of users, from highly technical to less skilled, it’s crucial to balance robust security practices with accessibility. While best practices advocate for fully local setups or the use of reverse proxies with HTTPS, many users might not have the expertise to configure these properly. This creates potential vulnerabilities, especially considering the common (though not recommended) practice of password reuse.
Adding client-side hashing, payload encryption, and secure Docker configurations can provide layers of protection even for those who might overlook or struggle with ideal setups. These enhancements are not about undermining current best practices but about showing care for the community, acknowledging the real-world scenarios users face, and reinforcing the project’s reputation for user-centric design.
Appreciation
Thank you for your outstanding work on Open WebUI Your dedication to open-source development is deeply valued. These suggestions aim to bolster user protection while maintaining ease of use and supporting the diverse audience that benefits from this project.
@tjbck commented on GitHub (Nov 4, 2024):
It’s out of [project name] scope