Closed Bug 381738 Opened 18 years ago Closed 18 years ago

SaveAccount() in userprefs.cgi doesn't check Bugzilla->user->authorizer->can_change_{password|email}

Categories

(Bugzilla :: User Accounts, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: LpSolit, Assigned: timello)

Details

Attachments

(1 file)

Even if the UI is fine and checks Bugzilla->user->authorizer->can_change_{password|email} correctly, you can still hack the URL to bypass these checks as SaveAccount() ignores them. This lets you change your email and password despite the Auth system says you cannot. Not a blocker, but would be fine to take for 3.0.1.
Priority: -- → P2
Status: NEW → ASSIGNED
Assignee: user-accounts → timello
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Comment on attachment 272208 [details] [diff] [review] Checks if the email and the password can be changed. We usually put && and || at the beginning of lines, but that's a nit and can be fixed on checkin. r=LpSolit
Attachment #272208 - Flags: review?(LpSolit) → review+
Flags: approval3.0+
Flags: approval+
tip: Checking in userprefs.cgi; /cvsroot/mozilla/webtools/bugzilla/userprefs.cgi,v <-- userprefs.cgi new revision: 1.114; previous revision: 1.113 done 3.0: Checking in userprefs.cgi; /cvsroot/mozilla/webtools/bugzilla/userprefs.cgi,v <-- userprefs.cgi new revision: 1.112.2.2; previous revision: 1.112.2.1 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: