-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
topic/securitySomething leaks user information or is otherwise vulnerable. Should be fixed!Something leaks user information or is otherwise vulnerable. Should be fixed!type/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Milestone

Description
- Gitea version (or commit ref): 1.3.1
- Git version: 2.15.1
- Operating system: FreeBSD 11 x64
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
User scratch tokens are stored in plain text in the database. These should be encrypted because it will allow anyone with database access to grab the token and bypass 2 factor authentication. While not likely still should be considered an issue. I would also suggest in allowing for more than one token which would all be stored encrypted in some fashion in the database.
thehowl, kellpossible, jimmyfrasche, fjorgemota and daviian
Metadata
Metadata
Assignees
Labels
topic/securitySomething leaks user information or is otherwise vulnerable. Should be fixed!Something leaks user information or is otherwise vulnerable. Should be fixed!type/enhancementAn improvement of existing functionalityAn improvement of existing functionality