19.09.2017 Views

the-web-application-hackers-handbook

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

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

670 Chapter 18 n Attacking <strong>the</strong> Application Server<br />

because software of this type is liable to change over time. But <strong>the</strong> flaws described<br />

here illustrate <strong>the</strong> typical pitfalls awaiting any <strong>application</strong> implementing its own<br />

native extensions, modules, or APIs, or reaching outside <strong>the</strong> <strong>application</strong> container.<br />

This chapter also examines <strong>web</strong> <strong>application</strong> firewalls, describes <strong>the</strong>ir strengths<br />

and weaknesses, and details ways in which <strong>the</strong>y can often be circumvented to<br />

deliver attacks.<br />

Vulnerable Server Configuration<br />

Even <strong>the</strong> simplest of <strong>web</strong> servers comes with a wealth of configuration options<br />

that control its behavior. Historically, many servers have shipped with insecure<br />

default options, which present opportunities for attack unless <strong>the</strong>y are explicitly<br />

hardened.<br />

Default Credentials<br />

Many <strong>web</strong> servers contain administrative interfaces that may be publicly accessible.<br />

These may be located at a specific location within <strong>the</strong> <strong>web</strong> root or may run<br />

on a different port, such as 8080 or 8443. Frequently, administrative interfaces<br />

have default credentials that are well known and are not required to be changed<br />

on installation.<br />

Table 18-1 shows examples of default credentials on some of <strong>the</strong> most commonly<br />

encountered administrative interfaces.<br />

Table 18-1: Default Credentials on Some Common Administrative Interfaces<br />

USERNAME<br />

PASSWORD<br />

admin<br />

(none)<br />

Apache Tomcat<br />

tomcat<br />

tomcat<br />

root<br />

root<br />

Sun JavaServer admin admin<br />

Netscape Enterprise Server admin admin<br />

administrator<br />

administrator<br />

anonymous<br />

(none)<br />

Compaq Insight Manager<br />

user<br />

user<br />

operator<br />

operator<br />

user<br />

public<br />

Zeus admin (none)

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

Saved successfully!

Ooh no, something went wrong!