CVE-2021-3817 (published 2021-12-09T11:15Z)

wbce_cms is vulnerable to Improper Neutralization of Special Elements used in an SQL Command

Severity: HIGH
CVSS v2 base score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS v3 base score: 9.8, CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

Weakness information:
cwe_id: CWE-89
cwe_name: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
description: The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
extended_description: 
            
            
         
         

Fix information:
repo_url: https://github.com/wbce/wbce_cms
commit_details: repo_url: https://github.com/wbce/wbce_cms
author: Colinax
author_date: 2021-11-28 16:16:13+01:00
msg: add captcha for login forgot
repository: repo_url: https://github.com/wbce/wbce_cms
repo_name: WBCE/WBCE_CMS
description: Core package of WBCE CMS. This package includes the core and the default addons. Visit https://wbce.org (DE) or https://wbce-cms.org (EN) to learn more or to join the WBCE CMS community. 
repo_language: PHP
owner: wbce
file_changes: filename: index.php
change_type: ModificationType.MODIFY
diff: @@ -17,99 +17,117 @@ require WB_PATH . '/languages/' . DEFAULT_LANGUAGE . '.php';
 // Include the database class file and initiate an object
 require WB_PATH . '/framework/class.admin.php';
 $admin = new admin('Start', 'start', false, false);
+require_once(WB_PATH.'/include/captcha/captcha.php');
 
 $oMsgBox = new MessageBox();
 $oMsgBox->closeBtn = '';
 
 // Check if the user has already submitted the form, otherwise show it
