topazviper wrote:
If it is disabled, why even include it in the OS?
Because it's useful in many cases. Primarily it is useful as a developer tool. No sane person would put a public-facing website on a MacBook Pro. So the risk is that someone hacks themselves? Furthermore, only really good, technically savvy developers will be using the built-in Apache in the first place. Most developers will be using one of those 3rd party package like MAMP or Homebrew and they will be years out of date. Those devices would light up your security scanner like a Christmas tree.
It likely will be removed in the future if it becomes too much trouble, for example, if people keep reporting bugs about it because their "enterprise grade" security scanner complained. Apple has already removed Python and PHP. They tried to remove Perl once but apparently decided that was a bad idea.
Given that is disabled everywhere, there is not risk if the service is out of date
We are discussing corporate security software here. Please don't bring logic into the conversation.
Compliance doesn't care if there is a legitimate risk, the scanning tool says its bad, so its bad. Either you argue with the tool to state it isn't a problem, or Apple patches it :)
I'm sure Apple will patch it eventually, or remove it. But they will do that on their own schedule.
If anything, Apple is too quick to issue these patches. No other company has 1+ billion Unix devices on the market, all in various states of disrepair and misconfiguration. When Apple moves too quickly and introduces some bug, that's a critical breakage. It is one thing for a theoretical vulnerability that might impact only a few dozen people. It is something else to break all developer boxes used by competent Mac-based web developers. They have to get their work done and can't wait 4 months for Apple to fix it. They'll have to install a 3rd party option, introducing tons real real-world security and privacy risks.
In those rare cases that a "zero day" risk does pose a real problem, Apple will issue an emergency security fix. They do that all the time.
But you are correct that you can't argue with your tool. It is a vital part of checking off a box on your business insurance form. But as far as actual security goes, merely installing on a Mac to run the test will reduce your security. But now I'm the one bringing up logic!