Need to verify if the preinstalled Apache is enabled or not on MacOS ventura 13.3.1.

Hi everyone, our vulnerability scanner is picking up a high severity vulnerability on Macbooks regarding Apache.


I believe upgrading the OS is the only way to update it and we'll have to wait for the next update. Please correct me if I'm wrong.


That said, I need to verify if the preinstalled apache is enabled or disabled so I can know if its a false positive or not. How do I go about that?


Thanks in advance!

Mac Pro (2019)

Posted on May 19, 2023 12:52 AM

Reply
Question marked as Top-ranking reply

Posted on May 19, 2023 6:37 AM

Don't expect the version of Apache installed with macOS 13.4 to be as recent as the current version of Apache from Apache.org due to Apple's internal release schedule.


In macOS 13.4:



And Apache.org released 2.4.57 on Apr 6, 2023. I believe macOS 13.3.1 (a) had Apache/2.4.54 though cannot check now due to update.


The Apache server in macOS is not configured, nor running by default without initial user configuration, and the commands to start the Apache server. See the apachectl (8) man page for control statements.

10 replies
Question marked as Top-ranking reply

May 19, 2023 6:37 AM in response to SujitMadiwal

Don't expect the version of Apache installed with macOS 13.4 to be as recent as the current version of Apache from Apache.org due to Apple's internal release schedule.


In macOS 13.4:



And Apache.org released 2.4.57 on Apr 6, 2023. I believe macOS 13.3.1 (a) had Apache/2.4.54 though cannot check now due to update.


The Apache server in macOS is not configured, nor running by default without initial user configuration, and the commands to start the Apache server. See the apachectl (8) man page for control statements.

May 19, 2023 6:37 AM in response to SujitMadiwal

Did you enable Apache? What happens when you try to access localhost in your browser? If Apache is running you can just stop it using terminal and the command sudu apachectl stop.

What are you running as a "vulnerability scanner"?

Here are some excellent instructions on how to enable a local web server iwith ventura:

Setting up a local web server on macOS 13… - Apple Community


May 19, 2023 7:10 AM in response to SujitMadiwal

SujitMadiwal wrote:

Hi everyone, our vulnerability scanner is picking up a high severity vulnerability on Macbooks regarding Apache.

Such tools are useless and a waste of time on a Mac.

I believe upgrading the OS is the only way to update it and we'll have to wait for the next update. Please correct me if I'm wrong.

Ignore it. Apple's updates will never keep up with this kind of vulnerability scanning. Get rid of the scanner. It's a waste of your time.

That said, I need to verify if the preinstalled apache is enabled or disabled so I can know if its a false positive or not. How do I go about that?

These things are always false positives.


That being said, the preinstalled Apache is not enabled by default.


May 22, 2023 3:27 AM in response to SujitMadiwal

SujitMadiwal wrote:

Even after running "sudo apachectl stop", localhost still returns "It works!" message on the browser. Not sure why that happens.

That doesn't happen here. Everything works as it should.

We use Tenable for vulnerability scanning.

Doesn't matter. Either Apache, and every other open source project stops updating software completely, or your scan will fail again in 3-6 weeks. This will never end. Yet Mac security will be the same as it always has been. If you don't want malware, then it is your responsibility to 1) don't download it, 2) don't bypass Apple security to run the installer, 3) don't provide your password to confirm the installation, 4) don't continue to provide your password to the malware to run, 4) don't go to malicious web sites, 5) don't allow malicious web sites to send notifications, and 6) don't click on the malicious web notifications.


If you look closely, you'll notice that neither Apache, nor 3rd party security apps are listed. 3rd party Mac security apps always decrease your security.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Need to verify if the preinstalled Apache is enabled or not on MacOS ventura 13.3.1.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.