]> git.koha-community.org Git - koha.git/commit
Bug 14423 XSS bug in auth_subfields_structure
authorChris <chris@bigballofwax.co.nz>
Sun, 21 Jun 2015 08:33:13 +0000 (08:33 +0000)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 23 Jun 2015 00:22:40 +0000 (12:22 +1200)
commitd35384c039b8db00659d1cd0ee08cfb50c45481e
treea0ded5440c705290104e37fd1de6141ad68a7dce
parent66dc4a9e7d2f11b97f1a4b0f76b5c485c3873683
Bug 14423 XSS bug in auth_subfields_structure

1/ Hit a url like http://localhost:8081/cgi-bin/koha/admin/auth_subfields_structure.pl?op=add_form&authtypecode=%27%3Cscript%3Ealert%28%27oh%20noes%27%29%3C/script%3E&tagfield=%22/%3E%3Cscript%3Ealert%28%27oh%20noes%27%29%3C/script%3E
2/ Notice a ton of alert boxes pop up
3/ Apply patch
4/ Reload url, no longer get any alerts
5/ Test fuctionality still works

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt