View Issue Details

IDProjectCategoryView StatusLast Update
0011236mantisbtsecuritypublic2010-02-22 14:34
Reporterdhx Assigned Todhx  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0 
Target Version1.2.0Fixed in Version1.2.0 
Summary0011236: XSS on view_all_bug_page.php (specifically the filters form) with user Real Name field
Description

Set your real name in "My Account" to something including "<script>alert(42);</script>" and then go to view_all_bug_page.php and select yourself in some of the user/reporter filters. Apply the filter you've just defined and you'll see a bunch of Javascript alerts from the XSS vulnerability.

The current value of the filter for the username fields is not sanitised before being printed to the HTML output.

TagsNo tags attached.

Relationships

child of 0011234 closeddhx user_ensure_realname_valid() is not checked on account_page.php 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master bb920bf5

2009-12-01 00:41

dhx


Details Diff
Fix 0011236: XSS on view_all_bug_page.php with user Real Name field

If a user is selected in one of the user filters (reporter, monitored
by, etc) and that user has a name containing HTML elements, the HTML
elements would not be escaped prior to displaying them as the currently
selected filter options.
Affected Issues
0011236
mod - core/filter_api.php Diff File

MantisBT: master-1.2.x 4cb58c70

2009-12-01 00:41

dhx


Details Diff
Fix 0011236: XSS on view_all_bug_page.php with user Real Name field

If a user is selected in one of the user filters (reporter, monitored
by, etc) and that user has a name containing HTML elements, the HTML
elements would not be escaped prior to displaying them as the currently
selected filter options.
Affected Issues
0011236
mod - core/filter_api.php Diff File