Closed
Bug 95535
Opened 23 years ago
Closed 23 years ago
Password reset issues tokens w/ "&" in them, URL not escaped
Categories
(Bugzilla :: Bugzilla-General, defect)
Bugzilla
Bugzilla-General
Tracking
()
RESOLVED
FIXED
Bugzilla 2.14
People
(Reporter: justdave, Assigned: justdave)
References
Details
Attachments
(1 file)
465 bytes,
patch
|
Details | Diff | Splinter Review |
I requested a password reset on one of the landfill installs and got this:
(you'll have to ignore the fact that someone forgot to set the baseurl in
editparams)
Notice that the token on the end of the URL contains a & in the token, and it
didn't get escaped in the URL.
Date: Wed, 15 Aug 2001 18:26:16 -0700
From: bugzilla-daemon@landfill.tequilarista.org
To: dave@intrec.com
Subject: Bugzilla Change Password Request
You or someone impersonating you has requested to change your Bugzilla
password. To change your password, visit the following link:
http://cvs-mirror.mozilla.org/webtools/bugzilla/token.cgi?a=cfmpw&t=V&l*Cv0w
If you are not the person who made this request, or you wish to cancel
this request, visit the following link:
http://cvs-mirror.mozilla.org/webtools/bugzilla/token.cgi?a=cxlpw&t=V&l*Cv0w
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → Bugzilla 2.14
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
The attached patch fixes this, rather than restricting the token characters, by
running the token through url_quote(), so the URL still works. I tested this in
theory my url_quoting the token in the URL in the above email and successfully
changed my password with it.
Comment 4•23 years ago
|
||
Makes sense not to limit the characters that can appear in tokens. I'm a little
worried that it might confuse people to see tokens with escape characters if
they ever have to type a token into a web form rather than clicking a link
containing the token, but right now I can't think of any situation in which that
would occur, so it doesn't make sense to worry about it.
r=myk
Assignee | ||
Comment 5•23 years ago
|
||
checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•23 years ago
|
||
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.13 → unspecified
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•