8

Whilst security vetting our machines, i found that one host was exposing a Microsoft-HTTPAPI/2.0 service over port 80 to the internet.

I'm not familiar with this, but after googling around, i found that SQL Server 2008 publishes SQL Server Reporting Services on port 80 by deafault and identifies itself as HTTPAPI/2.0. The host is also running IIS7.

I'm guessing this is probably not something that should be exposed to the world. Can anyone offer me any information or advice on the security risk of exposing this service.

Response Headers - http://#.#.#.#/
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Mon, 10 Aug 2009 10:44:25 GMT
Connection: close
Content-Length: 315

404 Not Found
7

If you don't have any good reason to expose it, Then you should probably not expose it. By the way you may be interested in this article to decide wether or not you should expose it

2

Try looking for vulnerabilities in an exploit database for this

1

The most common cause for this Server response header is when IIS cannot determine which website to serve.

IIS will respond with this Server header when the following are both true

  • the request contains an unrecognised Host header
  • no default website is configured

Alternatively, if the configuration for the website that IIS is attempting to deliver is malformed, it will be ignored and considered absent, also having the same effect.

  • 1
    There are more ways to get this header to appear. This header means that HTTP.sys sent the response, not IIS' worker process. Applications like ADFS 3 I believe, which register a URL on HTTP.sys usually responds with this header as well. – milope Jun 3 '17 at 21:27
  • I often forget that requests go through http.sys. Another way to force this header is to make an iilegal request e.g. server/% and http.sys immediately rejects the request with HTTP/1.1 400 Bad Request Server: Microsoft-HTTPAPI/2.0 without passing it on to a registered handler – Cheekysoft Jun 5 '17 at 8:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.