Skip to content

Commit

Permalink
Fix h1 report 98612
Browse files Browse the repository at this point in the history
Information Exposure Through Discrepancy
----------------------------------------

Karan M. Tank and Smit B. Shah have reported via HackerOne that it was
possible to check whether or not an email address was associated to one or
more user accounts on a target Revive Adserver instance by examining the
message printed by the password recovery system. Such information cannot
however be used directly to log in to the system, which requires usernames
instead.

A CVE-ID has been requested, but not assigned yet.

CWE: CWE-203
CVSSv2: 5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
  • Loading branch information
mbeccati committed Mar 1, 2016
1 parent a323fd6 commit 38223a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions lib/OA/Admin/PasswordRecovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,9 @@ function handlePost($vars)
$this->displayRecoveryRequestForm($GLOBALS['strEmailRequired']);
} else {
$sent = $this->sendRecoveryEmail(stripslashes($vars['email']));
if ($sent) {
$this->displayMessage($GLOBALS['strNotifyPageMessage']);
} else {
$this->displayRecoveryRequestForm($GLOBALS['strPwdRecEmailNotFound']);
}

// Always pretend an email was sent, even if not to avoid information disclosure
$this->displayMessage($GLOBALS['strNotifyPageMessage']);
}
} else {
if (empty($vars['newpassword']) || empty($vars['newpassword2']) || $vars['newpassword'] != $vars['newpassword2']) {
Expand Down
1 change: 0 additions & 1 deletion lib/max/language/en/default.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,6 @@
$GLOBALS['strForgotPassword'] = "Forgot your password?";
$GLOBALS['strPasswordRecovery'] = "Password recovery";
$GLOBALS['strEmailRequired'] = "Email is a required field";
$GLOBALS['strPwdRecEmailNotFound'] = "Email address not found";
$GLOBALS['strPwdRecWrongId'] = "Wrong ID";
$GLOBALS['strPwdRecEnterEmail'] = "Enter your email address below";
$GLOBALS['strPwdRecEnterPassword'] = "Enter your new password below";
Expand Down

0 comments on commit 38223a8

Please sign in to comment.