<?xml version="1.0" encoding="iso-8859-1"?> 
<rdf:RDF
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:dcterms="http://purl.org/dc/terms/" 
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:thr="http://purl.org/rss/1.0/modules/threading/"
	xmlns:pb="http://www.ideaspace.net/users/wkearney/schema/postback/" 
	xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" 
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:mt="http://movabletype.org/"
	xmlns:foaf="http://xmlns.com/foaf/0.1/" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:html="http://www.w3.org/TR/REC-html40/"
	xmlns="http://purl.org/rss/1.0/"
> 

<rdf:Description rdf:about="http://www.ideaspace.net/users/wkearney/archives/entries/000501.html"> 
	<title>Heinous security hack thanks to MT</title>
	<link>http://www.ideaspace.net/users/wkearney/archives/entries/000501.html</link>
	<description>Basically there&apos;s a way simply be editing templates and files to cause MT to write some files and execute a daemon that&apos;ll let you login to a shell with no authentication.</description> 

	<dc:creator>wkearney</dc:creator> 
	<dc:date>2003-10-07T11:46:12-05:00</dc:date> 
	<dc:identifier>http://www.ideaspace.net/users/wkearney/archives/entries/000501.html</dc:identifier>
	<dc:language>en-us</dc:language>

	 
	<dc:subject>Geek</dc:subject>

	

	

	
	
	
	<dcterms:abstract>Basically there&apos;s a way simply be editing templates and files to cause MT to write some files and execute a daemon that&apos;ll let you login to a shell with no authentication.</dcterms:abstract> 
	<dcterms:created>2003-10-07T11:46:12-05:00</dcterms:created> 
	<dcterms:isPartOf rdf:resource="http://www.ideaspace.net/users/wkearney/" /> 

	<mt:body><![CDATA[<p>If you install MT as a user with shell login privileges, you're inviting possible disaster.</p>

<p>Basically there's a way, simply by editing templates (and thus files), to get MT to write some files and execute a daemon that'll let you login to a shell without authentication.</p>]]></mt:body>
	<mt:excerpt>Basically there&apos;s a way simply be editing templates and files to cause MT to write some files and execute a daemon that&apos;ll let you login to a shell with no authentication.</mt:excerpt> 
	<mt:more><![CDATA[<p>What you can do to avoid this risk is BE SURE that the files MT uses for code are not writable by the user that's running them inside the apache daemon.  Likewise make sure the directories are no more writable than absolutely necessary.</p>

<p>Now, I can say that I'm actually grateful MT allowed this.  I had a box that had gotten it's ssh daemon completely screwed up.  Such that it refused to accept new logins.  As a result I had to hack around trying to wedge a way into the box.  MT let me get the right things created in the right places such that I could jumpstart a way into the box.  This was good for me but bad overall.</p>

<p>I'm thinking some extra chattr or even chroot'ing steps are going to be a <em>really</em> good idea for MT installs...</p>]]></mt:more>
	<mt:keywords></mt:keywords> 
	<mt:entryID>501</mt:entryID>

	<mt:entryPrev>500</mt:entryPrev>
	<mt:entryNext>502</mt:entryNext>

	<html:link rel="prev" type="application/xml" href="http://www.ideaspace.net/users/wkearney/archives/entries/000500.html.xml" title="Spam abuse" />
	<html:link rel="next" type="application/xml" href="http://www.ideaspace.net/users/wkearney/archives/entries/000502.html.xml" title="Freight trains of data" />
	
	<mt:author>wkearney</mt:author> 
	<mt:authorNickname>Bill Kearney</mt:authorNickname> 
	<mt:authorEmail>wkearney@ideaspace.net</mt:authorEmail>
	<mt:authorURL rdf:resource="http://www.ideaspace.net/users/wkearney" /> 
	
	<foaf:name>wkearney</foaf:name> 
	<foaf:mbox rdf:resource="mailto:wkearney@ideaspace.net" /> 
	<foaf:nick>Bill Kearney</foaf:nick> 
	<foaf:homepage rdf:resource="http://www.ideaspace.net/users/wkearney" />
	
	<rdfs:seeAlso rdf:resource="http://www.ideaspace.net/users/wkearney/xml/index.rdf" />
	<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.64" /> 
</rdf:Description>
</rdf:RDF>