Closed
Bug 55030
Opened 26 years ago
Closed 26 years ago
Default is to send user's email address as anon. FTP password
Categories
(Core :: Security, defect, P1)
Core
Security
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: BenB, Assigned: BenB)
References
Details
(Whiteboard: [rtm++] Checked into trunk)
Attachments
(1 file)
|
643 bytes,
patch
|
Details | Diff | Splinter Review |
Reproduce:
- The following might work (I cannot test, because I have anon FTP server sat up
right now):
<html><body>balblabla
<img src="ftp://www.mysite.com/get-the-email-address/banner.gif">
blablabl</body></html>
- The following will most likely work:
<html><body>balblabla
<a href="ftp://www.mysite.com/get-the-email-address/page2.html">Next page</a>
</body></html>
If we s end the user's real email address (which we know through Mailnews) as
FTP password, a website owner quickly and easily get knowledge of the user's
identity and email address. Ideal for spammers and information sellers. This is
a tremendous privacy threat. The assumption is that the web site does not know
your identity. Yes, you can disable it via prefs, but how many people check all
prefs, before they start to surf? 4.x Win and Linux default to "do not send the
email address". It is enabled by default in Mozilla.
Disable this pref by default.
| Assignee | ||
Comment 1•26 years ago
|
||
Patch will follow. mstoltz, please review.
I think, this must be in fixed in N6.
| Assignee | ||
Comment 2•26 years ago
|
||
| Assignee | ||
Comment 3•26 years ago
|
||
> I have anon FTP server
I have *no* anon FTP server
Whiteboard: [rtm+] → [rtm need info] Fix in hand, need r= and a=
Comment 4•26 years ago
|
||
I concur. Let me see if I can get this approved.
Comment 5•26 years ago
|
||
r=mstoltz. Fix looks good to me. Can we get this approved?
| Assignee | ||
Comment 6•26 years ago
|
||
I sent mail to reviewers@mozilla.org (brendan and scc in particular).
Comment 7•26 years ago
|
||
a=brendan@mozilla.org, for sure.
This pref seems like a bad idea. Doesn't the wallet help to memorize the fact
that one often types one's email address as an anonymous ftp server password?
/be
| Assignee | ||
Comment 8•26 years ago
|
||
Checked into the trunk. Tnx for easy r=/a=.
PDT: Can we get this also into the N6 branch, please?
Brendan, I think, we send a dummy email address (like <mozilla@netscape.com>),
if the pref is sat at "do not send". I guess (but I don't know), because some
FTP server admins really want a real address (some actually vrfy it, IIRC).
Summary: Default is to send email address as anon. FTP password → Default is to send user's email address as anon. FTP password
Whiteboard: [rtm need info] Fix in hand, need r= and a= → [rtm+] Checked into trunk, need approval for N6 branch
Target Milestone: M18 → mozilla0.6
Comment 9•26 years ago
|
||
Um, I don't think that pref is even used. LXR says no, and looking through
the FTP code, it will send USER/PASS if given in the URL, or will prompt if
this is not an anonymous FTP server, otherwise sends 'anonymous'/'mozilla@'
as USER/PASS.
http://lxr.mozilla.org/seamonkey/search?string=advanced.mailftp
http://lxr.mozilla.org/seamonkey/source/netwerk/protocol/ftp/src/nsFtpConnectio
nThread.cpp
| Assignee | ||
Comment 10•26 years ago
|
||
heh, you're right
<http://lxr.mozilla.org/seamonkey/source/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp#887>.
Good catch :).
What should we do? Remove the pref UI or add the backend?
Marking FIXED. I don't think, Netscape will add the backend for N6, so this is
not needed for N6.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Whiteboard: [rtm+] Checked into trunk, need approval for N6 branch
| Assignee | ||
Updated•26 years ago
|
Target Milestone: mozilla0.6 → M18
Comment 11•26 years ago
|
||
I would guess|agree that there is no way that the backend code would be
accepted onto the branch.
However, as currently configured, the Prefs UI suggests that we are
broadcasting the end-user's email addresses to anonymous FTP sites by
default. (Note that in Nav4.x, this preference was explicitly defaulted to
false.)
I think that gives a terrible impression of disrespect for end-users'
personal privacy. We should flip that preference to false in the branch bits
as well (and possibly just remove the obsolete, inactive UI). So, reopening
to, at minimum, change the pref in the branch bits as well.
mstolz,brendan: comments? (cc: don, to see if he wants to completely remove the
prefs UI for this non-existent feature (it is non-existent, right Jud?)).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 12•26 years ago
|
||
OK...
I would need help to land on branch - I have no branch tree (yet).
Status: REOPENED → ASSIGNED
Whiteboard: [rtm+] Checked into trunk
Comment 13•26 years ago
|
||
I agree. Flipping the default on a pref that's never used is certainly a
low-risk change, and it will give users a better impression. I'll see about
branch checkin approval.
Comment 14•26 years ago
|
||
PDT marking [rtm++] to change the default pref only. Please do not change the UI
for Seamonkey.
Whiteboard: [rtm+] Checked into trunk → [rtm++] Checked into trunk
Comment 15•26 years ago
|
||
Ben asked for help getting this landed on the branch.
Don: Can you find someone to help with this one-liner?
..or Mitch, do you have a brach build to land this?
Can whoever takes this, please change ownership on the bug, resolve it, and then
mark it fixed. Thanks! ;-)
Comment 16•26 years ago
|
||
I would check this in but in my current, updated branch tree, that pref is
already set to `false'....?
Comment 17•26 years ago
|
||
Can you check again, Blake. Bonsai doesn't show this change to all.js on the
branch:
http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/modules/libpref/src/init/all.js&rev=Netscape_20000922_BRANCH
Comment 18•26 years ago
|
||
Yeah, sorry, I <erg> apparently checked out the trunk tree into my branch
directory, thereby rewriting my entire branch tree. I'm repulling now, and
unless someone else gets to this first, I'll check this in tomorrow.
Comment 19•26 years ago
|
||
*** Bug 27973 has been marked as a duplicate of this bug. ***
Comment 20•26 years ago
|
||
ok, fix checked in to the branch. why we didn't just remove this non-working
UI (an equally riskless change) is beyond me, though...
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Comment 21•26 years ago
|
||
czhang no longer working on this - reassign to paw
QA Contact: czhang → paw
Comment 22•26 years ago
|
||
verified fixed, branch and trunk: advanced.mailftp is set to false in all.js,
in cvs, and in what is being shipped in the product.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•