mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[PR #4179] [MERGED] Return generic auth error to prevent user enumeration attacks #3831
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3831
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4179
Author: @tametsi
Created: 11/22/2024
Status: ✅ Merged
Merged: 11/23/2024
Merged by: @jc21
Base:
develop← Head:develop📝 Commits (1)
640a1eeReturn generic auth error to prevent user enumeration attacks📊 Changes
1 file changed (+5 additions, -3 deletions)
View changed files
📝
backend/internal/token.js(+5 -3)📄 Description
When authentication fails, the generic error message "Invalid email or password" is returned. Thereby, no information about the existence of the user is given.
This prevents user enumeration attacks because the response for both scenarios is identical.
Fixes #3873
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.