Bugzilla – Attachment 65485 Details for
Bug 19034
XSS Flaws in- Cities - Z39.50/SRU servers administration - Patron categories pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19034 - XSS Flaws in Patron categories pages
0001-Bug-19034-XSS-Flaws-in-Patron-categories-pages.patch (text/plain), 1.18 KB, created by
Amit Gupta
on 2017-08-04 05:17:35 UTC
(
hide
)
Description:
Bug 19034 - XSS Flaws in Patron categories pages
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2017-08-04 05:17:35 UTC
Size:
1.18 KB
patch
obsolete
>From 80c938294cd2d0cec5a7a0e3c82a9ed88b93b537 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Fri, 4 Aug 2017 10:34:19 +0530 >Subject: [PATCH 1/3] Bug 19034 - XSS Flaws in Patron categories pages > >1. Hit /cgi-bin/koha/admin/categories.pl >2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search patron categories box. >3. Notice the iframe is executed. >4. Apply patch. >5. Reload page, and enter iframe again on search patron categories box. >6. Notice it is no longer executed. >--- > .../prog/en/modules/admin/categories.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >index e33b36f..2f965dd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >@@ -335,7 +335,7 @@ > > <h2>Patron categories</h2> > [% IF searchfield %] >- You Searched for [% searchfield %]</span> >+ You Searched for [% searchfield |html %]</span> > [% END %] > [% IF categories%] > <table id="table_categorie"> >-- >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 19034
:
65485
|
65486
|
65487
|
65559
|
65560
|
65561
|
65562
|
66028