[36982] in bugtraq

home help back first fref pref prev next nref lref last post

IBM Lotus Notes/Domino fails to encode Square Brackets ( [ ] )

daemon@ATHENA.MIT.EDU (Juan C Calderon)
Mon Oct 18 16:40:06 2004

Date: 18 Oct 2004 18:48:17 -0000
Message-ID: <20041018184817.32681.qmail@www.securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: Juan C Calderon <juan.calderon@ge.com>
To: bugtraq@securityfocus.com



Software:
IBM Lotus Notes/Domino

Affected Version(s):
Tested in R6 should work in prior versions as well.

Author:
Juan C Calderon

Description:
An attacker can bypass native Lotus Notes HTML encoding in a computed value by adding square brackets to the beginning and end of a field of the following types computed, computed for display, computed when composed or a "computed text" element, Injecting HTML and JavaScript as desired.

NOTE: This won't work in editable fields

Trivial Example:
http://www.SomeLotusSite.com/FormReflectingURLValue?OpenForm&Field=[&lt;script&gt;.....&lt;/script&gt;]

Solution:
Validate user input for square bracket characters ( [ ] )  in data shown directly or indirectly in computed fields/texts

home help back first fref pref prev next nref lref last post