Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-8897 Overview
CVE-2024-8897 is an address bar spoofing vulnerability in Mozilla Firefox for Android versions prior to 130.0.1. An attacker who controls an open redirect on a trusted site can redirect users to a malicious site while keeping the trusted site's URL visible in the browser address bar. This condition creates a high-fidelity phishing surface because the displayed origin does not match the actual content origin. The vulnerability is tracked under CWE-601: URL Redirection to Untrusted Site (Open Redirect). Desktop and other mobile builds of Firefox are not affected.
Critical Impact
A malicious page can appear to load from a trusted domain, enabling credential theft and social-engineering attacks against Firefox for Android users.
Affected Products
- Mozilla Firefox for Android versions prior to 130.0.1
- Google Android platform (as the underlying operating system)
- Any deployment relying on trusted sites that expose open redirect endpoints
Discovery Timeline
- 2024-09-17 - CVE-2024-8897 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-8897
Vulnerability Analysis
The flaw lets an attacker desynchronize the address bar contents from the actual document origin rendered in the Firefox for Android viewport. The attacker chains an open redirect on a trusted site with navigation timing conditions in the mobile browser UI. During the redirect sequence, the URL bar continues to display the trusted origin while the response body originates from the attacker's server. Users have no visual cue that the loaded content is untrusted. This class of issue undermines the fundamental origin-indication contract that browsers offer as a phishing defense.
Root Cause
The root cause is improper handling of URL state during navigation transitions initiated by an HTTP redirect from a trusted origin to an attacker-controlled origin. The address bar is updated based on the initial request target rather than the final resolved document origin. This mismatch, categorized as CWE-601, permits the spoof only when a trusted site hosts an open redirect that forwards to arbitrary external URLs.
Attack Vector
Exploitation requires user interaction over the network. An attacker crafts a link of the form https://trusted.example/redirect?url=https://attacker.example/phish and delivers it via email, SMS, chat, or a compromised page. When the victim opens the link in Firefox for Android, the browser follows the redirect but renders the attacker's phishing content beneath the trusted origin's URL. The victim then enters credentials or accepts prompts believing they are on the legitimate site. No memory corruption or code execution occurs; the impact is limited to spoofing and downstream social engineering. Refer to the Mozilla Security Advisory MFSA-2024-45 and Mozilla Bug 1862537 for vendor technical detail.
Detection Methods for CVE-2024-8897
Indicators of Compromise
- Outbound Firefox for Android traffic to unexpected domains immediately following a redirect from a corporate or partner domain.
- Web server logs on trusted sites showing high-volume access to redirect endpoints with external url parameters.
- User reports of login pages that look legitimate but where the URL bar shows a trusted domain hosting content that visually differs from the normal site.
Detection Strategies
- Inventory Firefox for Android installations across managed mobile devices and flag any build below 130.0.1.
- Audit web applications on trusted domains for open redirect endpoints that accept unvalidated URL parameters.
- Correlate mobile browser user-agent strings with HTTP 30x redirects leaving trusted domains for uncategorized destinations.
Monitoring Recommendations
- Monitor mobile device management (MDM) inventories for outdated Firefox for Android versions and alert on installations of vulnerable builds.
- Log and review HTTP redirect activity on internet-facing trusted domains, particularly redirects with user-supplied destination parameters.
- Track phishing report volumes tied to Android mobile users to identify active spoofing campaigns leveraging this class of flaw.
How to Mitigate CVE-2024-8897
Immediate Actions Required
- Update Firefox for Android to version 130.0.1 or later on all managed and personal devices.
- Enforce the minimum browser version through MDM policies where Firefox for Android is a sanctioned browser.
- Identify and remove or harden open redirect endpoints on organization-owned domains to eliminate the precondition required for exploitation.
Patch Information
Mozilla fixed the issue in Firefox for Android 130.0.1. Details are published in the Mozilla Security Advisory MFSA-2024-45 with tracking in Mozilla Bug 1862537. No configuration change is required after upgrading.
Workarounds
- Use an alternative up-to-date mobile browser on Android until Firefox can be updated.
- Restrict redirect targets on trusted web applications to an allowlist of internal destinations rather than accepting arbitrary URLs.
- Educate users to verify page content and TLS certificate details rather than relying solely on the address bar when following links from untrusted sources on mobile.
# Example server-side allowlist enforcement for redirect endpoints
# Reject any redirect target that is not on the approved internal list
ALLOWED_HOSTS="example.com www.example.com app.example.com"
TARGET_HOST=$(echo "$REDIRECT_URL" | awk -F/ '{print $3}')
case " $ALLOWED_HOSTS " in
*" $TARGET_HOST "*) echo "HTTP/1.1 302 Found"; echo "Location: $REDIRECT_URL";;
*) echo "HTTP/1.1 400 Bad Request";;
esac
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

