Closed
Bug 308496
Opened 19 years ago
Closed 12 years ago
AJAX pages can load insecure content without user noticing (avoiding mixed content warning)
Categories
(Core Graveyard :: Security: UI, defect)
Core Graveyard
Security: UI
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hrabbach, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: sec-low, Whiteboard: [sg:low][psm-padlock])
Attachments
(1 file)
1.51 KB,
text/php
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Pages that dynamically load content from the server using javascript and xml
techniques (AJAX) can fool the user into believing that the data transfer is
secured with SSL, when in fact the transfers in the background are going
unencrypted between the javascript application and the server. This imho is a
serious security problem that should be addressed asap, at least the user should
be made aware that insecure content is being loaded.
Reproducible: Always
Assignee: nobody → general
Component: Security → DOM: Mozilla Extensions
Product: Firefox → Core
QA Contact: firefox → ian
Version: unspecified → 1.7 Branch
Comment 1•19 years ago
|
||
I'm not sure how our lock icon works... I think any time an insecure request is
added to the loadgroup, the icon should change to mixed/unencrypted.
Comment 2•19 years ago
|
||
(In reply to comment #1)
> I'm not sure how our lock icon works... I think any time an insecure request is
> added to the loadgroup, the icon should change to mixed/unencrypted.
The UI should definitely change to mixed in this case.
Blocks: lockicon
Status: UNCONFIRMED → NEW
Component: DOM: Mozilla Extensions → Web Services
Ever confirmed: true
Whiteboard: [sg:fix]
Comment 3•19 years ago
|
||
Is this a matter of us not changing the lock icon after onload has fired? I
seem to recall something like that, but maybe I'm wrong?
Comment 4•19 years ago
|
||
We update the lock icon whenever we see a STATE_TRANSFERRING WPL event. I think
WPL events are suppressed for LOAD_BACKGROUND content, so we should make sure
that LOAD_BACKGROUND isn't the culprit.
Reporter: can you post a sample page that demonstrates the problem? Or, can you
provide further details on how you've managed to work around the lock icon?
Comment 5•19 years ago
|
||
Could you please provide a testcase?
Updated•19 years ago
|
Whiteboard: [sg:fix] → [sg:low]
Comment 6•19 years ago
|
||
Keeping this bug hidden doesn't protect users, so I'm making it public.
Group: security
Comment 7•19 years ago
|
||
Ah, for XMLHttpRequest we certainly use LOAD_BACKGROUND...
We also use it for background images. Does that mean that insecure background images won't trigger the broken lock icon?
Comment 8•19 years ago
|
||
Yes, see bug 305284.
Updated•17 years ago
|
Summary: AJAX pages can load insecure content without user noticing → AJAX pages can load insecure content without user noticing (avoiding mixed content warning)
Updated•17 years ago
|
Assignee: general → nobody
Component: Web Services → DOM
QA Contact: ian → general
Version: 1.7 Branch → unspecified
Comment 11•14 years ago
|
||
it sounds like the work involved is probably in security ui (the wpl) and not dom (since it presumably does add the requests to the loadgroup, albeit w/ LOAD_BACKGROUND).
Component: DOM → Security: UI
QA Contact: general → ui
Updated•14 years ago
|
Whiteboard: [sg:low] → [sg:low][psm-padlock]
Comment 12•14 years ago
|
||
The point is that necko sends no notifications to _anyone_ about LOAD_BACKGROUND loads. So the security UI can't really do much about them.
Comment 13•14 years ago
|
||
I have plans to change the way we collect (in)security state of all requests inside a load group. So, it's gonna work also for background requests, while those are added to the same load group.
Comment 14•13 years ago
|
||
Comment 15•13 years ago
|
||
Releasing this, but still on my radar. I would like to get this later back again.
Assignee: honzab.moz → nobody
Updated•12 years ago
|
Blocks: MixedContentBlocker
Comment 16•12 years ago
|
||
Tanvi, didn't you just fix this with nsMixedContentBlocker?
Comment 17•12 years ago
|
||
(In reply to Brian Smith (:bsmith) from comment #16)
> Tanvi, didn't you just fix this with nsMixedContentBlocker?
Yes, this should be fixed by the patches in bug 822367 and bug 782654.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•