[SECURITY] Bug 219044: A user with 'editkeywords' privileges (i.e. usually an administrator) can inject arbitrary SQL via the URL used to edit an existing keyword.

Patch by Joel Peshkin <bugreport@peshkin.net>
r= justdave, zach  a= justdave


git-svn-id: svn://10.0.0.236/trunk@148737 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
justdave%syndicomm.com
2003-11-03 03:31:30 +00:00
parent a45b1913fb
commit 80801cd4e8

View File

@@ -126,6 +126,7 @@ unless (UserInGroup("editkeywords")) {
my $action = trim($::FORM{action} || '');
detaint_natural($::FORM{id});
if ($action eq "") {