Changeset 2875024
- Timestamp:
- 03/05/2023 06:18:08 PM (3 years ago)
- Location:
- cforms2/trunk
- Files:
-
- 5 edited
-
cforms-corrupted.php (modified) (2 diffs)
-
cforms-global-settings.php (modified) (3 diffs)
-
cforms-options.php (modified) (2 diffs)
-
cforms.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cforms2/trunk/cforms-corrupted.php
r2353696 r2875024 19 19 20 20 cforms2_check_access_priv(); 21 22 if ($_SERVER['REQUEST_METHOD'] === 'POST') { 23 if (!check_admin_referer("corruptedsettings")) 24 return; 25 } 21 26 ?> 22 27 <div class="wrap"> … … 63 68 <form name="corruptedsettings" class="corruptedsettings" method="POST"> 64 69 70 <?php wp_nonce_field("corruptedsettings"); ?> 65 71 <h3><?php _e('Corrupted cforms settings detected', 'cforms2'); ?></h3> 66 72 <table class="form-table"> -
cforms2/trunk/cforms-global-settings.php
r2353696 r2875024 27 27 return; 28 28 29 if ($_SERVER['REQUEST_METHOD'] === 'POST') { 30 if (!check_admin_referer("cformsglobal")) 31 return; 32 } 33 29 34 $style = $cformsSettings['global']['cforms_css']; 30 35 … … 82 87 <form enctype="multipart/form-data" id="cformsdata" name="mainform" method="post"> 83 88 <?php 89 wp_nonce_field("cformsglobal"); 84 90 if (isset($_POST['showinfo'])) { 85 91 echo '<p>' . __('All the global and per form settings are listed here as JSON. You can use this as a backup tool if you like.', 'cforms2') . '</p>'; … … 304 310 <fieldset class="cf_ed_main"> 305 311 <form name="deleteform" method="post"> 312 <?php wp_nonce_field("cformsglobal"); ?> 306 313 <div id="cf_target_del"><?php _e('Warning!', 'cforms2'); ?></div> 307 314 <div class="controls"> -
cforms2/trunk/cforms-options.php
r2353696 r2875024 27 27 return; 28 28 29 if ($_SERVER['REQUEST_METHOD'] === 'POST') { 30 if (!check_admin_referer("cformsdata")) 31 return; 32 } 29 33 30 34 $formcount = count(Cforms2\FormSettings::forms()); … … 265 269 <input type="hidden" name="no" value="<?php echo $no_disp; ?>"/> 266 270 <input type="hidden" name="noSub" value="<?php echo $no_disp; ?>" /> 271 <?php wp_nonce_field("cformsdata"); ?> 267 272 268 273 <p> -
cforms2/trunk/cforms.php
r2353696 r2875024 21 21 * Description: cformsII is a customizable, flexible and powerful form plugin including simple spam protection, multi-step forms, role manager support and custom themes. 22 22 * Author: Oliver Seidel, Bastian Germann 23 * Version: 15.0. 423 * Version: 15.0.5 24 24 * Text Domain: cforms2 25 25 */ 26 26 namespace Cforms2; 27 27 28 define('CFORMS2_VERSION', '15.0. 4');28 define('CFORMS2_VERSION', '15.0.5'); 29 29 30 30 // Debug message handling. -
cforms2/trunk/readme.txt
r2729745 r2875024 18 18 If you want to use plugin versions older than 14.6.3, you should rename the directory containing the plugin from "cforms2" to "cforms". But bear in mind that old versions should not be used in public systems, because they contain [known serious vulnerabilities](https://wpvulndb.com/plugins/cforms) that are exploited in the wild. 19 19 20 The [current security baseline version](https://wpvulndb.com/plugins/cforms2) is 15.0. 3.20 The [current security baseline version](https://wpvulndb.com/plugins/cforms2) is 15.0.5. 21 21 22 22 … … 112 112 == Upgrade Notice == 113 113 114 = 15.0. 4=114 = 15.0.5 = 115 115 The tracking database feature and its view are removed with cformsII 15.0+. Your data still exists in the database. Please have a look at CFDB plugin as a replacement. 116 116 117 117 118 118 == Changelog == 119 120 = 15.0.5 = 121 122 * Fix CSRF by introducing nonces to admin forms (CVE-2023-25449) 119 123 120 124 = 15.0.4 =
Note: See TracChangeset
for help on using the changeset viewer.