Skip to content Request a project consultation

1 minute security check · 006 security security header Server maintenance

What the site says for itself with just one request

About 5 minutes to read BlueCanvas

How do I check if my website has security headers attached?

In your browser, press F12 to open the first response header in the Network tab and look for the three lines Strict-Transport-Security, X-Frame-Options, and Content-Security-Policy in the list. As a result of sending a request to 641 places and checking, out of the 615 that responded, 405 did not have any of the three lines, 106 sent the product name and version as is, and 5 had the folder list opened as is.

Key takeaways

  • In the address bar /uploads/ I just hit The file list remains the same without logging in. There is an opening. It is not pierced, but the server is made to show it that way.
  • As a result of sending one request to 641 places, 615 places In the middle, there are 5 places where the folder list is open, and there are 5 places where the product name and version are read as is. 106 places, where there are none of the three lines of the protection header. 405 placesIt was.
  • What you're going to do today is not about fixing things. Asking the person in charge two linesno see. It is safer for someone who knows the site structure to decide what to change and how to change it.

I typed just one address and the folder opened as is.

Enter the site address in the browser address bar, followed by /uploads/ Try adding . No login screen or error screen appears. Index of /uploads/ The file list appears as is with the title. You'll see names like contract scans, employee rosters, and database dumps all lined up.

It's not like I'm exceeding my authority or piercing anything. When there is no file to use as the first screen in that folder Let the server draw the list for you It's because it's done. So anyone who knows the address sees the same screen.

I only sent one request

BlueCanvas review archiveA home screen request was sent once to each of the 641 remaining addresses, followed by one more request to each of the five static routes.

confirmedplace
Target with remaining address641 places
Where the request was answered615 places
Where the folder list opens as is5 locations (2 locations open more than 2 locations)
Where the product name and version are read as is106 places
Where there are none of the three lines of the protection header405 locations (30 locations with all three)

The open path is /images/ 3 places, /data/ 2 places, /uploads/ 1 place, /files/ There was 1 place /backup/ There were 0 places. Five places is not a large number. However, places that are open are open to anyone.

Reveal how to measure. on the home screen and five static routes each on August 31, 2026. GET only once Sent. Redirects were tracked up to 4 times, timeout was 10 seconds, and 8 concurrent threads. No authentication, no parameter manipulation, no retries. The actual file names in the open list have not been moved, and the screens in the video and text are reproductions.

Even if the folder listing is closed, the site sends an introduction along with its response to the request.

HTTP/1.1 200 OK
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k
X-Powered-By: PHP/5.4.16
Content-Type: text/html; charset=UTF-8

What it is made of and what edition it is is clearly written on it. Among the 615 responding 106 placesThe product name and version were read, and the most common values ​​were OpenSSL/1.0.2 in 14 places, Apache/2.4.6 in 11 places, PHP/5.4.16 in 8 places, and PHP/7.4.33 in 8 places. Are these values ​​still supported? What happens to sites that haven't updated their PHP version for 3 years?This was dealt with separately.

Reducing and adding are different

You need to look at two things separately here. Because the nature of the work is different, grouping them together would result in poor judgment.

personalitysomethingyes
reducinginformation revealedAutomatic display of folder list, Server product/version, X-Powered-By
more workRules for your browserHSTS, X-Frame-Options, Content-Security-Policy

These items The absence does not confirm infringement. Conversely, having everything does not make you safer. The structure is different for each site. It's not something that can be done all at once with just a few lines of settings. For example, if Content-Security-Policy is set incorrectly, the screen you are using may freeze. So this article ends with “Check this first,” not “Fix it like this.”

All you have to do today is ask

Just send two lines to management. You can copy and use it as is.

  1. “Could you please check whether there is a place in the public folder where the file list can be opened as is?” You can ask to see paths that open without logging in, such as image/upload/data room.
  2. “Please also check whether the product name and version are included in the response header.” If the exposure is unnecessary, you can ask them to determine whether it can be reduced.

Both are items that can be answered just by checking them. It is safer for someone in charge who knows the site structure to decide what to change and how to change it. We can also check with you to see what you can see outside.

Full video subtitles (6 scenes)

I haven't even logged in, but the file list is there.

If you see a list of files without even logging in, you just typed in the address once.

I typed just one address and the folder opened.

When I typed /uploads/ in the address bar, the file list still appeared even though I wasn't logged in. Everyone can see the same screen.

Results from one request

It's not an attack, it's just hitting the address once. When we sent a request to 641 places, 5 out of 615 responded like this.

The site speaks for itself

The product name and version appear in the response header even if the list is closed. There were 106 places where it was read that way.

reducing and adding

Reducing visible information and adding protection settings to your browser are different in nature.

Just ask the person in charge two lines:

You can ask your representative to confirm that the list opens in a public folder and that the response is versioned.

Frequently Asked Questions

How do I check if my website has security headers attached?

In your browser, press F12 to open the Network tab and look for the three names Strict-Transport-Security, X-Frame-Options, and Content-Security-Policy in the list of headers in the first response. As a result of sending a request to 641 places to check, out of the 615 places that responded, 405 did not have any of the three lines, and 30 places had all three lines.

If my folder list is open, have I been hacked?

no. This is the default action where the server draws a list instead when there are no files to use as the first screen in that folder. This doesn't mean there has been a breach, it just means that the outside world is seeing file names that shouldn't be visible. The judgment will vary depending on what is included, so the order is to check first.

Is it dangerous without the protection header?

The absence of a violation does not guarantee that it has occurred, and the presence of all of them does not make it safer. These headers are devices that tell the browser about the rules, so having them can reduce certain types of problems. However, there are some items, such as Content-Security-Policy, that will freeze the screen you are using if entered incorrectly, so it is safer for a person in charge who knows the site structure to judge and apply them.

Isn't it just a matter of adding a few lines of configuration and that's it?

Each site is different. Turning off the folder list is usually simple, but ways to reduce product/version exposure vary depending on the server type and configuration, and protection header values ​​must be set according to the external scripts and frame structure used by the site. So I end this article not with a course of action, but with a request for confirmation.

We'll check what you see outside.

BlueCanvas not only exposes public paths, response headers, and versions, but also checks SSH settings, firewalls, account permissions, SSL settings, and logs, and provides a report summarizing the risk level and action sequence.

Request a free diagnosis

Other short form insights

See all short form insights→