19.12.2012 Views

IT Baseline Protection Manual - The Information Warfare Site

IT Baseline Protection Manual - The Information Warfare Site

IT Baseline Protection Manual - The Information Warfare Site

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Safeguard Catalogue - Organisation Remarks<br />

____________________________________________________________________ .........................................<br />

S 2.174 Secure operation of a WWW server<br />

Initiation responsibility: Head of <strong>IT</strong> Section, <strong>IT</strong> Security Management<br />

Implementation responsibility: Administrators<br />

WWW servers are attractive targets for attackers and therefore have to be very<br />

carefully configured so that they can be operated securely. <strong>The</strong> operating<br />

system and the software must be configured in such a way that the computer is<br />

given optimum protection against attacks. <strong>The</strong> computer must not be<br />

connected to the network until such time as it is appropriately configured.<br />

A WWW server that offers information on the Internet should be installed in<br />

accordance with the following stipulations:<br />

- Only a minimum of programs should be installed on a WWW server, i.e.<br />

the operating system should be reduced to those functionalities that are<br />

absolutely essential and otherwise, too, only programs that are really<br />

necessary should be installed on the WWW server (see S 4.95 Minimal<br />

operating system).<br />

- In particular, a WWW server should not include any unnecessary network<br />

services; different services should be installed on different computers (see<br />

S 4.97 One service per server).<br />

- Access to files or directories must be protected (see S 4.94 <strong>Protection</strong> of<br />

WWW files).<br />

- Communication with the WWW server should be restricted to a minimum<br />

through the use of a packet filter (see S 4.98).<br />

- Administration of the WWW server should always be performed via a<br />

secure connection; this means that administration should be performed<br />

directly on the console, with strong authentication (if access is from the<br />

LAN) or via an encrypted connection (if access is from the Internet).<br />

- Furthermore, the WWW server should be secured from the Internet by a<br />

firewall proxy or at least by a packet filter (see S 4.98). This must not be<br />

located between the firewall and the internal network, because an error on<br />

the WWW server could otherwise allow access to internal data.<br />

<strong>The</strong>re are various possible methods of providing protection, depending on the<br />

type of WWW server. A common feature of all of these methods, however, is<br />

that only a restricted set of rights should be assigned to the WWW server’s<br />

actual server process, namely the http daemon. Usually it must be started with<br />

root privileges, but after being started it should continue operating as quickly<br />

as possible with the rights of a less privileged new user. A separate user<br />

account, such as wwwserver, should be created for this purpose. It is important<br />

that this user should not have any rights to write to the log files. Otherwise an<br />

intruder could manipulate these files using the rights of the HTTP server by<br />

exploiting an error.<br />

If an intruder does exploit a weak point in the http daemon, therefore, he will<br />

not have access to the operating system as such. If possible, the http daemon<br />

should be restricted to part of the file tree. Under Unix, this can be done with<br />

the chroot program, for example. Besides this, the cgi programs supplied with<br />

____________________________________________________________________ .........................................<br />

<strong>IT</strong>-<strong>Baseline</strong> <strong>Protection</strong> <strong>Manual</strong>: Oktober 2000

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!