Bugzilla – Attachment 4786 Details for
Bug 6641
Specially crafted URL can allow unauthorized download of MARC files from staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6641 -- Specially crafted URL can allow unauthorized download of MARC files from staff client
Bug-6641----Specially-crafted-URL-can-allow-unauth.patch (text/plain), 1.56 KB, created by
Chris Cormack
on 2011-08-01 08:44:35 UTC
(
hide
)
Description:
Bug 6641 -- Specially crafted URL can allow unauthorized download of MARC files from staff client
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-08-01 08:44:35 UTC
Size:
1.56 KB
patch
obsolete
>From 8a5e529fc685da75d043b22f0375efe4503a9ab0 Mon Sep 17 00:00:00 2001 >From: Liz Rea <lrea@nekls.org> >Date: Thu, 28 Jul 2011 16:14:05 -0500 >Subject: [PATCH] Bug 6641 -- Specially crafted URL can allow unauthorized download of MARC files from staff client > >Making sure permissions are checked on download of MARC files from staff client > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > catalogue/export.pl | 12 +++++++++++- > 1 files changed, 11 insertions(+), 1 deletions(-) > >diff --git a/catalogue/export.pl b/catalogue/export.pl >index 9bd49de..3efdb21 100755 >--- a/catalogue/export.pl >+++ b/catalogue/export.pl >@@ -8,9 +8,19 @@ use C4::Auth; > use C4::Output; > use C4::Biblio; > use CGI; >-use C4::Auth; >+ >+ > > my $query = new CGI; >+my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ >+ template_name => "tools/export.tt", >+ query => $query, >+ type => "intranet", >+ authnotrequired => 0, >+ flagsrequired => { tools => 'export_catalog' }, >+ debug => 1, >+ }); >+ > my $op=$query->param("op"); > my $format=$query->param("format"); > if ($op eq "export") { >-- >1.7.4.1
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 6641
:
4770
| 4786