Bugzilla – Attachment 65891 Details for
Bug 19052
XSS Flaws in - vendor search page - Invoice search page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19052 - XSS Flaws in vendor search page
Bug-19052---XSS-Flaws-in-vendor-search-page.patch (text/plain), 1.59 KB, created by
Marcel de Rooy
on 2017-08-11 09:28:47 UTC
(
hide
)
Description:
Bug 19052 - XSS Flaws in vendor search page
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-08-11 09:28:47 UTC
Size:
1.59 KB
patch
obsolete
>From 26cbdb166159c805845dc3b0d495bc62b1d89e0c Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Mon, 7 Aug 2017 22:04:30 +0530 >Subject: [PATCH] Bug 19052 - XSS Flaws in vendor search page >Content-Type: text/plain; charset=utf-8 > >1. Hit /cgi-bin/koha/acqui/booksellers.pl >2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> vendor search box. >3. Notice the iframe is executed. >4. Apply patch. >5. Reload page, and enter iframe again on vendor search box. >6. Notice it is no longer executed. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt >index 02eda13..e9f44dc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt >@@ -55,7 +55,7 @@ $(document).ready(function() { > [% INCLUDE 'header.inc' %] > [% INCLUDE 'acquisitions-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › Search for vendor <em>[% supplier %]</em> </div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › Search for vendor <em>[% supplier |html %]</em> </div> > > <div id="doc3" class="yui-t2"> > >-- >2.1.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 19052
:
65586
|
65587
|
65601
|
65602
| 65891 |
65892