Closed
Bug 29541
Opened 26 years ago
Closed 26 years ago
links on Excite quote page give a security error
Categories
(Core :: Security: CAPS, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: alecf, Assigned: norrisboyd)
References
()
Details
(Whiteboard: [PDT+] Hoping for 3/6)
Attachments
(1 file)
|
3.44 KB,
patch
|
Details | Diff | Splinter Review |
Go to http://www.excite.com/ and look up a stock quote
Now try to click on one of the links on the left of the quoting area, such as
"News" or "Insider trading"
You'll get this error on the console:
JavaScript Error: access disallowed from scripts at http://live.excite.com to
documents at another domain
JavaScript Error: uncaught exception: [Exception... "Access to property denied"
code: "1010" nsresult: "0x805303f2 (NS_ERROR_DOM_PROP_ACCESS_DENIED)" location:
"<unknown>"]
the JS link looks like this (at least as it's displayed in the status bar:
javascript:function go()
{location.href='../quotes/?symbol='+escape(document.symbol_entry.symbol.value)+'&whereis=1';}
go();
| Reporter | ||
Comment 1•26 years ago
|
||
nominate for beta - I'll bet this has to do with using ".." with the DOM, which
I'm guessing many other sites use.
Keywords: beta1
Summary: links on excite quote page give a security error → links on Excite quote page give a security error
| Assignee | ||
Comment 2•26 years ago
|
||
The problem was that checking the quote loads a page that is then redirected to
a site with a different origin. When we go to perform the check, we still are
using the origin from before the redirect. So we get errors in some cases like
this, and there is an exploitable security hole otherwise.
I have a fix and will attach a diff.
Group: netscapeconfidential?
Status: NEW → ASSIGNED
Target Milestone: M14
| Assignee | ||
Comment 3•26 years ago
|
||
| Assignee | ||
Comment 4•26 years ago
|
||
The attached patch just allows the WebShell to be notified when a redirect
occurs, at which point it updates its local copy of what the current URI is.
Comment 6•26 years ago
|
||
Can you update the status whiteboard with a landing date? We're trying to plot
our path to beta... and we need the date info.
Thanks,
Jim
| Assignee | ||
Comment 7•26 years ago
|
||
After talking with travis, I'm off looking at another way of fixing this problem
that will work better with the webshell redesign. ETA is hazy.
Whiteboard: [PDT+] → [PDT+] Hoping for 3/3
| Assignee | ||
Updated•26 years ago
|
Whiteboard: [PDT+] Hoping for 3/3 → [PDT+] Hoping for 3/6
| Assignee | ||
Comment 8•26 years ago
|
||
Fix with version 1.29 of nsDocShell.h and version 1.410 of nsWebShell.cpp
Group: netscapeconfidential?
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•