diff --git a/gulliver/system/class.soapNtlm.php b/gulliver/system/class.soapNtlm.php
index 6db6bb2a9..655e14136 100644
--- a/gulliver/system/class.soapNtlm.php
+++ b/gulliver/system/class.soapNtlm.php
@@ -212,8 +212,10 @@ class soapNtlm
}
curl_setopt( $this->ch, CURLOPT_HTTPHEADER, array ('Expect:') );
}
- }
- echo $this->buffer = curl_exec( $this->ch );
+ }
+ $this->buffer = curl_exec( $this->ch );
+ $buffer = $filter->xssFilterHard($this->buffer, "url");
+ echo $buffer;
//echo "[NTLMStream::createBuffer] buffer size : " . strlen($this->buffer) . "bytes
";
$this->pos = 0;
}
diff --git a/gulliver/thirdparty/creole/util/Blob.php b/gulliver/thirdparty/creole/util/Blob.php
index 54d550edb..3a2a18726 100755
--- a/gulliver/thirdparty/creole/util/Blob.php
+++ b/gulliver/thirdparty/creole/util/Blob.php
@@ -52,7 +52,16 @@ class Blob extends Lob {
}
} else {
- echo $this->data;
+ $realdocuroot = str_replace( '\\', '/', $_SERVER['DOCUMENT_ROOT'] );
+ $docuroot = explode( '/', $realdocuroot );
+ array_pop( $docuroot );
+ $pathhome = implode( '/', $docuroot ) . '/';
+ array_pop( $docuroot );
+ $pathTrunk = implode( '/', $docuroot ) . '/';
+ require_once($pathTrunk.'gulliver/system/class.inputfilter.php');
+ $filter = new InputFilter();
+ $data = $filter->xssFilterHard($this->data);
+ echo $data;
}
}
diff --git a/gulliver/thirdparty/creole/util/Clob.php b/gulliver/thirdparty/creole/util/Clob.php
index 051b1021c..da5f773af 100755
--- a/gulliver/thirdparty/creole/util/Clob.php
+++ b/gulliver/thirdparty/creole/util/Clob.php
@@ -102,7 +102,15 @@ class Clob extends Lob {
}
} else {
- echo $this->data;
+ $realdocuroot = str_replace( '\\', '/', $_SERVER['DOCUMENT_ROOT'] );
+ $docuroot = explode( '/', $realdocuroot );
+ array_pop( $docuroot );
+ $pathhome = implode( '/', $docuroot ) . '/';
+ array_pop( $docuroot );
+ $pathTrunk = implode( '/', $docuroot ) . '/';
+ require_once($pathTrunk.'gulliver/system/class.inputfilter.php');
+ $filter = new InputFilter();
+ echo $filter->xssFilterHard($this->data);
}
}
diff --git a/gulliver/thirdparty/pear/Log/display.php b/gulliver/thirdparty/pear/Log/display.php
index 31ad1e7da..da8291a27 100755
--- a/gulliver/thirdparty/pear/Log/display.php
+++ b/gulliver/thirdparty/pear/Log/display.php
@@ -127,8 +127,17 @@ class Log_display extends Log
$message = $this->_extractMessage($message);
/* Build and output the complete log line. */
+ $realdocuroot = str_replace( '\\', '/', $_SERVER['DOCUMENT_ROOT'] );
+ $docuroot = explode( '/', $realdocuroot );
+ array_pop( $docuroot );
+ $pathhome = implode( '/', $docuroot ) . '/';
+ array_pop( $docuroot );
+ $pathTrunk = implode( '/', $docuroot ) . '/';
+ require_once($pathTrunk.'gulliver/system/class.inputfilter.php');
+ $filter = new InputFilter();
+ $tag = $filter->xssFilterHard(ucfirst($this->priorityToString($priority)));
echo $this->_error_prepend .
- '' . ucfirst($this->priorityToString($priority)) . ': '.
+ '' . $tag . ': '.
nl2br(htmlspecialchars($message)) .
$this->_error_append . $this->_linebreak;
diff --git a/workflow/engine/controllers/adminProxy.php b/workflow/engine/controllers/adminProxy.php
index 3be771ff1..d5e87a230 100644
--- a/workflow/engine/controllers/adminProxy.php
+++ b/workflow/engine/controllers/adminProxy.php
@@ -1086,6 +1086,8 @@ class adminProxy extends HttpProxyController
} elseif ($files_img_type != '') {
$failed = "1";
}
+ $uploaded = $filter->validateInput($uploaded,'int');
+ $files_img_type = $filter->xssFilterHard($files_img_type);
echo '{success: true, failed: ' . $failed . ', uploaded: ' . $uploaded . ', type: "' . $files_img_type . '"}';
exit();
}
diff --git a/workflow/engine/methods/controls/buscador.php b/workflow/engine/methods/controls/buscador.php
index 61dfef45d..b8bd03209 100755
--- a/workflow/engine/methods/controls/buscador.php
+++ b/workflow/engine/methods/controls/buscador.php
@@ -22,14 +22,15 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/
$frm = $HTTP_GET_VARS;
-
+G::LoadSystem('inputfilter');
+$filter = new InputFilter();
?>