Bugzilla – Attachment 65586 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
0001-Bug-19052-XSS-Flaws-in-vendor-search-page.patch (text/plain), 1.44 KB, created by
Amit Gupta
on 2017-08-07 16:36:42 UTC
(
hide
)
Description:
Bug 19052 - XSS Flaws in vendor search page
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2017-08-07 16:36:42 UTC
Size:
1.44 KB
patch
obsolete
>From c1509e0813e6a3382f7e86c6b99f93fa19854d16 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 > >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. >--- > .../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"> > >-- >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 19052
:
65586
|
65587
|
65601
|
65602
|
65891
|
65892