CVE-2006-1736
Description
Mozilla Firefox 1.x before 1.5 and 1.0.x before 1.0.8, Mozilla Suite before 1.7.13, and SeaMonkey before 1.0 allows remote attackers to trick users into downloading and saving an executable file via an image that is overlaid by a transparent image link that points to the executable, which causes the executable to be saved when the user clicks the "Save image as..." option. NOTE: this attack is made easier due to a GUI truncation issue that prevents the user from seeing the malicious extension when there is extra whitespace in the filename.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
33cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*+ 11 more
- cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*range: <=1.0.7
- cpe:2.3:a:mozilla:firefox:1.0:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.0.6:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.5:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.5:beta1:*:*:*:*:*:*
- cpe:2.3:a:mozilla:firefox:1.5:beta2:*:*:*:*:*:*
- (no CPE)range: 1.x < 1.5, 1.0.x < 1.0.8
cpe:2.3:a:mozilla:mozilla_suite:*:*:*:*:*:*:*:*+ 6 more
- cpe:2.3:a:mozilla:mozilla_suite:*:*:*:*:*:*:*:*range: <=1.7.12
- cpe:2.3:a:mozilla:mozilla_suite:1.7.10:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:mozilla_suite:1.7.11:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:mozilla_suite:1.7.6:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:mozilla_suite:1.7.7:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:mozilla_suite:1.7.8:*:*:*:*:*:*:*
- (no CPE)range: < 1.7.13
cpe:2.3:a:mozilla:seamonkey:1.0:*:alpha:*:*:*:*:*+ 2 more
- cpe:2.3:a:mozilla:seamonkey:1.0:*:alpha:*:*:*:*:*
- cpe:2.3:a:mozilla:seamonkey:*:beta:*:*:*:*:*:*range: <=1.0
- (no CPE)range: < 1.0
cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:*+ 10 more
- cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:*range: <=1.0.7
- cpe:2.3:a:mozilla:thunderbird:1.0:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.0.5:beta:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.0.6:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.5:*:*:*:*:*:*:*
- cpe:2.3:a:mozilla:thunderbird:1.5:beta2:*:*:*:*:*:*
Patches
Vulnerability mechanics
Root cause
"Missing validation in the context menu handler allows "Save Image As" to save non-image resources (e.g., executables) when the image source fails to load or is transparently overlaid."
Attack vector
An attacker creates a webpage with a visible image overlaid by a transparent image link using absolute positioning and CSS opacity (e.g., `moz-opacity`). The transparent link points to an executable file served with a `Content-Type: image/gif` header to bypass MIME checks [ref_id=1]. When the user right-clicks and selects "Save Image As...", the browser saves the executable instead of an image. The attack is aided by a GUI truncation issue where extra whitespace in the filename hides the `.exe` extension from the user [ref_id=1].
Affected code
The vulnerability is in the context menu handler, specifically in `nsContextMenu.js` where the "Save Image As" option does not validate whether the target resource is actually a valid image [ref_id=1]. The patch modifies the image status check to verify that the image request has a valid status (e.g., `STATUS_SIZE_AVAILABLE`, `STATUS_FRAME_COMPLETE`, or `STATUS_LOAD_COMPLETE`) before enabling the save option [ref_id=1].
What the fix does
The fix adds a check in `nsContextMenu.js` that examines the `imageStatus` of the image request object before enabling the "Save Image As" menu item [ref_id=1]. The patch ensures the menu option is only available when the image has loaded successfully (e.g., `STATUS_SIZE_AVAILABLE` or later status flags are set), preventing the user from being tricked into saving a non-image resource [ref_id=1]. This mirrors the behavior of IE and Opera, which disable their "Save Image" menu items when the image fails to load or is invisible [ref_id=1].
Preconditions
- inputAttacker must host a webpage with an overlaid transparent image link pointing to an executable
- inputAttacker must serve the executable with a Content-Type: image/gif header
- inputUser must right-click on the visible image and select 'Save Image As...'
- configFile extensions must be hidden on the user's operating system (default on Windows)
Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
33- ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.26/SCOSA-2006.26.txtnvd
- lists.suse.com/archive/suse-security-announce/2006-Apr/0003.htmlnvd
- secunia.com/advisories/19631nvd
- secunia.com/advisories/19721nvd
- secunia.com/advisories/19746nvd
- secunia.com/advisories/19759nvd
- secunia.com/advisories/19794nvd
- secunia.com/advisories/19852nvd
- secunia.com/advisories/19862nvd
- secunia.com/advisories/19863nvd
- secunia.com/advisories/19902nvd
- secunia.com/advisories/19941nvd
- secunia.com/advisories/21033nvd
- secunia.com/advisories/21622nvd
- sunsolve.sun.com/search/document.donvd
- sunsolve.sun.com/search/document.donvd
- support.avaya.com/elmodocs2/security/ASA-2006-205.htmnvd
- www.debian.org/security/2006/dsa-1044nvd
- www.debian.org/security/2006/dsa-1046nvd
- www.debian.org/security/2006/dsa-1051nvd
- www.gentoo.org/security/en/glsa/glsa-200604-12.xmlnvd
- www.gentoo.org/security/en/glsa/glsa-200604-18.xmlnvd
- www.mandriva.com/security/advisoriesnvd
- www.mandriva.com/security/advisoriesnvd
- www.mozilla.org/security/announce/2006/mfsa2006-13.htmlnvd
- www.securityfocus.com/archive/1/438730/100/0/threadednvd
- www.securityfocus.com/bid/17516nvd
- www.vupen.com/english/advisories/2006/1356nvd
- bugzilla.mozilla.org/show_bug.cginvd
- exchange.xforce.ibmcloud.com/vulnerabilities/25814nvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1548nvd
- usn.ubuntu.com/271-1/nvd
- usn.ubuntu.com/275-1/nvd
News mentions
0No linked articles in our index yet.