-if (isset($_POST['email']) and $_POST['email'] != "") {
+if (isset($_POST['email']) && $_POST['email'] != "" ) {
     $email = strip_tags($wb->get_post('email'));
-    if ($admin->validate_email($email) == false) {
-        $oMsgBox->error($MESSAGE['USERS_INVALID_EMAIL']);
+    if(isset($_POST['captcha']) AND $_POST['captcha'] != ''){
+        $ccheck = time(); $ccheck1 = time();
+        if(isset($_SESSION['captchaloginforgot'])) $ccheck1 = $_SESSION['captchaloginforgot'];
+        if(isset($_SESSION['captcha'])) $ccheck = $_SESSION['captcha'];
+        if($_POST['captcha'] != $ccheck && $_POST['captcha'] != $ccheck1) {
+            $oMsgBox->error($MESSAGE['MOD_FORM_INCORRECT_CAPTCHA']);
+            $email = '';
+        }
+    } else {
+        $oMsgBox->error($MESSAGE['MOD_FORM_INCORRECT_CAPTCHA']);
         $email = '';
     }
-
-    // Check if the email exists in the database
-    $sSql = "SELECT * FROM `{TP}users` WHERE `email` = '" . $email . "'";
-    $rRow = $database->query($sSql);
-    if ($rRow->numRows() > 0) {
-
-        // Get the id, username, email, and last_reset from the above db query
-        $aUser = $rRow->fetchRow();
-        if (strlen($aUser['signup_confirmcode']) > 25) {
-            header("Location: " . WB_URL . "/account/signup_continue_page.php?switch=wrong_inputs");
-            exit(0); // break up the script here
-        }
-
-
-        // Check if the password has been reset in the last 2 hours
-        if ((time() - intval($aUser['last_reset'])) < (2 * 3600)) {
-            // Tell the user that their password cannot be reset more than once per hour
-            $oMsgBox->error($MESSAGE['FORGOT_PASS_ALREADY_RESET']);
-        } else {
-            $sCurrentPw = $aUser['password'];
-
-            // Generate a random password then update the database with it
-            $sNewPw = '';
-            $salt = "abchefghjkmnpqrstuvwxyz0123456789";
-            srand((double)microtime() * 1000000);
-            $i = 0;
-            while ($i <= 7) {
-                $num = rand() % 33;
-                $tmp = substr($salt, $num, 1);
-                $sNewPw = $sNewPw . $tmp;
-                $i++;
+    
+   
+    
+    if ($email != '') {
+         
+            if ($admin->validate_email($email) == false) {
+                $oMsgBox->error($MESSAGE['USERS_INVALID_EMAIL']);
+            }
+        
+        // Check if the email exists in the database
+        $sSql = "SELECT * FROM `{TP}users` WHERE `email`='".$database->escapeString($email)."'";
+        $rRow = $database->query($sSql);
+        if ($rRow->numRows() > 0) {
+
+            // Get the id, username, email, and last_reset from the above db query
+            $aUser = $rRow->fetchRow();
+            if (strlen($aUser['signup_confirmcode']) > 25) {
+                header("Location: " . WB_URL . "/account/signup_continue_page.php?switch=wrong_inputs");
+                exit(0); // break up the script here
             }
 
-            // update the new password in the database
-            $aUpdateUser = array(
-                'user_id' => $aUser['user_id'],
-                'password' => $wb->doPasswordEncode($sNewPw),
-                'last_reset' => time(),
-            );
-            $database->updateRow('{TP}users', 'user_id', $aUpdateUser);
-
-            if ($database->is_error()) {
-                // Error updating database
-                $oMsgBox->error($database->get_error());
-            } else {
-                // Setup email to send
-                $mail_to = $email;
-                $mail_subject = $MESSAGE['SIGNUP2_SUBJECT_LOGIN_INFO'];
-
-                // Replace placeholders from language variable with values
-                $search = array('{LOGIN_DISPLAY_NAME}', '{LOGIN_WEBSITE_TITLE}', '{LOGIN_NAME}', '{LOGIN_PASSWORD}');
-                $replace = array($aUser['display_name'], WEBSITE_TITLE, $aUser['username'], $sNewPw);
-
-                $aTokenReplace = array(
-                    '{LOGIN_DISPLAY_NAME}' => $aUser['display_name'],
-                    '{LOGIN_NAME}' => $aUser['username'],
-                    '{LOGIN_WEBSITE_TITLE}' => WEBSITE_TITLE,
-                    '{LOGIN_PASSWORD}' => $sNewPw
-                );
 
+            // Check if the password has been reset in the last 2 hours
+            if ((time() - intval($aUser['last_reset'])) < (2 * 3600)) {
+                // Tell the user that their password cannot be reset more than once per hour
+                $oMsgBox->error($MESSAGE['FORGOT_PASS_ALREADY_RESET']);
+            } else {
+                $sCurrentPw = $aUser['password'];
+
+                // Generate a random password then update the database with it
+                $sNewPw = '';
+                $salt = "abchefghjkmnpqrstuvwxyz0123456789";
+                srand((double)microtime() * 1000000);
+                $i = 0;
+                while ($i <= 7) {
+                    $num = rand() % 33;
+                    $tmp = substr($salt, $num, 1);
+                    $sNewPw = $sNewPw . $tmp;
+                    $i++;
+                }
 
-                $mail_message = strtr($MESSAGE['SIGNUP2_BODY_LOGIN_FORGOT'], $aTokenReplace);
+                // update the new password in the database
+                $aUpdateUser = array(
+                    'user_id' => $aUser['user_id'],
+                    'password' => $wb->doPasswordEncode($sNewPw),
+                    'last_reset' => time(),
+                );
+                $database->updateRow('{TP}users', 'user_id', $aUpdateUser);
 
-                // Try sending the email
-                if ($admin->mail(SERVER_EMAIL, $mail_to, $mail_subject, $mail_message)) {
-                    $oMsgBox->error($MESSAGE['FORGOT_PASS_PASSWORD_RESET']);
-                    $display_form = false;
+                if ($database->is_error()) {
+                    // Error updating database
+                    $oMsgBox->error($database->get_error());
                 } else {
-                    $aUpdateUser = array(
-                        'user_id' => $aUser['user_id'],
-                        'password' => $sCurrentPw
+                    // Setup email to send
+                    $mail_to = $email;
+                    $mail_subject = $MESSAGE['SIGNUP2_SUBJECT_LOGIN_INFO'];
+
+                    // Replace placeholders from language variable with values
+                    $search = array('{LOGIN_DISPLAY_NAME}', '{LOGIN_WEBSITE_TITLE}', '{LOGIN_NAME}', '{LOGIN_PASSWORD}');
+                    $replace = array($aUser['display_name'], WEBSITE_TITLE, $aUser['username'], $sNewPw);
+
+                    $aTokenReplace = array(
+                        '{LOGIN_DISPLAY_NAME}' => $aUser['display_name'],
+                        '{LOGIN_NAME}' => $aUser['username'],
+                        '{LOGIN_WEBSITE_TITLE}' => WEBSITE_TITLE,
+                        '{LOGIN_PASSWORD}' => $sNewPw
                     );
-                    $database->updateRow('{TP}users', 'user_id', $aUpdateUser);
-                    $oMsgBox->error($MESSAGE['FORGOT_PASS_CANNOT_EMAIL']);
+
+
+                    $mail_message = strtr($MESSAGE['SIGNUP2_BODY_LOGIN_FORGOT'], $aTokenReplace);
+
+                    // Try sending the email
+                    if ($admin->mail(SERVER_EMAIL, $mail_to, $mail_subject, $mail_message)) {
+                        $oMsgBox->error($MESSAGE['FORGOT_PASS_PASSWORD_RESET']);
+                        $display_form = false;
+                    } else {
+                        $aUpdateUser = array(
+                            'user_id' => $aUser['user_id'],
+                            'password' => $sCurrentPw
+                        );
+                        $database->updateRow('{TP}users', 'user_id', $aUpdateUser);
+                        $oMsgBox->error($MESSAGE['FORGOT_PASS_CANNOT_EMAIL']);
+                    }
                 }
             }
+        } else {
+            // Email doesn't exist, so tell the user
+            $oMsgBox->error($MESSAGE['FORGOT_PASS_EMAIL_NOT_FOUND']);
+            // and delete the wrong Email
+            $email = '';
         }
-    } else {
-        // Email doesn't exist, so tell the user
-        $oMsgBox->error($MESSAGE['FORGOT_PASS_EMAIL_NOT_FOUND']);
-        // and delete the wrong Email
-        $email = '';
     }
 } else {
     $email = '';
@@ -124,6 +142,13 @@ $template = new Template(dirname($admin->correct_theme_source('login_forgot.htt'
 $template->set_file('page', 'login_forgot.htt');
 $template->set_block('page', 'main_block', 'main');
 
+ob_start();
+call_captcha("all","",'loginforgot');
+$captcha = ob_get_contents();
+ob_end_clean();
+
+
+
 $aTemplateVars = array(
     'SECTION_FORGOT' => $MENU['FORGOT'],
     'MESSAGE_COLOR' => '', //$message_color,
@@ -143,6 +168,7 @@ $aTemplateVars = array(
     'INTERFACE_URL' => ADMIN_URL . '/interface',
     'DEFAULT_CHARSET' => defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : 'utf-8',
     'CHARSET' => isset($charset) ? $charset : 'utf-8',
+    'CAPTCHA' => $captcha
 );
 $template->set_var($aTemplateVars);
 

programming_language: PHP
filename: form_forgot.php
change_type: ModificationType.MODIFY
diff: @@ -11,6 +11,7 @@
  */
 
 defined('WB_PATH') or die("Cannot access this file directly");
+require_once(WB_PATH.'/include/captcha/captcha.php');
 
 $oAccounts = new Accounts();
 $oMsgBox   = new MessageBox();
@@ -20,87 +21,104 @@ $sEmail    = '';
 
 if(isset($_POST['email']) && $_POST['email'] != "" ) {
     $sEmail = strip_tags($oAccounts->get_post('email'));
-    if($admin->validate_email($sEmail) == false) {
-        $oMsgBox->error($MESSAGE['USERS_INVALID_EMAIL']);
-        $sEmail  = '';
+    
+    if(isset($_POST['captcha']) AND $_POST['captcha'] != ''){
+        $ccheck = time(); $ccheck1 = time();
+        if(isset($_SESSION['captchaaccountforgot'])) $ccheck1 = $_SESSION['captchaaccountforgot'];
+        if(isset($_SESSION['captcha'])) $ccheck = $_SESSION['captcha'];
+        if($_POST['captcha'] != $ccheck && $_POST['captcha'] != $ccheck1) {
+            $oMsgBox->error($MESSAGE['MOD_FORM_INCORRECT_CAPTCHA']);
+            $sEmail = '';
+        }
     } else {
-        // Check if the email exists in the database
-        $sSql  = "SELECT * FROM `{TP}users` WHERE `email`='".$sEmail."'";
+        $oMsgBox->error($MESSAGE['MOD_FORM_INCORRECT_CAPTCHA']);
+        $sEmail = '';
+    }
+    
+    if ($sEmail != '') {
+    
+        if($admin->validate_email($sEmail) == false) {
+            $oMsgBox->error($MESSAGE['USERS_INVALID_EMAIL']);
+            $sEmail  = '';
+        } else {
+            // Check if the email exists in the database
+            $sSql = "SELECT * FROM `{TP}users` WHERE `email`='".$database->escapeString($sEmail)."'";
 
-        if(($rRow = $database->query($sSql))){
-            if($aUser = $rRow->fetchRow(MYSQLI_ASSOC)) {
-                if(strlen($aUser['signup_confirmcode']) > 25){
-                    header("Location: ".ACCOUNT_URL."/signup_continue_page.php?switch=wrong_inputs");
-                    exit(0); // break up the script here
-                }
-                $iUserID = (int) $aUser['user_id'];
-                // Get the id, username, email, and last_reset from the above db query
+            if(($rRow = $database->query($sSql))){
+                if($aUser = $rRow->fetchRow(MYSQLI_ASSOC)) {
+                    if(strlen($aUser['signup_confirmcode']) > 25){
+                        header("Location: ".ACCOUNT_URL."/signup_continue_page.php?switch=wrong_inputs");
+                        exit(0); // break up the script here
+                    }
+                    $iUserID = (int) $aUser['user_id'];
+                    // Get the id, username, email, and last_reset from the above db query
 
-                // Check if the password has been reset in the last 2 hours
-                if( ( time() - intval($aUser['last_reset']) ) < (2 * 3600) ) {
-                    // Tell the user that their password cannot be reset more than once per hour
-                    $oMsgBox->error($MESSAGE['FORGOT_PASS_ALREADY_RESET']);
-                } else {
-                    // current password
-                    $sCurrentPw = $aUser['password'];
+                    // Check if the password has been reset in the last 2 hours
+                    if( ( time() - intval($aUser['last_reset']) ) < (2 * 3600) ) {
+                        // Tell the user that their password cannot be reset more than once per hour
+                        $oMsgBox->error($MESSAGE['FORGOT_PASS_ALREADY_RESET']);
+                    } else {
+                        // current password
+                        $sCurrentPw = $aUser['password'];
 
-                    // generate new password
-                    $sNewPasswordRaw = $oAccounts->GenerateRandomPassword();
-                    $sNewPasswordEnc = $oAccounts->doPasswordEncode($sNewPasswordRaw);
+                        // generate new password
+                        $sNewPasswordRaw = $oAccounts->GenerateRandomPassword();
+                        $sNewPasswordEnc = $oAccounts->doPasswordEncode($sNewPasswordRaw);
 
-                    // prepare E-Mail with login details to send to the user via email
-                    $aTokenReplace = array(
-                        'LOGIN_DISPLAY_NAME'  => $aUser['display_name'],
-                        'LOGIN_NAME'          => $aUser['username'],
-                        'LOGIN_WEBSITE_TITLE' => WEBSITE_TITLE,
-                        'LOGIN_PASSWORD'      => $sNewPasswordRaw,
-                        'LOGIN_URL'           => ACCOUNT_URL . '/login.php'
-                    );
+                        // prepare E-Mail with login details to send to the user via email
+                        $aTokenReplace = array(
+                            'LOGIN_DISPLAY_NAME'  => $aUser['display_name'],
+                            'LOGIN_NAME'          => $aUser['username'],
+                            'LOGIN_WEBSITE_TITLE' => WEBSITE_TITLE,
+                            'LOGIN_PASSWORD'      => $sNewPasswordRaw,
+                            'LOGIN_URL'           => ACCOUNT_URL . '/login.php'
+                        );
 
-                    $sOnScreenSwitch    = 'forgot_login_details_sent';
-                    $sEmailTemplateName = 'password_recovery_mail';
-                    $sEmailSubject      = '';
-                    $sMailTo            = $sEmail;
+                        $sOnScreenSwitch    = 'forgot_login_details_sent';
+                        $sEmailTemplateName = 'password_recovery_mail';
+                        $sEmailSubject      = '';
+                        $sMailTo            = $sEmail;
 
-                    $checkSend = $oAccounts->sendEmail($sMailTo, $aTokenReplace, $sEmailTemplateName, $sEmailSubject);
-                    if ($checkSend === true) {
-                        // update the new password in the database
-                        $aUpdateUser = array(
-                            'user_id'    => $iUserID,
-                            'password'   => $sNewPasswordEnc,
-                            'last_reset' => time(),
-                        );
+                        $checkSend = $oAccounts->sendEmail($sMailTo, $aTokenReplace, $sEmailTemplateName, $sEmailSubject);
+                        if ($checkSend === true) {
+                            // update the new password in the database
+                            $aUpdateUser = array(
+                                'user_id'    => $iUserID,
+                                'password'   => $sNewPasswordEnc,
+                                'last_reset' => time(),
+                            );
 
-                        if($database->updateRow('{TP}users', 'user_id', $aUpdateUser)){
-                            header("Location: ".ACCOUNT_URL."/signup_continue_page.php?lc=".$sLC."&switch=".$sOnScreenSwitch."&email=".$sMailTo);
-                            exit(0);
-                        } else {
-                            // Error updating database
-                            $oMsgBox->error($MESSAGE['RECORD_MODIFIED_FAILED']);
-                            if(WB_DEBUG) {
-                                $oMsgBox->error($database->get_error().'<br />'.$sSql);
+                            if($database->updateRow('{TP}users', 'user_id', $aUpdateUser)){
+                                header("Location: ".ACCOUNT_URL."/signup_continue_page.php?lc=".$sLC."&switch=".$sOnScreenSwitch."&email=".$sMailTo);
+                                exit(0);
+                            } else {
+                                // Error updating database
+                                $oMsgBox->error($MESSAGE['RECORD_MODIFIED_FAILED']);
+                                if(WB_DEBUG) {
+                                    $oMsgBox->error($database->get_error().'<br />'.$sSql);
+                                }
                             }
-                        }
 
-                    } else {
-                        // tell user: WRONG INPUTS
-                        $aUpdateUser = array(
-                            'user_id'    => $aUser['user_id'],
-                            'password'   => $sCurrentPw
-                        );
-                        $database->updateRow('{TP}users', 'user_id', $aUpdateUser);
-                        header("Location: ".ACCOUNT_URL."/signup_continue_page.php?lc=".$sLC."&switch=wrong_inputs&from=resend_forgot_pass&mail_err=".$checkSend);
-                        exit(0);
+                        } else {
+                            // tell user: WRONG INPUTS
+                            $aUpdateUser = array(
+                                'user_id'    => $aUser['user_id'],
+                                'password'   => $sCurrentPw
+                            );
+                            $database->updateRow('{TP}users', 'user_id', $aUpdateUser);
+                            header("Location: ".ACCOUNT_URL."/signup_continue_page.php?lc=".$sLC."&switch=wrong_inputs&from=resend_forgot_pass&mail_err=".$checkSend);
+                            exit(0);
+                        }
                     }
+                } else { // no record found - Email doesn't exist, so tell the user
+                    $oMsgBox->error($MESSAGE['FORGOT_PASS_EMAIL_NOT_FOUND']);
+                }
+            } else {
+                // Query failed
+                if(WB_DEBUG) {
+                    $oMsgBox->error('SystemError:: Database query failed!');
+                    $oMsgBox->error($database->get_error().'<br />'.$sSql);
                 }
-            } else { // no record found - Email doesn't exist, so tell the user
-                $oMsgBox->error($MESSAGE['FORGOT_PASS_EMAIL_NOT_FOUND']);
-            }
-        } else {
-            // Query failed
-            if(WB_DEBUG) {
-                $oMsgBox->error('SystemError:: Database query failed!');
-                $oMsgBox->error($database->get_error().'<br />'.$sSql);
             }
         }
     }
@@ -110,10 +128,15 @@ if($oMsgBox->hasErrors() == false ) {
 }
 $email = $sEmail;
 $sHttpReferer = isset($_SESSION['HTTP_REFERER']) ? $_SESSION['HTTP_REFERER'] : $_SERVER['SCRIPT_NAME'];
+ob_start();
+call_captcha("all","","accountforgot");
+$captcha = ob_get_contents();
+ob_end_clean();
 
 // Get the template file for forgot_login_details
 $aToTwig = array(
     'EMAIL'         => $email,
+    'CAPTCHA'       => $captcha,
     'MESSAGE_BOX'   => $oMsgBox->fetchDisplay(),
 );
 $oAccounts->useTwigTemplate('form_forgot.twig', $aToTwig);

programming_language: PHP
filename: form_forgot.twig
change_type: ModificationType.MODIFY
diff: @@ -1,7 +1,7 @@
 {{ insertCssFile( CURRENT_DIR ~ '/forms.css') }}
+
+<p>{{ L_('MENU:FORGOT') }}</p>
 {{ MESSAGE_BOX }}
-<h2>{{ L_('MENU:FORGOT') }}</h2>
-<br />
 
 <form  class="login-box" name="forgot_pass" action="{{ constant("FORGOT_URL") }}" method="post">
     <div class="cpForm">
@@ -11,7 +11,9 @@
                 <input type="text" maxlength="255" name="email" id="email" value="{{ EMAIL }}" />
             </div>
         </div>
-
+		<div class="formRow">
+		{{CAPTCHA}}
+		</div>
         <div class="buttonsRow">
             <button type="submit" name="submit" class="button pos-right">{{ L_('TEXT:SEND_DETAILS') }}</button>
         </div>		

programming_language: HTML
filename: login.css
change_type: ModificationType.MODIFY
diff: @@ -121,6 +121,15 @@ a:hover {
     text-align: center;
 }
 
+.captcha_table {
+	display:inline-block;
+	margin:auto;
+}
+
+.error {
+	color:firebrick;
+}
+
 @media screen and (max-width: 36.5em) {
     .label {
         text-align: left;

programming_language: CSS
filename: info.php
change_type: ModificationType.MODIFY
diff: @@ -14,8 +14,8 @@
 $template_directory = 'argos_theme_reloaded';
 $template_name = 'Argos Theme Reloaded';
 $template_function = 'theme';
-$template_version = '2.1.3';
-$template_platform = '1.4.0';
+$template_version = '2.1.4';
+$template_platform = '1.5.0';
 $template_author = 'Bernd Michna (BerndJM / WWnW) based on the work by Jurgen Nijhuis (Argos Media) & Ruud Eisinga';
 $template_license = '<a href="http://www.wtfpl.net/">WTFPL</a>';
 $template_license_terms = '-';

programming_language: PHP
filename: login_forgot.htt
change_type: ModificationType.MODIFY
diff: @@ -11,7 +11,7 @@
 	<link href="{THEME_URL}/css/login.css" rel="stylesheet" type="text/css">
 </head>
 
-<body onload="document.forgot_pass.email.focus();">
+<body onload="document.login.email.focus();">
 
 	<div id="container">
 		<header class="fg-center">
@@ -27,7 +27,7 @@
 						<input type="hidden" name="url" value="{URL}">
 
 						<div class="fg12 center">
-							<p>{MESSAGE}:</p>
+							<div class="error">{MESSAGE}</div>
 						</div>
 
 						<hr class="fg12" style="margin-bottom: 15px;">
@@ -37,6 +37,10 @@
 							<input type="text" name="email" value="{EMAIL}">
 						</div>
 
+						<div class="fg12 center">
+							{CAPTCHA}
+						</div>
+
 						<div class="fg12 center">
 							<button type="submit" name="submit" style="width:200px;">{TEXT_SEND_DETAILS}</button>
 						</div>

programming_language: HTML
filename: login.css
change_type: ModificationType.MODIFY
diff: @@ -87,13 +87,19 @@ a:hover {
 }
 
 .page_login_link {
-    font-size: 13px;
+    display: block;
+    margin: 50px 0;
 }
 
 .login_license {
     font-size: 11px;
 }
 
+.captcha_table {
+    display: inline-block;
+    margin: auto;
+}
+
 @media (max-width: 550px) {
     .page_login_logo {
         background: none;

programming_language: CSS
filename: info.php
change_type: ModificationType.MODIFY
diff: @@ -14,8 +14,8 @@
 $template_directory = 'wbce_flat_theme';
 $template_name = 'WBCE Flat Theme';
 $template_function = 'theme';
-$template_version = '1.7.5';
-$template_platform = '1.4';
+$template_version = '1.7.6';
+$template_platform = '1.5.0';
 $template_author = 'Colinax based on the work by Yetiie, BerndJM and rjgamer';
 $template_license = 'GNU General Public License';
 $template_license_terms = '-';

programming_language: PHP
filename: login_forgot.htt
change_type: ModificationType.MODIFY
diff: @@ -28,6 +28,7 @@
         <div class="page_login-fields">
             <span class="page_login_fieldelement"><input placeholder="E-Mail" type="text" maxlength="255" name="email" value="{EMAIL}" /></span>
             <br/>
+            {CAPTCHA}
             <p><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" /></p>
             <p><a class="page_login_link" href="{LOGIN_URL}">{TEXT_NEED_TO_LOGIN}</a></p>
         </div>

programming_language: HTML