Bugzilla – Attachment 65487 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 - Z39.50/SRU servers administration
0001-Bug-19034-XSS-Flaws-in-Z39.50-SRU-servers-administra.patch (text/plain), 1.39 KB, created by
Amit Gupta
on 2017-08-04 05:19:39 UTC
(
hide
)
Description:
Bug 19034 - XSS Flaws in - Z39.50/SRU servers administration
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2017-08-04 05:19:39 UTC
Size:
1.39 KB
patch
obsolete
>From afa2e5d28d778b6330c1194936b5462402aee57f Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Fri, 4 Aug 2017 10:41:49 +0530 >Subject: [PATCH] Bug 19034 - XSS Flaws in - Z39.50/SRU servers administration > >1. Hit /cgi-bin/koha/admin/z3950servers.pl >2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search Z39.50/SRU servers box. >3. Notice the iframe is executed. >4. Apply patch. >5. Reload page, and enter iframe again on search Z39.50/SRU servers box. >6. Notice it is no longer executed. >--- > .../prog/en/modules/admin/z3950servers.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >index 4a6a968..d25cc36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >@@ -225,7 +225,7 @@ > [% IF id %] > You searched for record [% id %] > [% ELSIF searchfield %] >- You searched for [% searchfield %] >+ You searched for [% searchfield |html %] > [% END %] > <table id="serverst"> > <thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Preselected</th><th>Rank</th><th>Syntax</th><th>Encoding</th><th>Timeout</th><th>Record type</th><th></th> >-- >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