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

<channel>
	<title>Ascii for Breakfast &#187; Exploits</title>
	<atom:link href="http://www.xenuser.org/category/exploits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xenuser.org</link>
	<description></description>
	<lastBuildDate>Tue, 29 Nov 2011 23:19:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>The Joomla Hacking Compendium</title>
		<link>http://www.xenuser.org/2010/12/19/the-joomla-hacking-compendium/</link>
		<comments>http://www.xenuser.org/2010/12/19/the-joomla-hacking-compendium/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 16:38:21 +0000</pubDate>
		<dc:creator>valentin</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[LFI]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[Security in general]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[XSS]]></category>
		<category><![CDATA[advisories]]></category>
		<category><![CDATA[advisory]]></category>
		<category><![CDATA[Cross-Site Scripting]]></category>
		<category><![CDATA[CSRF]]></category>
		<category><![CDATA[doc]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[html code injection]]></category>
		<category><![CDATA[Joomla component]]></category>
		<category><![CDATA[local file inclusion]]></category>
		<category><![CDATA[paper]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[The Joomla Hacking Compendium]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<category><![CDATA[vulnerability]]></category>
		<category><![CDATA[Vulnerability Research]]></category>
		<category><![CDATA[vulnerability scanner]]></category>

		<guid isPermaLink="false">http://www.xenuser.org/?p=1298</guid>
		<description><![CDATA[Download The Joomla Hacking Compendium here. With great pleasure I hereby announce the availability of the new &#8220;The Joomla Hacking Compendium&#8221;. It contains almost 1000 lines of pure knowledge and shows you the way to hack and protect Joomla. It contains the following chapters: Please find an excerpt below:]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.xenuser.org/documents/security/joomla_hacking_compendium.txt" target="_blank">Download The Joomla Hacking Compendium here.</a></p>
<p>With great pleasure I hereby announce the availability of the new &#8220;The Joomla Hacking Compendium&#8221;. It contains almost 1000 lines of pure knowledge and shows you the way to hack and protect Joomla.</p>
<p>It contains the following chapters:</p>
<pre class="qoate-code">
0x01 - Purpose of this document
0x02 - Introduction
0x03 - The Basics of Joomla
0x04 - The Joomla core
0x05 - Joomla extensions
0x06 - Hacking Joomla
0x07 - SEO, our strongest enemy
0x08 - Examples for Joomla SQL injections
0x09 - Examples for Joomla local file inclusions
0x10 - Examples for Joomla remote file inclusions
0x11 - Examples for Joomla XSSs/CSRFs
0x12 - How to protect your Joomla
0x13 - Conclusion and a look at Joomla's feature
0x14 - How to stay informed (or: the latest vulnerabilities)
0x15 - Useful tools
0x16 - Greetings and THX
</pre>
<p>Please find an excerpt below:</p>
<pre class="qoate-code">
::
:: 0x04 - The Joomla core
::

Before inspecting the Joomla component attack vendors we first have a
look at the core.

Download Joomla somewhere and extract all files. Open the file
libraries/phpinputfilter/inputfilter.php
and look at the code:
----------------------------------------
var $tagsArray; // default = empty array
var $attrArray; // default = empty array

var $tagsMethod; // default = 0
var $attrMethod; // default = 0

var $xssAuto; // default = 1
var $tagBlacklist = array ('applet', 'body', 'bgsound' [...]
var $attrBlacklist = array ('action', 'background'     [...]
----------------------------------------

As you can see, some filter methods of Joomla are based on blacklisting.
This knowledge can be used later to exploit potential vulnerabilities in
a better way. I find this method not very effective, btw.

While HTML tags containing "body" or "bgsound" will be filtered out
at input fields or URL parameters, they can be written in many ways,
e.g. like "bOdY" or "b o DY" etc. You are only limited by your
creativity and will find ways for tricking the blacklist of the
Joomla framework.

Another interesting part is this one (same file):
----------------------------------------
/*
* Is there a tag? If so it will certainly start with a '&lt;'
*/
$tagOpen_start  = strpos($source, '&lt;');
while ($tagOpen_start !== false)
{
/*
* Get some information about the tag we are processing
*/
$preTag            .= substr($postTag, 0, $tagOpen_start);
$postTag                = substr($postTag, $tagOpen_start);
----------------------------------------

As you can see they assume that an HTML tag being used in XSS attacks
starts with a "&lt;". In fact, I never use this character and many
XSS cheatsheets suggest this, too. With this information in mind,
you can most likely avoid being detected by the filters. You can start
your XSS string with "&gt;&lt;tag... for example.

If you want to you can continue looking. You will find other filter
methods and, at the end of the file, there are also built in
mechanics which should help to prevent SQL injection vulnerabilities:
[...]
</pre>
<p> <img src="http://www.xenuser.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1298" width="1" height="1" style="display: none;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xenuser.org/2010/12/19/the-joomla-hacking-compendium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Specialist Bed and Breakfast Website SQL Injection Exploit released</title>
		<link>http://www.xenuser.org/2010/07/03/specialist-bed-and-breakfast-website-sql-injection-exploit-released/</link>
		<comments>http://www.xenuser.org/2010/07/03/specialist-bed-and-breakfast-website-sql-injection-exploit-released/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 23:26:39 +0000</pubDate>
		<dc:creator>valentin</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Specialist Bed and Breakfast Website]]></category>
		<category><![CDATA[Specialist Bed and Breakfast Website SQL Injection Exploit]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://www.xenuser.org/?p=953</guid>
		<description><![CDATA[Today I am releasing my Specialist Bed and Breakfast Website SQL Injection Exploit (remote). [Download] Description The Specialist Bed and Breakfast Website SQL Injection Exploit takes advantage of a SQL injection vulnerability JaMbA discovered on 30th June 2010. The exploit source code also contains the table structure of the vulnerable product. About the vulnerability Learn [...]]]></description>
			<content:encoded><![CDATA[<p>Today I am releasing my Specialist Bed and Breakfast Website SQL Injection Exploit (remote).<br />
[<a href="http://www.xenuser.org/my-exploits/" target="_blank">Download</a>]</p>
<p><strong>Description</strong><br />
The Specialist Bed and Breakfast Website SQL Injection Exploit takes advantage of a SQL injection vulnerability JaMbA discovered on 30th June 2010. The exploit source code also contains the table structure of the vulnerable product.</p>
<p><strong>About the vulnerability</strong><br />
Learn more about the vulnerability <a href="http://www.exploit-db.com/exploits/14144/" target="_blank">here</a>.</p>
<p><strong>Features</strong><br />
- Check if provided URL is reachable<br />
- Error handling for HTTP requests<br />
- Display current database, MySQL user and the MySQL version<br />
- Display the admin login data<br />
- Easy to use (everything is simple and automated)<br />
- User agent for HTTP requests</p>
<p><strong>Additional information</strong><br />
Written in Python (less than 400 lines).</p>
<p><strong>Usage example</strong><br />
<em> python bed_and_breakfast_sploit.py &#8211; u &#8220;http://target/site/pages.php?fid=0,1,472&amp;pp_id=84&#8243;</em></p>
<p><strong>Disclaimer</strong><br />
Only use this tool to check websites you are allowed to test (e.g. for penetration testing). Never use this tool on foreign websites! Know and respect your local laws! I am not responsible if you cause any damage or run into trouble. This tool was written for educational purposes only. <img src="http://www.xenuser.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=953" width="1" height="1" style="display: none;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xenuser.org/2010/07/03/specialist-bed-and-breakfast-website-sql-injection-exploit-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla Component BF Quiz SQL Injection Exploit released</title>
		<link>http://www.xenuser.org/2010/05/29/joomla-component-bf-quiz-sql-injection-exploit-released/</link>
		<comments>http://www.xenuser.org/2010/05/29/joomla-component-bf-quiz-sql-injection-exploit-released/#comments</comments>
		<pubDate>Sat, 29 May 2010 19:37:40 +0000</pubDate>
		<dc:creator>valentin</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[com_bfquiz]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://www.xenuser.org/?p=852</guid>
		<description><![CDATA[Today I am releasing my Joomla Component BF Quiz SQL Injection Exploit. It exploits a vulnerability within the Joomla component BF Quiz I found a few hours ago. Please click here to download the Python sploit. Usage example: python joomla_com_bfquiz_sploit.py &#8211; u &#8220;http://target/index.php?option=com_bfquiztrial&#38;view=bfquiztrial&#38;catid=34&#8243; Features: - Check if the provided URL is reachable - Display current database, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I am releasing my Joomla Component BF Quiz SQL Injection Exploit. It exploits a vulnerability within the Joomla component BF Quiz I found a few hours ago.</p>
<p>Please <a href="http://www.xenuser.org/my-exploits/" target="_blank">click here</a> to download the Python sploit.</p>
<p><strong>Usage example:</strong><br />
<em> python joomla_com_bfquiz_sploit.py &#8211; u &#8220;http://target/index.php?option=com_bfquiztrial&amp;view=bfquiztrial&amp;catid=34&#8243;</em></p>
<p><strong>Features:</strong><br />
- Check if the provided URL is reachable<br />
- Display current database, MySQL user and the MySQL version<br />
- Display the password hash of the Joomla administrator</p>
<p><strong>Screenshot:</strong></p>
<p><strong><a href="http://www.xenuser.org/wp-content/uploads/2010/05/com_bfquiz_sploit.png"><img class="aligncenter size-medium wp-image-854" title="Joomla Component BF Quiz SQL Injection Exploit" src="http://www.xenuser.org/wp-content/uploads/2010/05/com_bfquiz_sploit-281x300.png" alt="Joomla Component BF Quiz SQL Injection Exploit" width="281" height="300" /></a></strong></p>
<p><strong>Additional information</strong><br />
Only attack targets you are allowed to attack (e.g. your own website or a customer&#8217;s website for penetration testing). I am not responsible if you cause any damage or do bad things! Know and respect your local laws! <img src="http://www.xenuser.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=852" width="1" height="1" style="display: none;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xenuser.org/2010/05/29/joomla-component-bf-quiz-sql-injection-exploit-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated Joomla SQL Injection Exploiter</title>
		<link>http://www.xenuser.org/2010/05/23/automated-joomla-sql-injection-exploiter/</link>
		<comments>http://www.xenuser.org/2010/05/23/automated-joomla-sql-injection-exploiter/#comments</comments>
		<pubDate>Sun, 23 May 2010 19:29:43 +0000</pubDate>
		<dc:creator>valentin</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[Automated Joomla SQL Injection Exploiter]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[fuzzer]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.xenuser.org/?p=803</guid>
		<description><![CDATA[Today I am releasing my Automated Joomla SQL Injection Exploiter version 1.0 (23th May 2010). [Download here] I wrote this tool because I did not want to write a new exploit every time when a new Joomla (component/module/plugin) SQL injection vulnerability was discovered/revealed. Simply hand over a vulnerable Joomla URL to the tool and receive all Joomla [...]]]></description>
			<content:encoded><![CDATA[<p>Today I am releasing my Automated Joomla SQL Injection Exploiter version 1.0 (23th May 2010).<br />
[<a href="http://www.xenuser.org/my-exploits/" target="_blank">Download here</a>]</p>
<p>I wrote this tool because I did not want to write a new exploit every time when a new Joomla (component/module/plugin) SQL injection vulnerability was discovered/revealed. Simply hand over a vulnerable Joomla URL to the tool and receive all Joomla users (with password hashes).</p>
<p><strong>Description<br />
</strong>The Automated Joomla SQL Injection Exploiter exploits almost every SQL injection vulnerability which was and will be discovered in Joomla or it&#8217;s components/modules/plugins. From now on you don&#8217;t need an exploit for every new SQL injection vulnerability! Just hand over the vulnerable URL to the tool and receive a list of Joomla users. The Automated Joomla SQL Injection Exploiter is based on my column fuzzer.</p>
<p><strong>Features</strong><br />
- Check if URL is reachable<br />
- Fuzz amount of columns (needed for UNION SELECT attack)<br />
- Show a sample exploitation URL for pasting into the browser<br />
- Showing the Joomla users from the table jos_users (with password hashes)<br />
- Display current database, database user and database version</p>
<p><strong>Additional information</strong><br />
Written in Python (less than 300 lines).</p>
<p><strong>Screenshots</strong></p>
<p><strong><a href="http://www.xenuser.org/wp-content/uploads/2010/05/joomla_sqli_sploiter_1.png"><img class="aligncenter size-medium wp-image-807" title="Automated Joomla SQL Injection Exploiter Screenshot 1" src="http://www.xenuser.org/wp-content/uploads/2010/05/joomla_sqli_sploiter_1-300x213.png" alt="Automated Joomla SQL Injection Exploiter Screenshot 1" width="300" height="213" /></a></strong></p>
<p><strong><a href="http://www.xenuser.org/wp-content/uploads/2010/05/joomla_sqli_sploiter_2.png"><img class="aligncenter size-medium wp-image-808" title="Automated Joomla SQL Injection Exploiter Screenshot 2" src="http://www.xenuser.org/wp-content/uploads/2010/05/joomla_sqli_sploiter_2-300x146.png" alt="Automated Joomla SQL Injection Exploiter Screenshot 2" width="300" height="146" /></a></strong></p>
<p><strong>Usage</strong><br />
<em>root@localhost: python joomla_sqli_sploiter.py -u &#8220;http://target/index.php?option=com_vulnerable?id=1&#8243;</em></p>
<p><strong>Disclaimer</strong><br />
Tool was written for educational purposes only. I am not responsible for any damage you might cause using this tool. Know and respect your local laws! Only use this tool on websites you are allowed to test, e.g. for penetration testing.</p>
<p><strong>Sample Output (bad formatted, sorry about that)</strong><br />
&lt;<em>root@localhost: python joomla_sqli_sploiter.py -u &#8220;http://target/index.php?com_option=blubb&amp;id=1&#8243;</em><br />
<em>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,(^_^),~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</em><br />
<em>Automated Joomla SQL Injection Exploiter 1.0 (23th May 2010)</em><br />
<em>by Valentin Hoebel (valentin@xenuser.org)</em><br />
<em>For educational purposes only! I am not responsible if you cause any damage!</em><br />
<em>Only use this tool on websites which you may test, e.g. for penetration testing.</em><br />
<em>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,(^_^),~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</em><br />
<em>&gt;&gt; Checking if connection can be established&#8230;</em><br />
<em>&gt;&gt; Connected to target! URL seems to be valid.</em><br />
<em>&gt;&gt; Assuming that your provided URL is vulnerable.</em><br />
<em>&gt;&gt; Trying to find the correct number of columns&#8230; (this may take a while)</em><br />
<em>&gt;&gt; Correct number of columns found!</em><br />
<em>&gt;&gt; Amount:  21</em><br />
<em>&gt;&gt; Do you want to have a sample exploitation URL for pasting into the browser? (Yes/No) no</em><br />
<em>&gt;&gt; Viewing a sample exploitation URL was skipped!</em><br />
<em>&gt;&gt; Now assuming that this is a Joomla installation.</em><br />
<em>&gt;&gt; Trying to fetch the first user of the Joomla user table&#8230;</em><br />
<em>ID:  ['62']</em><br />
<em>Name:  ['Administrator'] Username:  ['admin']</em><br />
<em>Password Hash:  ['censored']</em><br />
<em>E-Mail Address:  ['valentin@xenuser.org'] User status:  ['Super Administrator']</em><br />
<em>&gt;&gt; Do you want to display all Joomla users? Replying with Yes will show you the source code response of the website. (Yes/No) no</em><br />
<em>&gt;&gt; Viewing the Joomla user table output was skipped!</em><br />
<em>&gt;&gt; Do you want to display the current database, database user and MySQL version? (Yes/No) yes</em><br />
<em>MySQL Database User:  ['root@localhost']</em><br />
<em>MySQL Database:  ['joomla']</em><br />
<em>MySQL Version:  ['5.1.34-0.dotdeb.1-log']</em><br />
<em>That&#8217;s it. Bye!</em> <img src="http://www.xenuser.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=803" width="1" height="1" style="display: none;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xenuser.org/2010/05/23/automated-joomla-sql-injection-exploiter/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Joomla com_qpersonel SQL Injection Remote Exploit released</title>
		<link>http://www.xenuser.org/2010/05/23/joomla-com_qpersonel-sql-injection-remote-exploit-released/</link>
		<comments>http://www.xenuser.org/2010/05/23/joomla-com_qpersonel-sql-injection-remote-exploit-released/#comments</comments>
		<pubDate>Sun, 23 May 2010 14:55:55 +0000</pubDate>
		<dc:creator>valentin</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Joomla com_qpersonel SQL Injection Remote Exploit]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://www.xenuser.org/?p=798</guid>
		<description><![CDATA[Today I decided to release my Joomla com_qpersonal SQL Injection Remote Exploit. It exploits a SQL injection vulnerability I found a few weeks ago. The sploit is based on my column fuzzer and the enhanced Joomla exploitation tool I wrote You can find the exploit here.]]></description>
			<content:encoded><![CDATA[<p>Today I decided to release my Joomla com_qpersonal SQL Injection Remote Exploit. It exploits a SQL injection vulnerability I found a few weeks ago.</p>
<p>The sploit is based on my column fuzzer and the enhanced Joomla exploitation tool I wrote <img src='http://www.xenuser.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.xenuser.org/my-exploits/" target="_blank">You can find the exploit here.</a> <img src="http://www.xenuser.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=798" width="1" height="1" style="display: none;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xenuser.org/2010/05/23/joomla-com_qpersonel-sql-injection-remote-exploit-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

