Skip to content

Commit b5784b7

Browse files
committed
Modules update.
1 parent 37323eb commit b5784b7

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

modules/module_botua.php

Lines changed: 7 additions & 7 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: Bot user agents module (last modified: 2025.07.26).
11+
* This file: Bot user agents module (last modified: 2025.07.27).
1212
*
1313
* False positive risk (an approximate, rough estimate only): « [ ]Low [x]Medium [ ]High »
1414
*/
@@ -230,12 +230,12 @@
230230
'^(?:[aim]$|(?!linkedinbot).*http-?(?:agent|client))|-xpanse|' .
231231
'a(?:bonti|ccserver|cme.spider|dreview/\d|jbaxy|nthill$|nyevent-http|ppengine|xios)|' .
232232
'b(?:igbozz|itsight|lackbird|logsearch|logbot|salsa)|' .
233-
'c(?:astlebot|atexplorador|k=\{\}|lickagy|liqzbot|ms-?checker|ontextad|orporama|ortex/\d|rowsnest|yberpatrol)|' .
233+
'c(?:astlebot|atexplorador|cleaner|k=\{\}|lickagy|liqzbot|ms-?checker|ontextad|orporama|ortex/\d|rowsnest|yberpatrol)|' .
234234
'd(?:eepfield|le_spider|nbcrawler|omainappender|umprendertree)|' .
235235
'expanse|' .
236236
'f(?:lightdeckreportsbot|luid/|orms\.gle)|' .
237237
'g(?:atheranalyzeprovide|enomecrawler|dnplus|imme60|lobalipv[46]space|ooglebenjojo|tbdfffgtb.?$)|' .
238-
'infrawatch|internetcensus|ips-agent|isitwp|' .
238+
'i(?:nfrawatch|nternet(?:census|measurement)|ps-agent|sitwp)|' .
239239
'k2spider|kemvi|' .
240240
'l(?:9scan|eak(?:\.info|ix)|exxebot|ivelapbot|wp)|' .
241241
'm(?:acinroyprivacyauditors|etaintelligence|ultipletimes)|' .
@@ -253,7 +253,7 @@
253253
) || preg_match(
254254
'~^Mozilla/5\.0( [A-Za-z]{2,5}/0\..)?$~',
255255
$CIDRAM['BlockInfo']['UA']
256-
), 'Unauthorised'); // 2023.09.15 mod 2025.07.24
256+
), 'Unauthorised'); // 2023.09.15 mod 2025.07.27
257257

258258
if ($Trigger(preg_match('~ivre-|masscan~', $UANoSpace), 'Port scanner and synflood tool detected')) {
259259
$CIDRAM['Reporter']->report([14, 15, 19], ['MASSCAN port scanner and synflood tool detected.'], $CIDRAM['BlockInfo']['IPAddr']);
@@ -294,12 +294,12 @@
294294
} // 2017.02.25
295295

296296
if ($Trigger(preg_match(
297-
'~foregenix|modat|nuclei|isscyberrisk|projectdiscovery|sslyze|threatview~',
298-
$UA
297+
'~authorizedsecurity|foregenix|modat|nuclei|isscyberrisk|projectdiscovery|securityscanner|sslyze|threatview~',
298+
$UANoSpace
299299
), 'Unauthorised vulnerability scanner detected')) {
300300
$CIDRAM['Reporter']->report([15, 19, 21], ['Unauthorised vulnerability scanner detected.'], $CIDRAM['BlockInfo']['IPAddr']);
301301
$CIDRAM['Tracking options override'] = 'extended';
302-
} // 2023.06.16 mod 2025.07.24
302+
} // 2023.06.16 mod 2025.07.27
303303

304304
$Trigger(preg_match('~^python/|aiohttp/|\.post0~', $UANoSpace), 'Bad context (Python/AIO clients not permitted here)'); // 2021.05.18
305305

modules/module_extras.php

Lines changed: 6 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 security extras module (last modified: 2025.07.26).
11+
* This file: Optional security extras module (last modified: 2025.07.27).
1212
*
1313
* False positive risk (an approximate, rough estimate only): « [ ]Low [x]Medium [ ]High »
1414
*/
@@ -158,7 +158,6 @@
158158

