CVE-2024-8399

4.7 MEDIUM

📋 TL;DR

This vulnerability allows malicious websites to spoof URL addresses displayed in the Focus navigation bar on iOS devices. Attackers can make a malicious site appear as a legitimate one by manipulating JavaScript links. This affects Focus for iOS versions below 130.

💻 Affected Systems

Products:
  • Mozilla Focus for iOS
Versions: All versions below 130
Operating Systems: iOS
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects the Focus browser on iOS devices; other browsers and platforms are not affected.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Users could be tricked into entering sensitive information on spoofed websites that appear legitimate in the navigation bar, leading to credential theft or financial fraud.

🟠

Likely Case

Phishing attacks where users believe they're on a trusted site but are actually on a malicious one, potentially leading to credential harvesting.

🟢

If Mitigated

Users notice the discrepancy between the actual URL and displayed URL, or security software detects the spoofing attempt.

🌐 Internet-Facing: HIGH - This vulnerability is exploited through visiting malicious websites, making all internet-facing users potentially vulnerable.
🏢 Internal Only: LOW - This requires user interaction with malicious websites, which is less likely in controlled internal environments.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

The vulnerability is publicly documented in Mozilla's bug tracker and requires minimal technical skill to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 130

Vendor Advisory: https://www.mozilla.org/security/advisories/mfsa2024-42/

Restart Required: No

Instructions:

1. Open the App Store on your iOS device. 2. Search for 'Mozilla Focus'. 3. Tap 'Update' if available. 4. Ensure version 130 or higher is installed.

🔧 Temporary Workarounds

Disable JavaScript

ios

Prevents JavaScript links from executing, which mitigates the spoofing technique.

Settings > Focus > Advanced > Block JavaScript (toggle on)

Use Alternative Browser

ios

Switch to a different browser that is not affected by this vulnerability.

🧯 If You Can't Patch

  • Educate users to manually verify URLs by checking the actual address bar content before entering sensitive information.
  • Implement web filtering to block known malicious sites that might exploit this vulnerability.

🔍 How to Verify

Check if Vulnerable:

Open Focus app > Settings > About Focus > Check version number. If below 130, you are vulnerable.

Check Version:

Not applicable for iOS apps; check via app settings.

Verify Fix Applied:

After updating, verify the version is 130 or higher in Settings > About Focus.

📡 Detection & Monitoring

Log Indicators:

  • Unusual JavaScript execution patterns in web traffic logs
  • Multiple redirects to similar-looking domains

Network Indicators:

  • HTTP requests where referrer headers don't match displayed URLs
  • Suspicious JavaScript payloads in web traffic

SIEM Query:

web.url CONTAINS 'javascript:' AND user_agent CONTAINS 'Focus'

🔗 References

📤 Share & Export