View Issue Details

IDProjectCategoryView StatusLast Update
0006545mantisbtsecuritypublic2006-10-09 11:55
Reporterthraxisp Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc3 
Summary0006545: 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:06

reporter   ~0011855

fixed in CVS (0.19.4 stream)

bug_view_advanced_page.php -> 1.76.6.1
bug_view_page.php -> 1.77.6.1
changelog_page.php -> 1.15.12.1
manage_config_email_page.php -> 1.8.8.1
manage_config_work_threshold_page.php -> 1.11.6.1
manage_config_workflow_page.php -> 1.16.6.1
manage_proj_create.php -> 1.7.14.1
manage_proj_edit_page.php -> 1.92.6.1
print_all_bug_page.php -> 1.83.10.1
print_bug_page.php -> 1.56.6.1
core/string_api.php -> 1.75.4.2.2.1