Closed Bug 650992 Opened 14 years ago Closed 13 years ago

URL spoofing by repeatedly navigating (and cancelling) the location

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 14
Tracking Status
firefox6 - ---
firefox-esr10 --- fixed

People

(Reporter: bsterne, Assigned: dao)

References

()

Details

(Whiteboard: [sg:moderate spoof][qa-] fixed by bug 724599)

Michal Zalewski reported this to security@m.o today. See the above URL for the testcase. Basically, we display the "new" location as soon as location.replace is called, but the "old" content is still displayed, potentially tricking the user into thinking they're on the "new" page. An attack site could basically perform this action continuously to make the effect stronger. From his mail: ----- No, the concern is not with navigation, but with that you update the contents of the address bar before the actual document is properly substituted and rendered. This gives the attacker the ability to continuously begin navigation to a slow resource (http://coredump.cx/ in my PoC), and then abort it ahead of the time, rinse, and repeat. My example is very crude, but I am guessing it would be easy to come up with an example where an incorrect URL (i.e., that related to pending navigation) is shown almost continuously. The spinning throbber is an indicator of foul play, but it's not a very strong one. Since on several other counts, vendors did try to eliminate this possibility (i.e., address bar updates are already deferred substantially), seems like it may be worth fixing, but I don't really feel strongly. -----
Whiteboard: [sg:moderate spoof]
This is not version specific, not tracking for Firefox 6.
Assignee: nobody → dao
My patch in bug 724599 may fix this. The test page doesn't exist anymore, though.
Depends on: CVE-2012-1950
(In reply to Dão Gottwald [:dao] from comment #2) > My patch in bug 724599 may fix this. > > The test page doesn't exist anymore, though. Resolving since bug 724599 landed. Please reopen if you can still reproduce this bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [sg:moderate spoof] → [sg:moderate spoof] fixed by bug 724599
Target Milestone: --- → Firefox 14
ESR "wontfix", we'll track in the other bug.
This bug needs a testcase before QA can verify the fix.
Keywords: testcase-wanted
Whiteboard: [sg:moderate spoof] fixed by bug 724599 → [sg:moderate spoof][qa-] fixed by bug 724599
Group: core-security
You need to log in before you can comment on or make changes to this bug.