Bugzilla – Attachment 66000 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
0001-Bug-19108-Stored-XSS-in-authtypes.pl.patch (text/plain), 1.35 KB, created by
Amit Gupta
on 2017-08-15 08:38:52 UTC
(
hide
)
Description:
Bug 19108 - Stored XSS in authtypes.pl
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2017-08-15 08:38:52 UTC
Size:
1.35 KB
patch
obsolete
>From 9775057dec005450e08521ffce1a8f7881934d13 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 > >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 >--- > .../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"> >-- >1.7.9.5 >
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