reCAPTCHA is broken for [some|most|all] Windows users
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(firefox-esr115 fixed, firefox125 fixed, firefox126 fixed, firefox127 fixed)
People
(Reporter: Marc_Ragusa, Unassigned)
References
Details
(Keywords: site-compat)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Steps to reproduce:
Go to: https://phishing.eset.com/en-us/report
and click on the reCaptcha
Actual results:
reCaptcha spins indefinitely and does not work.
Expected results:
reCaptcha should work.
Broken at all reCaptcha sites, including these:
https://safebrowsing.google.com/safebrowsing/report_phish/?hl=en
https://phishing.eset.com/en-us/report
Also See Report: https://bugzilla.mozilla.org/show_bug.cgi?id=1894590
Comment 3•9 months ago
|
||
Comment 4•9 months ago
|
||
Comment 5•9 months ago
|
||
UA spoofing general.useragent.override = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" seems workaround.
Updated•9 months ago
|
Updated•9 months ago
|
Comment 6•9 months ago
•
|
||
We reached out to Google about this, this doesn't seem to be something we did.
Comment hidden (metoo) |
Comment hidden (metoo) |
Reporter | ||
Comment 12•9 months ago
|
||
Workaround Solution until this is Fixed:
- In the Firefox address bar, type: about:config
- Search for: general.useragent.override
- Select "String" and then the + button
- Copy and Paste this into the field:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 - Click the Checkmark Blue button to save. You're done.
- Now Bookmark this setting so you can delete it when this issue is fixed! Don't forget.
Comment 13•9 months ago
|
||
(In reply to Intrepid from comment #11)
When will a new release fix be released for this serious bug???
Firefox will not work on ANY site that has a reCAPTCHA.
Is that not an critical emergency?
As you may know from following the threads and conducting your own testing, this problem is specific to the way Firefox/Windows identifies itself to websites:
- Firefox/Windows:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
The reCAPTCHA script runs correctly if you have Firefox transmit these other "user agent" strings (either by creating a preference or by using an add-on):
- Firefox/Mac:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
- Firefox/Linux:
Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
- Frankensteined:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) AppleWebKit Gecko/20100101 Firefox/125.0
The best case scenario is that Google fixes its script ASAP, but I agree with you that the product managers also need to consider the damage done to user confidence by this problem which, based on forum posts, many users blame on the Firefox 125.0.3 update.
Usually site-specific user agent overrides are handled by the "Web Compatibility Interventions" system add-on. I don't know whether that can be updated out-of-cycle from Firefox itself or how much testing is required. Maybe Normandy can help? I don't think anyone wants to see rushing cause more or other problems.
Reporter | ||
Comment 14•9 months ago
|
||
The best case scenario is that Google fixes its script ASAP, but I agree with you that the product managers also need to consider the damage done to user confidence by this problem which, based on forum posts, many users blame on the Firefox 125.0.3 update.
Agreed. Here is the correction to my Workaround Solution above:
- Copy and Paste this into the field:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) AppleWebKit Gecko/20100101 Firefox/125.0
Comment 15•9 months ago
|
||
The culprit is a dark-mode detection logic for Firefox Windows:
($N && jT
? ((b = QP(p)),
(b.style.backgroundColor = "rgb(255, 255, 255)"),
oB(b),
(c = z[44](26, b, "backgroundColor")),
xx(b),
(Q = "rgb(255, 255, 255)" !== c))
: (Q = D)),
which reads:
(isFirefox && isWindows
? ((b = document.createElement("div")),
(b.style.backgroundColor = "rgb(255, 255, 255)"),
document.body.appendChild(b),
(c =window.getComputedStyle(b).getPropertyValue("backgroundColor")),
document.body.removeChild(b),
(Q = "rgb(255, 255, 255)" !== c))
: (Q = D)),
However, since the script is in the head, document.body
is not available. I cannot think of easy way of shimming this on the Firefox side.
Comment hidden (advocacy) |
Comment 18•9 months ago
|
||
We're treating this as an incident internally, reflecting this bug to match that. Here are a couple of key points:
- This is not a regression in Firefox - reCAPTCHA is also broken in old Firefox releases like v120. So this is also not something we can simply fix with a revert and a dot-release.
- Comment 15 is correct, this appears to be a broken implementation of something that's only affecting Firefox on Windows. Thanks for the diagnosis, Young Min Kim!
- If you spoof as Chrome (or Firefox for Linux) in Firefox on Windows, it works because that codepath is avoided.
- If you spoof as Firefox for Windows in Chrome, it breaks exactly the same way, so there is no interop issue here.
For everyone else, please let's not post "I'm also affected by this"-style comments, so we can keep the information density in this bug high. We know that this is affecting lots of people, and we're working on resolving it.
Updated•9 months ago
|
Comment hidden (me-too) |
Updated•9 months ago
|
Comment 21•9 months ago
|
||
Apparently G has rolled back to https://www.gstatic.com/recaptcha/releases/V6_85qpc2Xf2sbe3xTnRte7m/recaptcha__en.js
Resolved?
Comment 22•9 months ago
|
||
Yes, Google is rolling out a fix. It seems to work in several of our internal tests on multiple continents, but we'll keep this bug open until we're sure it's fixed for everyone.
Updated•9 months ago
|
Comment 23•9 months ago
•
|
||
Google confirmed that this was mitigated, so I'll go ahead and close this bug as fixed.
If someone is still seeing issues, please give it another hour or two, clear your caches, and test again. If this persists, please open a new bug and we'll investigate.
Updated•9 months ago
|
Description
•