summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-12-28 23:15:49 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-12-28 23:15:49 +0100
commitd95d2ff05f816c4023fdaa6db14819f86d3044bf (patch)
tree3bea800fbb0c26515eb576778d2f2875e61b8d77 /Bugzilla/WebService/Constants.pm
parent6f323ff54643622bcd31f6b7577ab1a23d16f590 (diff)
downloadbugzilla-d95d2ff05f816c4023fdaa6db14819f86d3044bf.tar.gz
bugzilla-d95d2ff05f816c4023fdaa6db14819f86d3044bf.tar.xz
Bug 711714: (CVE-2011-3667) [SECURITY] The User.offer_account_by_email WebService method lets you create new user accounts independently of the value of Bugzilla::Auth::Verify::*::user_can_create_account
r=dkl a=LpSolit
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r--Bugzilla/WebService/Constants.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index 123b14d68..ab3111eed 100644
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -130,6 +130,7 @@ use constant WS_ERROR_CODE => {
# User errors are 500-600.
account_exists => 500,
illegal_email_address => 501,
+ auth_cant_create_account => 501,
account_creation_disabled => 501,
account_creation_restricted => 501,
password_too_short => 502,