Skip to content

Commit e67e673

Browse files
committed
Fix false positive (CIDRAM/CIDRAM#620).
1 parent 8cae647 commit e67e673

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/module_cookies.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Optional cookie scanner module (last modified: 2023.12.01).
11+
* This file: Optional cookie scanner module (last modified: 2025.04.17).
1212
*
1313
* False positive risk (an approximate, rough estimate only): « [x]Low [ ]Medium [ ]High »
1414
*
@@ -58,10 +58,10 @@
5858
$Trigger(preg_match(
5959
'/(?:_once|able|as(c|hes|sert)|c(hr|ode|ontents)|e(cho|regi|scape|va' .
6060
'l)|ex(ec|ists)?|f(ile|late|unction)|hex2bin|get(c|csv|ss?)?|i(f|ncl' .
61-
'ude)|len(gth)?|nt|open|p(ress|lace|lode|uts)|print(f|_r)?|re(ad|pla' .
62-
'ce|quire|store)|rot13|s(tart|ystem)|w(hil|rit)e)["\':(\[{<$]/i',
61+
'ude)|len(gth)?|open|p(ress|lace|lode|uts)|print(f|_r)?|re(ad|place|' .
62+
'quire|store)|rot13|s(tart|ystem)|w(hil|rit)e)["\':(\[{<$]/i',
6363
$ThisPairN
64-
), 'Command injection detected in cookie'); // 2017.01.02
64+
), 'Command injection detected in cookie'); // 2017.01.02 mod 2025.04.17
6565
$Trigger(
6666
preg_match('/\$(?:globals|_(cookie|env|files|get|post|request|se(rver|ssion)))/', $ThisPairN),
6767
'Command injection detected in cookie'

modules/modules.dat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ module_botua.php:
221221
module_cookies.php:
222222
Name: "Optional cookie scanner module"
223223
False Positive Risk: "Low"
224-
Version: "2023.334.0"
224+
Version: "2025.106.0"
225225
Dependencies:
226226
PHP: "^5.4|^7|^8"
227227
CIDRAM Core: "^1.13.1|^2.0.1"
@@ -233,7 +233,7 @@ module_cookies.php:
233233
To:
234234
- "module_cookies.php"
235235
Checksum:
236-
- "5734327bbb5899dd9b7fdf3936f617fc6d772cba7825348b35f535fad84babec:8368"
236+
- "52384de112c8642bf5f138f94fe136a923d71043b30ad4e13ca91d6d12bd08e6:8380"
237237
Used with: "modules"
238238
Reannotate: "modules.dat"
239239
module_extras.php:

0 commit comments

Comments
 (0)