Free Server Information Disclosure Checker
Detect Server and X-Powered-By headers that leak your stack and versions to attackers, with copy-paste fixes for Nginx, Apache, Express, and Next.js.
- Server header leaks
- X-Powered-By
- Version exposure

What you get for free
18 core security checks via this tool, passive scans, step-by-step remediation, security score on every result.
What Essential adds at $39/mo
+17 advanced checks, continuous monitoring, daily security score history, email alerts, GitHub SAST, board-ready PDFs, SOC 2 / ISO 27001 / PCI reports.
Examples (good vs bad)
Bad: Server: nginx/1.16.1, X-Powered-By: Express
Better: Server: cloud, no X-Powered-By
What is server info disclosure?
HTTP headers like Server and X-Powered-By can reveal software and version details. Attackers use these to target known vulnerabilities.
How to minimize exposure
- Strip or generalize Server/X-Powered-By
- Avoid leaking framework versions
- Harden error pages and stack traces
Across 7,440 recent scans, 70.1% leak Server / X-Powered-By headers that reveal stack details to attackers.
Implementation examples
Once you've identified the gap, applying the fix is straightforward. Here are the configurations developers reach for most often.
Nginx
# nginx.conf
# Hides the version, leaving just "Server: nginx"
server_tokens off;
# Clearing headers entirely needs the headers-more module
# (nginx-module-headers-more on most distros)
more_clear_headers 'Server' 'X-Powered-By';Apache
# httpd.conf
# Reduces the Server header to just "Apache" - stock Apache
# cannot remove it completely without ModSecurity or a proxy
ServerTokens Prod
ServerSignature Off
Header unset X-Powered-ByNode.js (Express)
import express from "express"
const app = express()
// Removes the X-Powered-By: Express header
app.disable("x-powered-by")Next.js (next.config.mjs, works on Vercel)
const nextConfig = {
poweredByHeader: false,
}
export default nextConfigThis removes the X-Powered-By header. The Server header itself is added by the platform or proxy in front of your app, so it is controlled there.
Tool-specific questions
Is hiding versions security by obscurity?
Can CDNs override these headers?
Built for the engineers who already have enough to fix.
Real-time results
Comprehensive checks
Step-by-step fixes
More free checks, for the rest of your surface.
Complete Security Scan
Pre-Pentest Security Scan
Security Compliance Checker
WAF Checker
Security Headers Test
TLS/SSL Security Checker
Go deeper on the same topic.
Server Information Disclosure
Server Information Disclosure
Security Headers Guide
Frequently asked.
What is Barrion and how does it enhance website security?
How safe is Barrion to use for security testing?
What types of security issues does Barrion identify?
What specific security checks does Barrion perform?
What is Barrion's smart crawling?
How often does Barrion perform security scans?
Is Barrion suitable for security testing of all business sizes?
How does Barrion handle data security and privacy during security testing?
What if I'm not satisfied with Barrion's security testing service?
How does Barrion help with SOC 2, ISO 27001, NIS2, and other compliance frameworks?
Anything else? Email contact@barrion.io.