<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Security fail pt3: Userauthentifizierung über externe Kommandos</title>
	<atom:link href="http://www.adminlife.net/hacks/security-fail-pt3-userauthentifizierung-ueber-externe-kommandos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adminlife.net/hacks/security-fail-pt3-userauthentifizierung-ueber-externe-kommandos/</link>
	<description>... aus dem Alltag eines Sysadmins</description>
	<lastBuildDate>Mon, 29 Aug 2011 23:42:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dirk Deimeke</title>
		<link>http://www.adminlife.net/hacks/security-fail-pt3-userauthentifizierung-ueber-externe-kommandos/comment-page-1/#comment-2507</link>
		<dc:creator>Dirk Deimeke</dc:creator>
		<pubDate>Thu, 15 Apr 2010 06:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.adminlife.net/?p=2229#comment-2507</guid>
		<description>Kommandos in sicherheitsrelevanten Skripten sollten auch nur mit dem kompletten Pfad aufgerufen werden.

Habt Ihr eigentlich etwas gegen &quot;case .. esac&quot;-Anweisungen?

&lt;code&gt;
case $(/usr/bin/id -u) of
1001&#124;1002) Mach das richtige. ;;
*) Du bist falsch hier ;;
esac
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Kommandos in sicherheitsrelevanten Skripten sollten auch nur mit dem kompletten Pfad aufgerufen werden.</p>
<p>Habt Ihr eigentlich etwas gegen &#8220;case .. esac&#8221;-Anweisungen?</p>
<p><code><br />
case $(/usr/bin/id -u) of<br />
1001|1002) Mach das richtige. ;;<br />
*) Du bist falsch hier ;;<br />
esac<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stefan</title>
		<link>http://www.adminlife.net/hacks/security-fail-pt3-userauthentifizierung-ueber-externe-kommandos/comment-page-1/#comment-2505</link>
		<dc:creator>stefan</dc:creator>
		<pubDate>Wed, 14 Apr 2010 18:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.adminlife.net/?p=2229#comment-2505</guid>
		<description>In dem Fall: eine restriktive Shell. Leider kann ich hier nicht alle Details preisgeben und den Originalcode posten.</description>
		<content:encoded><![CDATA[<p>In dem Fall: eine restriktive Shell. Leider kann ich hier nicht alle Details preisgeben und den Originalcode posten.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.adminlife.net/hacks/security-fail-pt3-userauthentifizierung-ueber-externe-kommandos/comment-page-1/#comment-2504</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 14 Apr 2010 18:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.adminlife.net/?p=2229#comment-2504</guid>
		<description>Was hindert den potentiellen Angreifer daran, die Befehle aus dem Hochsicherheitsscript einfach direkt aufzurufen?</description>
		<content:encoded><![CDATA[<p>Was hindert den potentiellen Angreifer daran, die Befehle aus dem Hochsicherheitsscript einfach direkt aufzurufen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raf</title>
		<link>http://www.adminlife.net/hacks/security-fail-pt3-userauthentifizierung-ueber-externe-kommandos/comment-page-1/#comment-2503</link>
		<dc:creator>raf</dc:creator>
		<pubDate>Wed, 14 Apr 2010 17:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.adminlife.net/?p=2229#comment-2503</guid>
		<description>jetzt noch mit netten xhtml-tags :)

dann bliebe wohl nur noch eine abfrage:
&lt;code&gt;
ID_BIN=”
if [ -x /bin/id ]; then
ID_BIN=/bin/id
else
if [ -x /usr/bin/id]; then
ID_BIN=/usr/bin/id
fi
fi
if [ -z &quot;$ID_BIN&quot; ]; then
echo “unable to authenticate”
exit 1
fi
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>jetzt noch mit netten xhtml-tags <img src='http://www.adminlife.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>dann bliebe wohl nur noch eine abfrage:<br />
<code><br />
ID_BIN=”<br />
if [ -x /bin/id ]; then<br />
ID_BIN=/bin/id<br />
else<br />
if [ -x /usr/bin/id]; then<br />
ID_BIN=/usr/bin/id<br />
fi<br />
fi<br />
if [ -z "$ID_BIN" ]; then<br />
echo “unable to authenticate”<br />
exit 1<br />
fi<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raf</title>
		<link>http://www.adminlife.net/hacks/security-fail-pt3-userauthentifizierung-ueber-externe-kommandos/comment-page-1/#comment-2502</link>
		<dc:creator>raf</dc:creator>
		<pubDate>Wed, 14 Apr 2010 17:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.adminlife.net/?p=2229#comment-2502</guid>
		<description>dann bliebe wohl nur noch eine abfrage:

ID_BIN=&#039;&#039;
if [ -x /bin/id ]; then
  ID_BIN=/bin/id
else
  if [ -x /usr/bin/id]; then
    ID_BIN=/usr/bin/id
  fi
fi

if [ -z &quot;$ID_BIN&quot; ]; then
  echo &quot;unable to authenticate&quot;
  exit 1
fi</description>
		<content:encoded><![CDATA[<p>dann bliebe wohl nur noch eine abfrage:</p>
<p>ID_BIN=&#8221;<br />
if [ -x /bin/id ]; then<br />
  ID_BIN=/bin/id<br />
else<br />
  if [ -x /usr/bin/id]; then<br />
    ID_BIN=/usr/bin/id<br />
  fi<br />
fi</p>
<p>if [ -z "$ID_BIN" ]; then<br />
  echo &#8220;unable to authenticate&#8221;<br />
  exit 1<br />
fi</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.550 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-08 09:46:40 -->

