Let me just start by clearing something up for a lot of confused Linux users.
The Mac OS X kernel is called XNU; presumably, this stands for "XNU is Not Unix". It really should be called XNL or XNF, for XNL is Not Linux or XNF is Not FreeBSD.
Contrary to popular belief, none of the most worrying security flaws in OS X are present in Linux or any of the BSDs. These are a result of Apple's shithouse security design. Really, what sort of idiot would design an operating system so you don't need to type your password before starting an installer, and having the package's install scripts running as root without even asking the user? (Windows users, you know where to send your flames).
Also, to answer an Ubuntu user's recent question: No, if Ubuntu was based on the FreeBSD kernel it would not be able to run OS X application. Firstly, Apple constantly changes its mind on which BSD's work it used for XNU/Darwin. Secondly, Apple have stripped out much of the BSD and added their own stuff. Thirdly, the kernel is not the key to running a particular operating system's programs; it's all to do with the system libraries. In OS X, the important system libraries are closed-source.
But anyway, here are some recent articles from Cnet.com which may make you glad that you run an operating system with a proper security system:
Attack code targets zero-day Mac OS X flaw
The unpatched security hole could be used by a remote attacker to compromise a vulnerable Mac, advisories say.
Published: November 21, 2006, 2:17 PM PST
A security researcher has published attack code for an unpatched
flaw in Mac OS X, the latest vulnerability in the "Month of Kernel
Bugs" campaign.
The proof-of-concept code exploits a security hole in the way Apple
Computer's operating system handles disk image files, the researcher wrote Monday on a blog devoted to the campaign, which promises to reveal details of a new flaw in low-level software every day this month.
"Mac OS X com.apple.AppleDiskImageController fails to properly handle
corrupted DMG (disk image) image structures, leading to an exploitable
memory corruption condition with potential kernel-mode arbitrary code
execution by unprivileged users," wrote the researcher, who goes by the
initials "LMH."
The vulnerability could be exploited remotely, as Apple's
Safari Web browser loads DMG files from external sources, such as one
found while visiting an URL, LMH wrote. That could let an outsider
compromise a system.
Secunia rated the vulnerability as "highly critical" in an advisory on its Web site
on Tuesday. In addition to being used to compromise a computer, the
flaw could be exploited by malicious local users to gain escalated
privileges to the system, the security company said.
Apple representatives did not respond to a request for comment.
In the blog, researcher LMH said people can prevent an attack by
"changing the Preferences and deactivating the functionality for
opening 'safe' files after downloading."
Vulnerabilities in the Mac OS have been rising, leading some experts to note
that the Macintosh platform is not impervious to security problems. The
vast majority of security vulnerabilities affect computers running
Microsoft Windows.
--------------------------
The program offers to automatically open files in a disk image? What is Apple - stupid? Absolutely off their rockers? This is similar to the "classic" example that the open-source community quotes regarding security policy on Windows. The classic example is actually of how MS Outlook once/does offer to open e-mail attachments automatically.
---------------------------
Adware sample targets Mac OS X
New adware program silently installs on Mac OS X systems and opens Web browser windows.
Published: November 27, 2006, 6:10 PM PST
A new adware program silently installs on Mac OS X systems and opens Web browser windows, according to F-Secure.
The program, dubbed iAdware by the Finnish security company, is possibly the first example of adware
for Macs. It is especially interesting since it doesn't require
administrative privileges to nestle itself on the computers, according
to F-Secure.
"We won't disclose the exact technique used here, it's a
feature not a bug, but let's just say that installing a System Library
shouldn't be allowed without prompting the user," according to the F-Secure blog on Thursday.
The program is a proof-of-concept sent to F-Secure and it is not out targeting users on the Internet.
"In theory, this program could be silently installed to your user
account and hooked to each application you use," according to the
F-Secure blog. "This particular sample successfully launched the Mac's
Web browser when we used any of a number of applications."
Malicious software that targets Mac OS X systems is rare and
has been limited largely to proof-of-concept code, instead of actual
attacks. However, there are indications that hackers are increasingly targeting the Mac, which experts have said is not impervious to attacks.
For example, as part of a campaign called the Month of the Kernel Bugs,
several new flaws have been disclosed in Apple Computer software, the
latest on Monday in the AppleTalk protocol. Last week, exploit code was
released for another yet-to-be-fixed flaw in Mac OS X related to disk image structures.
Apple could not immediately be reached for comment.
-----------------------------
You see, Apple is living back in the good ol' days, when only typesetters and musicians had Macs, and nobody with malicious intent had a Mac to experiment with. Apple didn't need to worry about security back then ("security through obscurity") and they have barely changed their attitude. OS X easily has the ability to become a huge virus/spyware/adware/hacking headache for its users.
-----------------------------
Apple Mac OS X patch plugs 31 vulnerabilities
Bundle of fixes includes patch for zero-day Wi-Fi hijack flaw and other bugs, some that could let an attacker commandeer Macs.
Published: November 28, 2006, 4:11 PM PST
Apple Computer on Tuesday released a security update for Mac OS X to
repair 31 vulnerabilities, including a zero-day Wi-Fi hijack flaw.
Apple's Security Update 2006-007
includes fixes for flaws in Apple's own code as well as third-party
components that ship with the Mac OS X operating system, such as Perl,
PHP and OpenSSL. Several of the vulnerabilities could allow full system
compromises, according to Apple's security alert.
However, Apple's update does not address all publicly known flaws
in the operating system. Over the past few weeks bug hunters, as part
of an initiative called the Month of the Kernel Bugs, have published
details on several new vulnerabilities in Mac OS X. One of those was tagged "highly critical" by security-monitoring company Secunia.
"Apple hasn't fixed any of the bugs published during the Month
of Kernel Bugs, except for the AirPort issue," said "LMH," the code
name of the security researcher who started the Month of the Kernel
Bugs. "Apple users are still exposed to any potential risks related to
those unpatched issues."
The security hole in the AirPort driver software
affects Macs that shipped with Apple's original AirPort card, Apple
said. An attacker nearby the computer could commandeer a vulnerable
system by sending it a malicious network packet, according to Apple's
alert.
Other flaws addressed by the Apple update could let Macs be
compromised through malicious sites, rigged compressed files or
malicious font files, Apple said. The update also fixes four flaws in
the Mac OS X Security Framework, the worst of which could crash Macs or
display expired security certificates as still valid, Apple said.
The Security Update 2006-007 for Mac OS X client and server
software is available from the Software Update pane in Mac OS System
Preferences, or Apple's downloads Web site. Apple recommends Mac users
install it.
----------------------------
The community has done the security auditing work that Apple should have done, and published its results. So what does Apple do? Ignore it!
Let's be clear about this, too. The open-source community put together security patches for its own components - Perl, PHP, etc; and released them straight away. Linux distributions packaged the new versions ASAP, releasing them as they became available. Apple, on the other hand, waited until it had a big bundle of non-critical patches before releasing the whole lot in one go.
This meant that: The most up-to-date Linux systems had no unpatched flaws the day before the OS X update was released, and at any one time would have only had 1 or maybe 2 unpatched flaws. The most up-to-date OS X systems had many unpatched flaws for days, possibly weeks, before the Mac OS update was released.
And Apple wonders why no-one wants to use OS X on servers...
But I don't need to worry about Apple's incompetence, and sorry about the swearing earlier.