Bugzilla – Attachment 66445 Details for
Bug 19108
Stored XSS in multiple scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19108 - Stored XSS in authtypes.pl
Bug-19108---Stored-XSS-in-authtypespl.patch (text/plain), 1.50 KB, created by
Marcel de Rooy
on 2017-08-25 06:25:44 UTC
(
hide
)
Description:
Bug 19108 - Stored XSS in authtypes.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-08-25 06:25:44 UTC
Size:
1.50 KB
patch
obsolete
>From 8e31a900d18408543ce50cdaa1b29437a215cede Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Tue, 15 Aug 2017 14:06:47 +0530 >Subject: [PATCH] Bug 19108 - Stored XSS in authtypes.pl >Content-Type: text/plain; charset=utf-8 > >To Test >1. Hit the page /cgi-bin/koha/admin/authtypes.pl?op=add_form >2. Add a text in the field Description that contains js >3. Save the page. >4. Notice js is execute >5. Apply patch and reload, the js is escaped > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >index f76f394..2f69f53 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >@@ -160,8 +160,8 @@ > [% FOREACH authority_type IN authority_types %] > <tr> > <td>[% authority_type.authtypecode %]</td> >- <td>[% authority_type.authtypetext %]</td> >- <td>[% authority_type.summary %]</td> >+ <td>[% authority_type.authtypetext |html %]</td> >+ <td>[% authority_type.summary |html %]</td> > <td>[% authority_type.auth_tag_to_report %]</td> > <td> > <div class="dropdown"> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19108
:
65997
|
65998
|
65999
|
66000
|
66001
|
66002
|
66079
|
66080
|
66081
|
66082
|
66083
|
66084
|
66085
|
66442
|
66443
|
66444
| 66445 |
66446
|
66447
|
66448
|
67085