Home  /  Learn  /  HTTP Response Security — Server Headers & Informat

HTTP Response Security — Server Headers & Information Disclosure

Every HTTP response your server sends carries small details attackers use to plan an attack before they've even tried anything — which web server you run, its exact version, and whether your CORS policy trusts sites it shouldn't. This module is worth 5 points and checks three things: server version disclosure, CORS configuration, and the presence of a security.txt file for responsible vulnerability disclosure.
🌿 Beginner — Plain English explanations

What is "server fingerprinting"?

When your browser connects to a website, the server often replies with a header telling exactly what software it's running — for example, Server: nginx/1.18.0 or X-Powered-By: PHP/7.4.3. On its own this looks harmless, but it's effectively a signpost that says "attack me with exploits designed for this exact version." Automated bots scan the web constantly, reading this one header to decide which sites are running old, vulnerable software worth targeting.

Why hiding your attack surface matters

How to fix it

Hiding version headers is usually one config line on your server (your hosting provider's documentation will have the exact syntax). CORS should be restricted to only the specific domains that genuinely need cross-origin access — never a blanket wildcard on anything handling authenticated data, and never combined with credentials.

Looking for security.txt? That check now lives in the Robots, Sitemap & Security.txt guide, alongside deeper checks like its Canonical field and Expiry validity.

Check Your Website Now — Free

PEKRYON scans your website across 26 modules. We take the time needed for accurate results — no server access needed.

Scan My Website Free →  Learn More