Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Outdated Apache, Nginx or IIS server software: how to fix it

OPS-079Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Your web server software (Apache, Nginx or Microsoft IIS) receives every visit to your site. Like any software, it gets bugs. Serious ones are published as CVEs (Common Vulnerabilities and Exposures): public IDs for known security flaws. Vendors fix them in new releases. If you stay on an old release, the flaw stays open.

Why it costs you leads or sales

Attackers run automated scans for known vulnerable versions. A successful attack can take the site down, inject spam links or redirects, steal form data, or get the domain flagged as unsafe by browsers and search engines. Any of these stops leads and sales.

How an unpatched server turns into lost revenue (Example)
  1. Day 0

    A CVE is published and the vendor releases a fixed version.

  2. Day 1-7

    Automated scanners start probing sites for the old version. Your server is not updated.

  3. Day 30

    The flaw is exploited. Pages redirect to spam or the server crashes.

  4. Day 31

    Browser warning or ad disapproval appears. Traffic and conversions drop.

  5. Day 33

    You clean up, patch and request a review.

How to check if your site has it

Find the version that is actually running, then compare it with the vendor's current supported releases and security notes.

Check the running version on a Linux serverbash
# Apache (Debian/Ubuntu)
apache2 -v
# Apache (RHEL/CentOS/Alma)
httpd -v
# Nginx
nginx -v
# Pending updates (Debian/Ubuntu)
apt list --upgradable 2>/dev/null | grep -E 'apache2|nginx'
Check your version
  1. Find the version

    On Linux, run the commands above over SSH. On Windows, open IIS Manager, choose Help > About Internet Information Services, and check the Windows version under Settings > System > About.

  2. Check the response headers

    Run curl -I https://yourdomain.com and look at the Server header. It may show a version such as Apache/2.4.x. If it does, so can any attacker.

  3. Compare with the vendor

    Check the Apache httpd, nginx.org or Microsoft Security Update Guide pages for current releases and fixed CVEs. Note that Linux distributions often backport fixes without changing the version number, so check your distribution's security tracker too.

  4. Run a vulnerability scan

    Use a vulnerability scanner or your host's security report to list known CVEs against your server. Only scan servers you own or have permission to test.

How to fix it

Update the server software
  1. Debian or Ubuntu

    Run sudo apt update && sudo apt install --only-upgrade apache2 (or nginx), then sudo systemctl restart apache2 (or nginx).

  2. RHEL, Alma or Rocky

    Run sudo dnf update httpd (or nginx), then sudo systemctl restart httpd (or nginx).

  3. Windows Server with IIS

    IIS is patched through Windows Update. Install the latest cumulative and security updates, then reboot in a maintenance window.

  4. Test config before restart

    Run apachectl configtest or nginx -t. Fix any errors before restarting.

Reduce exposure while you patch
  1. Hide the version number

    This does not fix a CVE but stops advertising it. Use the snippets below.

  2. Remove unused modules

    Disable Apache modules or Nginx modules and IIS features you do not use. Less code means fewer flaws.

  3. Move off unsupported releases

    If your version is end of life, a minor update will not help. Upgrade the operating system or major version so it receives security fixes.

Nginx: hide the versionnginx
# in the http { } block of nginx.conf
server_tokens off;
Apache: hide the version (apache2.conf or httpd.conf)text
ServerTokens Prod
ServerSignature Off

How to confirm it's fixed

After updating
  • Run the version command again and confirm the new release or patched package.
  • Check that curl -I no longer shows a version in the Server header.
  • Re-run your vulnerability scan and confirm the CVEs are gone.
  • Load key pages and submit your contact form and checkout in test mode.
  • Check the server error log for new warnings after the restart.
Server patch state

Before

  • Old release with known CVEs
  • Version shown in headers
  • No update schedule

After

  • Current or patched release
  • Version hidden
  • Updates reviewed on a regular schedule

How to prevent it happening again

Keep it patched
  • Turn on automatic security updates (unattended-upgrades on Debian/Ubuntu, dnf-automatic on RHEL family, Windows Update on IIS).
  • Subscribe to the security announcements for Apache, Nginx or Microsoft.
  • Review server versions monthly and write the date in your maintenance notes.
  • Use a staging copy to test updates before production.
  • Choose a host that patches the server for you if you do not want to manage it.
  • Plan upgrades before your operating system or server version reaches end of life.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys, such as forms, checkouts and tracking hits, like a visitor would. It does not inspect server software versions or scan for CVEs. For this you need a different kind of tool: a vulnerability scanner or a server patch management tool, plus your host's security reports.

FunnelGuard can still help after you patch. A scheduled run of your lead form or checkout shows whether the update broke a step you depend on. The free plan covers 1 site and 2 journeys with daily checks, no card needed.

Questions people ask

How do I check which version of Apache or Nginx my server is running?

Over SSH, run apache2 -v or httpd -v for Apache, and nginx -v for Nginx. On IIS, check the Windows Server version and its installed updates. You can also run curl -I on your domain and read the Server header, if it is not hidden.

Is an outdated web server really a risk if my site works fine?

Yes. A site can work perfectly while running software with known security flaws. Attackers scan for these versions automatically, so the risk exists whether or not you see any symptom.

Why does my server show an old version number but my host says it is patched?

Linux distributions often backport security fixes into an older version number. The number stays the same while the flaw is fixed. Check your distribution's security tracker for the package, or ask your host to confirm the CVEs are covered.

How do I update Nginx or Apache safely?

Back up the server and config, update through your package manager, run a config test (nginx -t or apachectl configtest), then restart. Afterwards test your key pages, forms and checkout. Use a staging copy first if you can.

Does hiding the server version fix the vulnerability?

No. Setting server_tokens off in Nginx or ServerTokens Prod in Apache only stops the version from showing in headers. The flaw is still there until you update.

Do I need to update the server if I use Shopify, Wix or Squarespace?

No. These platforms manage and patch their own servers. This applies only to servers you run yourself, like a VPS, a custom backend or a self-hosted site.

Can FunnelGuard tell me if my Apache or Nginx version is outdated?

No. FunnelGuard checks customer journeys, tracking and lead delivery, not server software. Use a vulnerability scanner or patch management tool for CVE checks.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.