All vulnerabilities

Web browsers

CVE-2008-2540

Apple Safari on Mac OS X, and before 3.1.2 on Windows, does not prompt the user before downloading an object that has an unrecognized content type, which allows remote attackers to place malware into the (1) Desktop directory on Windows or (2) Downloads directory on Mac OS X, and subsequently allows remote attackers to execute arbitrary code on Windows by leveraging an untrusted search path…

Severity
High 9.3
Published
3 Jun 2008
Last changed
16 Jun 2026
Added to UpHeron
17 Nov 2026
Fixed in
3.1.2
Exploit chance
8.3% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-264
Attack
Over the network · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
Sources
NVD

Description

Apple Safari on Mac OS X, and before 3.1.2 on Windows, does not prompt the user before downloading an object that has an unrecognized content type, which allows remote attackers to place malware into the (1) Desktop directory on Windows or (2) Downloads directory on Mac OS X, and subsequently allows remote attackers to execute arbitrary code on Windows by leveraging an untrusted search path vulnerability in (a) Internet Explorer 7 on Windows XP or (b) the SearchPath function in Windows XP, Vista, and Server 2003 and 2008, aka a "Carpet Bomb" and a "Blended Threat Elevation of Privilege Vulnerability," a different issue than CVE-2008-1032. NOTE: Apple considers this a vulnerability only because the Microsoft products can load application libraries from the desktop and, as of 20080619, has not covered the issue in an advisory for Mac OS X.

From NVD.

Affected software

SoftwareAffected versions
Apple SafariWeb browsers · cpe:a:apple:safari
  • Every version before 3.1.2

About Apple Safari

Vulnerabilities in Apple Safari

In our list
1,688
Published in the last 12 months
127
Critical, last 12 months
2
High, last 12 months
33
Known exploited
28
Search the list for Apple Safari

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2008-2540
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2008-2540