[KVE-2020-0097]영카트_파일경로_RCE 취약점 수정
This commit is contained in:
@ -56,6 +56,11 @@ foreach( $check_str_keys as $key ){
|
|||||||
$ca_include_head = $_POST['ca_include_head'];
|
$ca_include_head = $_POST['ca_include_head'];
|
||||||
$ca_include_tail = $_POST['ca_include_tail'];
|
$ca_include_tail = $_POST['ca_include_tail'];
|
||||||
|
|
||||||
|
if( function_exists('filter_input_include_path') ){
|
||||||
|
$ca_include_head = filter_input_include_path($ca_include_head);
|
||||||
|
$ca_include_tail = filter_input_include_path($ca_include_tail);
|
||||||
|
}
|
||||||
|
|
||||||
if ($w == "u" || $w == "d")
|
if ($w == "u" || $w == "d")
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user