Home / Information / Security patch
March 06 2017

Security patch

celsoft 6 March 2017 Information 4 118
The problem: data filtering.

Error in version: 11.2 and below

Severity: high

To fix, open the file: /engine/go.php and find:
$url = @str_replace ( "&", "&", $url );

add below:
$url = htmlspecialchars( $url, ENT_QUOTES, $config['charset'] );
$url = str_replace ( "&", "&", $url );

Open the file:: /engine/ajax/typograf.php and find:
$txt = trim( convert_unicode( $_POST['txt'], $config['charset'] ) );

add below:
require_once ENGINE_DIR . '/classes/parse.class.php';
$parse = new ParseFilter();
$txt = $parse->process( $txt );
$txt = preg_replace( "/javascript:/i", "jаvascript:", $txt );
$txt = preg_replace( "/data:/i", "dаta:", $txt );

Comments

This publication has no comments yet. You can be the first!

Information

Users of Гости are not allowed to comment this publication.

Calendar

«    April 2024    »
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930 

Voting On The Website

Please, rate the engine