Bugzilla – Attachment 65605 Details for
Bug 19054
XSS Flaws in Report - Top Most-circulated items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19054 - XSS Flaws in Report - Top Most-circulated items
Bug-19054---XSS-Flaws-in-Report---Top-Most-circula.patch (text/plain), 1.48 KB, created by
Chris Cormack
on 2017-08-07 21:01:18 UTC
(
hide
)
Description:
Bug 19054 - XSS Flaws in Report - Top Most-circulated items
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2017-08-07 21:01:18 UTC
Size:
1.48 KB
patch
obsolete
>From 11c1191283d8e57e17dd5ac8b39af53f9a730ff8 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Mon, 7 Aug 2017 22:34:05 +0530 >Subject: [PATCH] Bug 19054 - XSS Flaws in Report - Top Most-circulated items > >1. Hit /cgi-bin/koha/reports/cat_issues_top.pl >2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> in Callnumber, Day, Month, Year search box. >3. Notice the iframe is executed. >4. Apply patch. >5. Reload page, and enter iframe again on Callnumber, Day, Month, Year search box. >6. Notice it is no longer executed. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >index 7365de18e6..5a11c573cd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >@@ -59,7 +59,7 @@ > [% IF ( mainloo.loopfilter ) %] > <p>Filtered on:</p> > [% FOREACH loopfilte IN mainloo.loopfilter %] >- <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit %] =[% loopfilte.filter %][% IF ( loopfilte.err ) %] [% END %]</p> >+ <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit %] =[% loopfilte.filter |html %][% IF ( loopfilte.err ) %] [% END %]</p> > [% END %] > [% END %] > >-- >2.13.3
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 19054
:
65589
|
65605
|
65893