<?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>Ramblings of a Linux Administrator &#187; server security</title>
	<atom:link href="http://remote-linux-support.com/blog/tag/server-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://remote-linux-support.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 11 Mar 2011 21:24:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Securing eXtplorer</title>
		<link>http://remote-linux-support.com/blog/2011/03/securing-extplorer/</link>
		<comments>http://remote-linux-support.com/blog/2011/03/securing-extplorer/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 21:23:39 +0000</pubDate>
		<dc:creator>cpace</dc:creator>
				<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[eXtplorer]]></category>
		<category><![CDATA[server security]]></category>
		<category><![CDATA[web-based software]]></category>

		<guid isPermaLink="false">http://remote-linux-support.com/blog/?p=334</guid>
		<description><![CDATA[As mentioned in my previous blog post, Cool Web-Based Software- eXtplorer, eXtplorer is an excellent online file manager solution that has a great set of features. While I was examining eXtplorer&#8217;s potential to be used in an Offsite Linux Server Backup service, I did find several drawbacks to the software. In particular, two features needed [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in my previous blog post, <a href="http://remote-linux-support.com/blog/2011/02/cool-web-based-software-extplorer/">Cool Web-Based Software- eXtplorer</a>, eXtplorer is an excellent online file manager solution that has a great set of features.  While I was examining eXtplorer&#8217;s potential to be used in an <a href="http://linuxconsultant.info/offsite-linux-server-backup.html">Offsite Linux Server Backup</a> service, I did find several drawbacks to the software.  In particular, two features needed to be disabled, in order for eXtplorer to be used in a shared environment.</p>
<p>The first feature in eXtlplorer that needed to be disabled was the &#8220;New File/Directory&#8221; button.  This button allows the creation of symlinks, which can override the specified user&#8217;s directory.  As you can imagine, this would allow a user to view any files that the webserver owner would be able to view.  In most circumstances, the user running under the webserver process will be able to view well over 90% of the files on a server (some of which are sensitive).  We can easily disable this feature, by editing a few files.</p>
<p>To disable this feature, edit the file include/mkitem.php.  In that file, you should see code similar to the following:<br />
<code>/**<br />
* Allows to create dirs, files and symlinks on a server<br />
*<br />
*/<br />
class ext_Mkitem extends ext_Action {<br />
</code></p>
<div id="attachment_335" class="wp-caption alignleft" style="width: 160px"><a href="http://remote-linux-support.com/blog/wp-content/uploads/2011/03/extplorer-disable-new-file-directory-symlinks.png"><img class="size-thumbnail wp-image-335" title="Extplorer- disabled new file and directory/symlinks" src="http://remote-linux-support.com/blog/wp-content/uploads/2011/03/extplorer-disable-new-file-directory-symlinks-150x150.png" alt="New File/Directory disabled, on eXtplorer" width="150" height="150" /></a><p class="wp-caption-text">New File/Directory disabled, on eXtplorer</p></div>
<p>To properly disable this feature, you can either comment out the function, or simply rename the function.  This results in a screen similar to the one on the left, when a user attempts to create a new file or directory.  As you can see, the screen is completely blank, and does not allow the user to upload new files, or create a symlink to another directory.<br />
<BR><BR><br />
&nbsp;</p>
<p>The other weakness in eXtplorer&#8217;s design was the creation of an &#8220;About&#8221; page, which contains (among other items) a way to view the phpinfo() function.  This function reveals sensitive information about the webserver (the version of PHP running, OS, PHP configuration, etc).  Fortunately, disabling this feature is rather easy.</p>
<p>To disable the &#8220;About&#8221; page, edit the file admin.extplorer.php, and look for the line that is similar to:<br />
<code><br />
case'get_about':<br />
require_once( _EXT_PATH . "/include/system_info.php" );<br />
system_info();<br />
break;<br />
</code></p>
<p>And change this to:</p>
<p><code><br />
case'get_about':<br />
echo "This feature has been disabled by your administrator.";<br />
// require_once( _EXT_PATH . "/include/system_info.php" );<br />
//       system_info();<br />
break;<br />
</code></p>
<div id="attachment_337" class="wp-caption alignleft" style="width: 160px"><a href="http://remote-linux-support.com/blog/wp-content/uploads/2011/03/extplorer-feature-disabled-by-your-administrator.png"><img class="size-thumbnail wp-image-337" title="Extplorer disable About" src="http://remote-linux-support.com/blog/wp-content/uploads/2011/03/extplorer-feature-disabled-by-your-administrator-150x150.png" alt="eXtplorer disable about page" width="150" height="150" /></a><p class="wp-caption-text">eXtplorer&#39;s About page, properly disabled</p></div>
<p>What we are effectively doing here is commenting out loading the script that reveals the phpinfo() information, and instead we create a line that tells the user that this feature is disabled.  This way, the dialog now looks similar to the dialog on the left.<br />
<BR><BR><BR><BR><BR><BR><BR></p>
<p><div id="attachment_339" class="wp-caption alignleft" style="width: 160px"><a href="http://remote-linux-support.com/blog/wp-content/uploads/2011/03/extplorer-disable-new-file-directory.png"><img src="http://remote-linux-support.com/blog/wp-content/uploads/2011/03/extplorer-disable-new-file-directory-150x90.png" alt="extplorer&#039;s new file/directory button disabled" title="eXtolorer- disable new file directory" width="150" height="90" class="size-thumbnail wp-image-339" /></a><p class="wp-caption-text">New File/Directory (Disabled)</p></div>Once we have made these modifications, we now need to tell our users that these two features no longer work.  We can do this a few ways- my favorite is to edit the images for the buttons on the menu (located in the images directory).  The image that controls the New File/Directory image is named &#8221; _filenew.png&#8221;, and the image that controls the About image is named &#8221; _help.png&#8221;.  By the time that you are done, you should have a navigational bar that appears close to the image on the left.</p>
<p>Finally, we need to edit the language file, and edit the &#8220;New File/Directory&#8221; and &#8220;About&#8221; descriptions.  These help our users to understand that when they hover their mouse over an option, they can read that the features have been disabled.  In order to do this, edit the file languages/english.php (or whatever language is the default), and edit the variables &#8220;aboutlink&#8221;, and &#8220;newlink&#8221;.  You can edit these variables to display whatever message you choose, my personal favorite is just to use the text &#8220;Disabled&#8221; after the feature, to let the user know that the feature is disabled on purpose.  </p>
<p>Once you have performed these modifications, eXtplorer will happily run in a multi-user environment securely.  If you have any further questions about eXtplorer, feel free to contact me by posting a reply, or using the contact form on this website.</p>
]]></content:encoded>
			<wfw:commentRss>http://remote-linux-support.com/blog/2011/03/securing-extplorer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Importance of a Linux Server Security Audit</title>
		<link>http://remote-linux-support.com/blog/2010/05/the-importance-of-a-linux-server-security-audit/</link>
		<comments>http://remote-linux-support.com/blog/2010/05/the-importance-of-a-linux-server-security-audit/#comments</comments>
		<pubDate>Tue, 04 May 2010 17:00:41 +0000</pubDate>
		<dc:creator>cpace</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[linux security]]></category>
		<category><![CDATA[server security]]></category>

		<guid isPermaLink="false">http://remote-linux-support.com/blog/?p=200</guid>
		<description><![CDATA[A security audit is probably one of the least requested services that I perform, and for a good reason.  Truth be told, most of my clients don't think about security when it comes to their Linux server.  After all, Linux is an extremely stable and secure Operating System.  Assuming that some sort of basic <a href="http://linuxconsultant.info/linux-server-maintenance.html">Linux server maintenance</a> is being performed, the server should be safe from most types of root compromises.  However, server maintenance usually won't protect your server from the more popular web application attacks.]]></description>
			<content:encoded><![CDATA[<p>A security audit is probably one of the least requested services that I perform, and for a good reason.  Truth be told, most of my clients don&#8217;t think about security when it comes to their Linux server.  After all, Linux is an extremely stable and secure Operating System.  Assuming that some sort of basic <a title="Linux server maintenance" href="http://linuxconsultant.info/linux-server-maintenance.html" target="_blank">Linux server maintenance</a> is being performed, the server should be safe from most types of root compromises.  However, server maintenance usually won&#8217;t protect your server from the more popular web application attacks.</p>
<p>A good security audit will test your server for:</p>
<ul>
<li>XSS vulnerabilities</li>
<li>Operating System vulnerabilities</li>
<li>Weak user names and passwords</li>
<li>SQL Injection vulnerabilities</li>
<li>Server application vulnerabilities</li>
<li>Insecure configurations</li>
<li>Information disclosure vulnerabilities</li>
</ul>
<p>Using advanced scanning tools, you can test for all of these potential vulnerabilities on your server.  Tools such as nmap allow for advanced port scanning, and the tests the ability of an attacker to detect possible sensitive information about your server.  Tools such as Nikto scan a server for web application vulnerabilities, and reveal information disclosure vulnerabilities.</p>
<p>If you hire someone to run a security audit on your server, ask questions beforehand, such as what scanning suites will be used,  and ask for references.  Any professional should have quite a few references, and should be able to identify the scanners that will be used against your Linux server.  In addition, ask them if after hours scanning is available, so that your business is not adversely affected by these scans.</p>
<p>If you have any further questions about security audits for your Linux servers, please feel free to <a href="http://linuxconsultant.info/contact.html">contact me</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://remote-linux-support.com/blog/2010/05/the-importance-of-a-linux-server-security-audit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Tutorial- Six Steps to a More Secure Linux Server</title>
		<link>http://remote-linux-support.com/blog/2009/06/new-tutorial-six-steps-to-a-more-secure-linux-server/</link>
		<comments>http://remote-linux-support.com/blog/2009/06/new-tutorial-six-steps-to-a-more-secure-linux-server/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 04:30:10 +0000</pubDate>
		<dc:creator>cpace</dc:creator>
				<category><![CDATA[Online Additions]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[quick security]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server security]]></category>

		<guid isPermaLink="false">http://linuxconsultant.info/blog/?p=18</guid>
		<description><![CDATA[I wrote a new tutorial on my website about how to easily secure your Linux server today.]]></description>
			<content:encoded><![CDATA[<p>I wrote a new tutorial on my website about how to easily secure your Linux server today.  The article is designed to point out the more common security flaws present in most of the servers that I work on (all of them easily fixed), in the hopes that more &#8220;administrators&#8221; and &#8220;consultants&#8221; will advise their clients to implement them.</p>
<p>I&#8217;m not trying to be &#8220;that guy&#8221; that makes it seem like most admins are lazy- but most admins do overlook basic or moderate security steps.  They usually also cry out against strict security guidelines by saying that security breaks applications.  While this is true for a novice, most seasoned administrators know what to <strong>not</strong> do when securing a server.</p>
<p>I can&#8217;t complain too much though I guess, since admins like this give me great job security!</p>
<p>Here is the article:</p>
<p><a href="http://linuxconsultant.info/tutorials/6-steps-to-a-more-secure-linux-server.html">http://linuxconsultant.info/tutorials/6-steps-to-a-more-secure-linux-server.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://remote-linux-support.com/blog/2009/06/new-tutorial-six-steps-to-a-more-secure-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

