View Issue Details

IDProjectCategoryView StatusLast Update
0006544mantisbtsecuritypublic2006-10-09 11:55
Reporterthraxisp Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.3 
Fixed in Version0.19.5 
Summary0006544: 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

parent of 0006545 closedthraxisp Port 0006544: XSS Vulnerability in project name (TKADV2005-11-002) 
parent of 0006546 closedthraxisp Port 0006544: XSS Vulnerability in project name (TKADV2005-11-002) 

Activities

thraxisp

thraxisp

2005-12-31 23:33

reporter   ~0011856

Fixed in 0.19.3 stream for 0.19.5 release

bug_view_advanced_page.php -> 1.67.6.1
bug_view_page.php -> 1.70.6.1
changelog_page.php -> 1.9.6.1
manage_proj_create.php -> 1.6.4.1
print_all_bug_page.php -> 1.80.10.1
print_bug_page.php -> 1.51.10.1
core/string_api.php -> 1.62.4.2