Foswiki suffers from a cross site scripting vulnerability.
0017fdc6742e13d301b74a7867e5d187# Exploit Title: Foswiki Cross Site Scripting
# Date: 2.02.2012
# Author: Sony
# Software Link: http://foswiki.org/
# Google Dorks: intext:powered by foswiki
# Web Browser : Mozilla Firefox
# Blog : http://st2tea.blogspot.com
# PoC:
http://st2tea.blogspot.com/2012/02/foswiki-cross-site-scripting.html
..................................................................
What is Foswiki?
Foswiki launched in October 2008 after TWiki..[<a href="
http://en.wikipedia.org/wiki/TWiki">more..</a>]
About TWiki cross site scripting you can read here:
http://packetstormsecurity.org/files/109246/TWiki-Cross-Site-Scripting.html
Well, in Foxwiki:
http://foswiki.org/Main/SonyStyles
http://1.bp.blogspot.com/-XoubozNduj8/TysBtx0o1lI/AAAAAAAAAYs/a9eZhpgfrOU/s1600/%25D0%2591%25D0%25B5%25D0%25B7%25D1%258B%25D0%25BC%25D1%258F%25D0%25BD%25D0%25BD%25D1%258B%25D0%25B9.jpg
In fields "My homepage","Comment",etc..
And yes, a lot of sites with Foswiki vuln.. to xss.
You can see in Google:
powered by foswiki site:edu
uchicago.edu,stanford.edu,umich.edu,mit.edu..etc..
powered by foswiki site:gov
powered by foswiki site:org
etc..
Comments (4)
We are tracking this at foswiki.org/Tasks/Item11498.
To mitigate the impact of trivial JS injection as demonstrated by Sony, public Foswiki sites which allow unmoderated user registration should customize their NewUserTemplate to restrict VIEW/CHANGE access on those new user profile topics, and also check to see if all webs (including Sandbox) have ACLs set to deny new users CHANGE permission everywhere in the wiki.
Typically, public Foswiki installations grant CHANGE permission to groups, and then add trusted users to those groups.
2012-02-03 16:22:23 UTC | Permalink | Reply
Correct link: foswiki.org/Tasks/Item11498
2012-02-03 16:23:19 UTC | Permalink | Reply
A hotfix for the Sony exploit specifically is being developed at foswiki.org/Tasks/Item11501
2012-02-04 04:09:54 UTC | Permalink | Reply
A hotfix was made available, and the official CVE response can be found at foswiki.org/Support/SecurityAle…
2012-02-11 03:53:24 UTC | Permalink | Reply