From b3a270d0b3df34fcc8414424d3d48f90bb70633d Mon Sep 17 00:00:00 2001 From: marcos Date: Tue, 9 Jun 2020 12:43:58 +0200 Subject: [PATCH] fixed security error on manage agent group --- pandora_console/godmode/groups/group_list.php | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 314e4431ea..3a8371bc6a 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -347,24 +347,32 @@ if (($create_group) && (check_acl($config['id_user'], 0, 'PM'))) { $check = db_get_value('nombre', 'tgrupo', 'nombre', $name); $propagate = (bool) get_parameter('propagate'); + $aviable_name = true; + if (preg_match('