Bugzilla – Attachment 65484 Details for
Bug 19033
XSS Flaws in Currencies and exchange page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19033 - XSS Flaws in Currencies and exchange page
0001-Bug-19033-XSS-Flaws-in-Currencies-and-exchange-page.patch (text/plain), 1.11 KB, created by
Amit Gupta
on 2017-08-04 04:19:43 UTC
(
hide
)
Description:
Bug 19033 - XSS Flaws in Currencies and exchange page
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2017-08-04 04:19:43 UTC
Size:
1.11 KB
patch
obsolete
>From 691adcf4ad30407fd78d78434378340080fdfbcd Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Fri, 4 Aug 2017 09:44:52 +0530 >Subject: [PATCH] Bug 19033 - XSS Flaws in Currencies and exchange page > >1. Hit /cgi-bin/koha/admin/currency.pl >2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search currencies box. >3. Notice the iframe is executed >4. Apply patch >5. Reload page, and enter iframe again on search currencies box. >6. Notice it is no longer executed >--- > .../prog/en/modules/admin/currency.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >index 9b7e106..d7285b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >@@ -198,7 +198,7 @@ > [% END %] > > [% IF searchfield %] >- You searched for [% searchfield %]</span> >+ You searched for [% searchfield |html %]</span> > [% END %] > > <table id='currencies-table'> >-- >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 19033
:
65483
|
65484
|
65557