FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

foswiki -- Script Insertion Vulnerability via unchecked user registration fields

Affected packages
foswiki < 1.1.5


VuXML ID 495b46fd-a30f-11e1-82c9-d0df9acfd7e5
Discovery 2012-04-13
Entry 2012-05-21

Foswiki team reports:

When a new user registers, the new user can add arbitrary HTML and script code into the user topic which is generated by the RegistrationAgent via standard registration fields such as "FirstName" or "OrganisationName".

By design, Foswiki's normal editing features allow arbitrary HTML markup, including script code, to be inserted into any topic anyway, assuming the authenticated user has CHANGE permission - which is the case on many Foswiki sites. However, the assumption that only authenticated users with CHANGE permission may create script content is false if new users exploit the vulnerability detailed in this alert to manipulate the registration agent into creating that content for them.


CVE Name CVE-2012-1004