159159
/** Probing for common vulnerabilities and exploits. */
160160
if (
161-
$Trigger(preg_match('~/wp-json/wp/v2/users(?:$|[/?])~', $LCNrURI), $Exploit = 'CVE-2017-5487') || // 2025.07.21
162161
$Trigger(preg_match('~/fckeditor/editor/filemanager(?:$|[/?])~', $LCNrURI), $Exploit = 'FCKeditor') || // 2025.07.20
163162
$Trigger(preg_match('~/modules/mod_simplefileuploadv1\.3/elements(?:$|[/?])~', $LCNrURI), $Exploit = 'CVE-2011-5148') || // 2025.07.20
164163
$Trigger(preg_match('~/ecp/current/exporttool/microsoft.exchange.ediscovery.exporttool.application(?:$|[/?])~', $LCNrURI), $Exploit = 'CVE-2021-28481') || // 2025.07.17
@@ -272,9 +271,9 @@
272271
} // 2024.05.02 mod 2025.03.18
273272

274273
/** Probing for env file. */
275-
if ($Trigger(preg_match('~(?:^|[/?=])(?:config)?\.env(?:\.(?:example|local|production|save))?(?:$|[/?])~', $LCNrURI), 'Probing for env file')) {
274+
if ($Trigger(preg_match('~(?:^|[/?=])(?:config)?\.env(?:\.[\da-z]+)?(?:$|[/?])~', $LCNrURI), 'Probing for env file')) {
276275
$CIDRAM['Reporter']->report([15, 21], ['Caught probing for env file.'], $CIDRAM['BlockInfo']['IPAddr']);
277-
} // 2025.03.18 mod 2025.05.24
276+
} // 2025.03.18 mod 2025.07.27
278277

279278
/** Attempts by broken bot to incorrectly access ReCaptcha files (treating reference to remote resource as local). */
280279
$Trigger(preg_match('~/www\.google\.com/recaptcha/api\.js(?:$|[/?])~', $LCNrURI), 'Bad request'); // 2025.03.03
@@ -283,6 +282,9 @@
283282
$CIDRAM['Reporter']->report([15], ['Misconfigured bot caught trying to scrape WordPress media libraries.'], $CIDRAM['BlockInfo']['IPAddr']);
284283
} // 2015.07.12
285284

285+
$Trigger(preg_match('~/(?:appsettings|config)\.json(?:$|[/?])~', $LCNrURI), 'Unauthorised'); // 2025.07.27
286+
$Trigger(preg_match('~/\.htaccess(?:$|[/?])~', $LCNrURI), 'Unauthorised'); // 2025.07.27
287+
$Trigger(preg_match('~/docker-compose\.yml(?:$|[/?])~', $LCNrURI), 'Unauthorised'); // 2025.07.27
286288
$Trigger(preg_match('~/phpunit/phpunit\.xsd(?:$|[/?])~', $LCNrURI), 'Unauthorised'); // 2025.07.16
287289
}
288290

modules/modules.dat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ module_bgpview.php:
203203
module_botua.php:
204204
Name: "Bot user agents module"
205205
False Positive Risk: "Medium"
206-
Version: "2025.206.0"
206+
Version: "2025.207.0"
207207
Dependencies:
208208
PHP: "^5.4|^7|^8"
209209
CIDRAM Core: "^1.13.1|^2.0.1"
@@ -215,7 +215,7 @@ module_botua.php:
215215
To:
216216
- "module_botua.php"
217217
Checksum:
218-
- "1fa1879055a4a4979e2c10942b713ff89faf3c258469a8e53ddfced3e7a49d1a:27309"
218+
- "1de96dd6d157e6f84df90511f45bfd1c246781a33a8a16c431ba4428c2d4a59e:27376"
219219
Used with: "modules"
220220
Reannotate: "modules.dat"
221221
module_cookies.php:
@@ -239,7 +239,7 @@ module_cookies.php:
239239
module_extras.php:
240240
Name: "Optional security extras module"
241241
False Positive Risk: "Medium"
242-
Version: "2025.206.0"
242+
Version: "2025.207.0"
243243
Dependencies:
244244
PHP: "^5.4|^7|^8"
245245
CIDRAM Core: "^1.13.1|^2.0.1"
@@ -254,7 +254,7 @@ module_extras.php:
254254
- "module_extras.php"
255255
- "module_extras.yaml"
256256
Checksum:
257-
- "6d6a37ede295ce4562f3e0e40dded87945086e76f19a0be740c800e9570cdc90:38097"
257+
- "3a90191df4328cc170636f18f08cbdc1db936a175f95e1015ed89fa241b6b1a2:38266"
258258
- "7b891d1fa4b1c52c410220bc758e8cb7064bd6040430fb149a5b60e9ae2e0838:890"
259259
Used with: "modules"
260260
Reannotate: "modules.dat"

0 commit comments

Comments
 (0)