<?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>Justin Samuel &#187; sql injection</title>
	<atom:link href="http://www.justinsamuel.com/tag/sql-injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justinsamuel.com</link>
	<description>Security, Linux, Development</description>
	<lastBuildDate>Thu, 24 Dec 2009 19:29:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Vulnerability: AWBS magic_quotes_gpc &#8220;Off&#8221; SQL Injection and XSS</title>
		<link>http://www.justinsamuel.com/2007/06/10/awbs-magic_quotes_gpc-off-sql-injection-and-xss-vulnerabilities/</link>
		<comments>http://www.justinsamuel.com/2007/06/10/awbs-magic_quotes_gpc-off-sql-injection-and-xss-vulnerabilities/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 16:01:56 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[Vulnerabilities]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[vulnerability]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://www.justinsamuel.com/2007/06/10/awbs-magic_quotes_gpc-off-sql-injection-and-xss-vulnerabilities/</guid>
		<description><![CDATA[Advisory: AWBS magic_quotes_gpc &#8220;Off&#8221; SQL Injection and XSS Vulnerabilities Release Date: 2007-06-10 Last Modified: 2007-07-26 Author: Justin Samuel [http://www.justinsamuel.com] Application: AWBS &#60; 2.6.0 Severity: Highly Critical Impact: Disclosure of sensitive information Cross site scripting Vendor Status: Vendor released version 2.6.0 to address issue. Testing still needed to verify that issue is corrected. Vendor: Total Online [...]]]></description>
			<content:encoded><![CDATA[<p>Advisory: AWBS magic_quotes_gpc &#8220;Off&#8221; SQL Injection and XSS Vulnerabilities<br />
Release Date: 2007-06-10<br />
Last Modified: 2007-07-26<br />
Author: Justin Samuel [<a href="http://www.justinsamuel.com">http://www.justinsamuel.com</a>]</p>
<p>Application: AWBS &lt; 2.6.0<br />
Severity: Highly Critical<br />
Impact: Disclosure of sensitive information<br />
Cross site scripting<br />
Vendor Status: Vendor released version 2.6.0 to address issue. Testing still needed to verify that issue is corrected.</p>
<p>Vendor: Total Online Solutions, Inc.<br />
App. Website: <a href="http://www.awbs.com/">http://www.awbs.com/</a><br />
References: <a href="http://www.justinsamuel.com/2007/06/10/awbs-magic_quotes_gpc-off-sql-injection-and-xss-vulnerabilities/">http://www.justinsamuel.com/2007/06/10/awbs-magic_quotes_gpc-off-sql-injection-and-xss-vulnerabilities/</a></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Description:</p>
<p>Advanced Webhost Billing System (AWBS) contains multiple SQL injection and XSS<br />
vulnerabilities due to a lack of user input validation.<br />
<span id="more-17"></span><br />
The software is not vulnerable to these issues when running with PHP&#8217;s<br />
magic_quotes_gpc setting &#8220;On&#8221;. The vendor states that magic_quotes_gpc &#8220;On&#8221; is<br />
a requirement in one place in their installation guide. However, this setting<br />
is not checked by the installer nor is it enforced by having the software<br />
refuse to run with magic_quotes_gpc &#8220;Off&#8221;.</p>
<p>These vulnerabilities allow for any user with an account in the AWBS software<br />
to perform SQL injection in numerous places. This can be done even with new<br />
accounts created through the public side of AWBS that have no active services.</p>
<p>The available SQL injection attacks can be used to mine all information from<br />
the AWBS database. This includes the following information:</p>
<p>* Root passwords to all servers used for hosting the websites of hosting<br />
accounts sold through AWBS, resulting in multiple server compromise.<br />
* Root passwords to all dedicated servers sold through AWBS, resulting in<br />
multiple server compromise.<br />
* Control panel usernames and passwords for all hosting accounts sold through<br />
AWBS, resulting in multiple website compromise.<br />
* Credit card information for all customers whose credit card info is stored in<br />
AWBS, even if the administrative option to encrypt credit cards numbers<br />
has been used. The encrypted credit card numbers are not safe because the<br />
symmetric encryption key can also be obtained from the database.</p>
<p>Additionally, SQL injection attacks allow an attacker to bypass AWBS&#8217;s anti-XSS<br />
input validation. The available XSS attacks allow an attacker to compromise the<br />
AWBS administrator&#8217;s session id to gain full administrative access to AWBS.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Proof of Concept:</p>
<p>Proof of concept exploit code has been provided to the vendor for every attack<br />
outlined in the description.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Disclosure Timeline:</p>
<p>2007-06-10: Informed AWBS developers of vulnerability details by email.</p>
<p>2007-07-26: Public disclosure.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Recommendations:</p>
<p>Do not run AWBS with PHP&#8217;s magic_quotes_gpc setting &#8220;Off&#8221; until the vendor<br />
releases a fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.justinsamuel.com/2007/06/10/awbs-magic_quotes_gpc-off-sql-injection-and-xss-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
