Prototype pollution in Mozilla Firefox - CVE-2023-25731

 

Prototype pollution in Mozilla Firefox - CVE-2023-25731

Published: February 15, 2023


Vulnerability identifier: #VU72259
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-25731
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScrpit code on the target system.

The vulnerability exists due to URL previews in the network panel of developer tools improperly store URLs. A remote attacker can use query parameters to overwrite global objects in privileged code when rendering URLPreview and perform prototype pollution.


Affected software

Mozilla Firefox
Gentoo Linux
Ubuntu
openEuler
Firefox for Android
Firefox Focus for Android
www-client/firefox
firefox (Ubuntu package)
firefox
firefox-debuginfo
firefox-debugsource

How to mitigate CVE-2023-25731

Install updates from vendor's website.

Mozilla Firefox - update to 110.0
Firefox for Android - update to 110.0
Firefox Focus for Android - update to 110.0.1
www-client/firefox - update to 104
firefox (Ubuntu package) - addressed in versions 110.0+build3-0ubuntu0.18.04.1, 110.0+build3-0ubuntu0.20.04.1, 110.0.1+build2-0ubuntu0.18.04.1, 110.0.1+build2-0ubuntu0.20.04.1
firefox - update to 128.8.0-1
firefox-debuginfo - update to 128.8.0-1
firefox-debugsource - update to 128.8.0-1

External References

Related Security Bulletins