View Issue Details

IDProjectCategoryView StatusLast Update
0006546mantisbtsecuritypublic2006-10-09 11:55
Reporterthraxisp Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0006546: Port 0006544: XSS Vulnerability in project name (TKADV2005-11-002)
Description

It is possible to embed an XSS script into the project name at creation. This then shows up in several other pages.

From Thomas Waldegger [thomas.waldegger at morph3us dot org]

You should not allow users to add projects, filters, users and so on
with HTML/Script code in it.

Note: These configurations affect only the ">'' project.

Try to add a project with the name '">script>alert(document.cookie)
</script>' and have a look at following PHP files:

/manage_config_work_threshold_page.php
/manage_config_email_page.php
/manage_config_work_threshold_page.php
/changelog_page.php:
/print_all_bug_page.php:

These files do not filter the project name and so everytime a certain
PHP file is loaded the JavaScript code gets executed. It's a harmless
bug, I know, but Mantis should handle this.

TagsNo tags attached.

Relationships

child of 0006544 closedthraxisp XSS Vulnerability in project name (TKADV2005-11-002) 

Activities

thraxisp

thraxisp

2005-12-31 22:02

reporter   ~0011854

FIxed in CVS.

core/string_api.php -> 1.79
print_bug_page.php -> 1.57
print_all_bug_page.php -> 1.84
manage_proj_edit_page.php -> 1.93
manage_proj_create.php -> 1.8
manage_config_workflow_page.php -> 1.17
manage_config_work_threshold_page.php -> 1.12
manage_config_email_page.php -> 1.9
changelog_page.php -> 1.17
bug_view_page.php-> 1.78
bug_view_advanced_page.php -> 1.77