Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 708356 Details for
Bug 858987
CVE-2012-4437 php-Smarty: XSS due improper sanitization of messages within SmartyException
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Local copy of Debian's patch for php-Smarty v2
fix-XSS-in-smarty2.patch (text/plain), 2.20 KB, created by
Jan Lieskovsky
on 2013-03-11 13:10:09 UTC
(
hide
)
Description:
Local copy of Debian's patch for php-Smarty v2
Filename:
MIME Type:
Creator:
Jan Lieskovsky
Created:
2013-03-11 13:10:09 UTC
Size:
2.20 KB
patch
obsolete
>diff -Nru smarty-2.6.26/debian/changelog smarty-2.6.26/debian/changelog >--- smarty-2.6.26/debian/changelog 2013-03-11 01:23:05.000000000 +0900 >+++ smarty-2.6.26/debian/changelog 2013-03-11 01:18:59.000000000 +0900 >@@ -1,3 +1,11 @@ >+smarty (2.6.26-1) stable-proposed-updates; urgency=low >+ >+ * QA upload. >+ * add debian/patches/avoid_possible_script_execution_from_2.6.27.patch >+ - cherry picked from upstream: it should prevent XSS (Closes: #702710) >+ >+ -- Hideki Yamane <henrich@debian.org> Mon, 11 Mar 2013 01:18:46 +0900 >+ > smarty (2.6.26-0.2) unstable; urgency=low > > * QA upload: >diff -Nru smarty-2.6.26/debian/patches/avoid_possible_script_execution_from_2.6.27.patch smarty-2.6.26/debian/patches/avoid_possible_script_execution_from_2.6.27.patch >--- smarty-2.6.26/debian/patches/avoid_possible_script_execution_from_2.6.27.patch 1970-01-01 09:00:00.000000000 +0900 >+++ smarty-2.6.26/debian/patches/avoid_possible_script_execution_from_2.6.27.patch 2013-03-11 01:18:06.000000000 +0900 >@@ -0,0 +1,22 @@ >+Description: avoid possible XSS >+ As Yoshinari Takaoka <mumumu@mumumu.org> pointed out, upstream puts >+ a (possible) security fix in Smarty 2.6.27. >+ . >+ See upstream commit as https://code.google.com/p/smarty-php/source/detail?r=4660 >+ >+--- >+Origin: upstream >+Last-Update: 2013-03-11 >+ >+--- smarty-2.6.26.orig/libs/Smarty.class.php >++++ smarty-2.6.26/libs/Smarty.class.php >+@@ -1090,7 +1090,8 @@ class Smarty >+ */ >+ function trigger_error($error_msg, $error_type = E_USER_WARNING) >+ { >+- trigger_error("Smarty error: $error_msg", $error_type); >++ $msg = htmlentities($error_msg); >++ trigger_error("Smarty error: $msg", $error_type); >+ } >+ >+ >diff -Nru smarty-2.6.26/debian/patches/series smarty-2.6.26/debian/patches/series >--- smarty-2.6.26/debian/patches/series 1970-01-01 09:00:00.000000000 +0900 >+++ smarty-2.6.26/debian/patches/series 2013-03-10 22:31:33.000000000 +0900 >@@ -0,0 +1 @@ >+avoid_possible_script_execution_from_2.6.27.patch >diff -Nru smarty-2.6.26/debian/source/format smarty-2.6.26/debian/source/format >--- smarty-2.6.26/debian/source/format 1970-01-01 09:00:00.000000000 +0900 >+++ smarty-2.6.26/debian/source/format 2013-03-10 22:31:20.000000000 +0900 >@@ -0,0 +1 @@ >+3.0 (quilt)
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
Attachments on
bug 858987
: 708356