CVE-2024-4765
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-4765 is a security vulnerability discovered in Firefox for Android, disclosed on May 14, 2024. The vulnerability stems from web application manifests being stored using an insecure MD5 hash, which could allow for hash collisions. This vulnerability specifically affects Firefox for Android, while other versions of Firefox are unaffected (Mozilla Advisory).

Technical details

The vulnerability exists in the manifest storage mechanism where web application manifests were stored using MD5 hashing. The technical issue involves the generateHash function in Manifest.sys.mjs using an insecure MD5 hash instead of a more secure alternative like SHA-256. This implementation could allow an attacker to create hash collisions, potentially leading to the overwriting of existing manifest files (Mozilla Bugzilla).

Impact

The vulnerability has been rated as having a moderate impact. If exploited, an attacker could potentially overwrite another application's manifest through hash collision attacks. This could lead to arbitrary code execution in the context of the existing application, potentially allowing attackers to access sensitive data such as cookies, login credentials, or other private information (Mozilla Advisory, CIS Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Firefox 126.0. Users should update their Firefox for Android installations to version 126.0 or later to receive the security fix. The fix involves replacing the MD5 hash with SHA-256 for manifest storage (Mozilla Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management