Anti-Phishing Research, Live Bait Reports, Tombstones, Hoyt LLC

Saturday, December 31, 2011

CVE-2011-5018, Koala Framework, XSS, Resolved, Cross Site Scripting, CWE-79, CAPEC-86

fix XSS security issue: escape request_uri in 404 pages
commit 59f81ea6bd8ef96c04a706a3ca453cd656284faa1 parent e681f050ea
 nsams-vivid-planet authored 
Showing 1 changed file with 1 addition and 1 deletion.
MKwf/Exception/Abstract.php2 
TxtKwf/Exception/Abstract.php
......
@@ -74,7 +74,7 @@ public function render($ignoreCli = false)
7474
         $view->exception = $this->getException();
7575
         $view->message = $this->getException()->getMessage();
7676
         $view->requestUri = isset($_SERVER['REQUEST_URI']) ?
77 
-            $_SERVER['REQUEST_URI'] : '' ;
 77
+            htmlspecialchars($_SERVER['REQUEST_URI']) : '' ;
7878
         $view->debug = Kwf_Exception::isDebug();
7979
         $header = $this->getHeader();
8080
         $template = $this->getTemplate();

0 comments:

Post a Comment