Profile properties not htmlencoding data

Published: June 14, 2010

Version: 1.0

Maximum Severity Rating: Low

Background

DotNetNuke contains support for user profile properties to capture values such as city, state etc., as well as any custom properties required for each user

Issue Summary

At present profile properties automatically strip dangerous XSS characters from data. In addition they support regular expressions to allow sites to configure the allowable characters. To conform to security best practices we've added an additonal htmlencoding to ensure dangerous html cannot be output.

Mitigating factors

1. Profile properties contain support for validating data passes a regular expression match. A site can configure these to ensure dangerous values do not slip through.

2. The user profile function is fully templatable, a site can configure this to minimise or eliminate potential issues.

3. The core already implements HttpOnly cookies to stop XSS attacks potentially stealing authentication cookies.

Affected DotNetNuke versions

5.3.0 - 5.4.2

Non-Affected Versions:

All others

Fix(s) for issue

To fix this problem, you are recommended to update to the latest version of DotNetNuke (5.4.3 at time of writing).

Acknowledgments

Corneliu I. Tusnea
www.OneSaas.com

www.twitter.com/corneliu

Security Policy

Click here to read more details on the DotNetNuke Security Policy

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.