<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thorleif Wiik &#187; &#8220;directory listing&#8221;</title>
	<atom:link href="http://www.wiik.de/blog/tag/directory-listing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wiik.de/blog</link>
	<description></description>
	<lastBuildDate>Fri, 02 Dec 2011 07:28:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Glassfish security vulnerability</title>
		<link>http://www.wiik.de/blog/2008/01/12/glassfish-security-vulnerability/</link>
		<comments>http://www.wiik.de/blog/2008/01/12/glassfish-security-vulnerability/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 19:55:19 +0000</pubDate>
		<dc:creator>Thorleif Wiik</dc:creator>
				<category><![CDATA[glassfish]]></category>
		<category><![CDATA["directory listing"]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[webstack]]></category>

		<guid isPermaLink="false">http://www.wiik.de/blog/2008/01/12/glassfish-security-vulnerability/</guid>
		<description><![CDATA[When you deploy IT components like operating systems, application servers, web servers in a Web 2.0 hosting environment, it&#8217;s very important to have a hardened configuration before you have your public launch and before your web apps are reachable with &#8230; <a href="http://www.wiik.de/blog/2008/01/12/glassfish-security-vulnerability/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you deploy IT components  like operating systems,  application servers, web servers in a Web 2.0 hosting environment, it&#8217;s very important to have a hardened configuration before you have your public launch and before your web apps are reachable with HTTP Port 80 and 443 by the internet. In environments without firewalls, e.g. on cheap &#8220;root servers&#8221;, you&#8217;re often online and connected to all internet <strike>users</strike> hackers after the initial setup of your Web Stack.</p>
<p>IT-Administrators and Web 2.0 Developers are always working under pressure,  and there&#8217;s lack of time to  find  all  the security  vulnerabilies in the used software products, Open Source as well as commercial products. In times, where most of the attacks against Web 2.0 apps are within the HTTP / HTTPS Protocol e.g. SQL-Injection, Cross Site Scripting and so on, its important, that the installation of Web Stack components are secure by default.</p>
<p>An example: A basic rule for a secure web configuration since over a decade is the have directory listings switched off in web servers and app servers.</p>
<p>What about glassfish 2.0 and security, are there any concerns?</p>
<p>Back to the directory listing example.</p>
<p>The Glassfish default is to have directory listings on and you have to modify the</p>
<blockquote><p>glassfish/domains/domain1/config/default-web.xml</p></blockquote>
<p>to have a secure glassfish configuration, as also mentioned by <a href="http://hobione.wordpress.com/2008/01/12/how-can-i-disable-directory-listings-for-my-web-application/" title="Glassfish Security" target="_blank">hobione</a>.</p>
<pre line="0" lang="xml"></pre>
<p>Another thing are the default HTTP headers from glassfish. They&#8217;re too noisy by default, they&#8217;re tellling everyone in the web, which version of glassfish you&#8217;re using:</p>
<blockquote><p>Server: Sun Java System Application Server 9.1</p>
<p>X-Powered-By:Servlet/2.5</p></blockquote>
<p>So my suggestion for the glassfish project members is to modify</p>
<p>these defaults to a secure ones, this means</p>
<ul>
<li>Directory Listing &#8220;off&#8221;</li>
<li>HTTP Header at least without any  software version information</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.wiik.de/blog/2008/01/12/glassfish-security-vulnerability/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

