Bugzilla – Attachment 65560 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 Cities
Bug-19034-XSS-Flaws-in-Cities.patch (text/plain), 1.10 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-08-07 14:22:39 UTC
(
hide
)
Description:
Bug 19034: XSS Flaws in Cities
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-08-07 14:22:39 UTC
Size:
1.10 KB
patch
obsolete
>From 958659d18d68addf3019a1f4e08fece15c89f6c9 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Fri, 4 Aug 2017 10:38:12 +0530 >Subject: [PATCH] Bug 19034: XSS Flaws in Cities > >1. Hit /cgi-bin/koha/admin/cities.pl >2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search cities box. >3. Notice the iframe is executed. >4. Apply patch. >5. Reload page, and enter iframe again on search cities box. >6. Notice it is no longer executed. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >index 7acb4d6..a440cf1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >@@ -143,7 +143,7 @@ > > <h2>Cities</h2> > [% IF searchfield %] >- Searching: [% searchfield %] >+ Searching: [% searchfield |html %] > [% END %] > > [% IF cities.count %] >-- >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 19034
:
65485
|
65486
|
65487
|
65559
| 65560 |
65561
|
65562
|
66028