Bugzilla – Attachment 66082 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]
[SIGNED OFF] Bug 19108 - Stored XSS in authtypes.pl
SIGNED-OFF-Bug-19108---Stored-XSS-in-authtypespl.patch (text/plain), 1.42 KB, created by
Katrin Fischer
on 2017-08-16 11:55:15 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 19108 - Stored XSS in authtypes.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2017-08-16 11:55:15 UTC
Size:
1.42 KB
patch
obsolete
>From 067dd84e8df2e20673e83bca444900368f869716 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] [SIGNED OFF] Bug 19108 - Stored XSS in authtypes.pl > >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> >--- > 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.7.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