MantisBT - CDash
View Issue Details
0012341CDashpublic2011-07-14 23:142011-12-23 08:26
Emmanuel Christophe 
Julien Jomier 
normalminorhave not tried
resolvedfixed 
 
2.0 
0012341: Test names not escaped
Tests names are not escaped for "<" and ">" leading to this error:
Warning: DOMDocument::loadXML() [domdocument.loadxml]: StartTag: invalid element name in Entity, line: 17 in /var/www/Dashboard/cdash/common.php on line 42

There might be a potential for injection attacks.

(with cdash 1.8.2)
Submit a test with a name such as:
test<->1234
No tags attached.
Issue History
2011-07-14 23:14Emmanuel ChristopheNew Issue
2011-12-23 08:17Julien JomierAssigned To => Julien Jomier
2011-12-23 08:17Julien JomierStatusnew => assigned
2011-12-23 08:26Julien JomierNote Added: 0028062
2011-12-23 08:26Julien JomierStatusassigned => resolved
2011-12-23 08:26Julien JomierFixed in Version => 2.0
2011-12-23 08:26Julien JomierResolutionopen => fixed

Notes
(0028062)
Julien Jomier   
2011-12-23 08:26   
Thanks for the report