Quote from: dbs on October 22, 2026, 06:48:23 AMYou're right, done
You state that website baker has no need for any patches concerning the CVE-s***.
But
1. `admin/pages/sections.php`
PHP files are loaded through dynamically constructed paths when page sections are added or deleted:
```php
require(WB_PATH.'/modules/'.$modulname.'/delete.php');
require(WB_PATH.'/modules/'.$module.'/add.php');
```
Although the module name is partially sanitized, there is no strict verification that:
- the module is registered;
- the resolved file remains inside the intended module directory;
- the target is a regular, permitted PHP file.
This remains an input-driven fatal path and a potential trigger for CVE-2026-109619.
2. `admin/media/upload.php`
The upload function increases PHP limits to values including a 400 MB upload size and 512 MB of memory. Large or specially crafted files may therefore consume substantial memory and processing time.
Clearly enforced central limits are missing for:
- file size;
- image dimensions;
- total pixel count;
- archive size and file count;
- total extracted data;
- processing time.
This may lead to memory, storage, or CPU exhaustion.
3. SVG processing
SVG files are read and processed. SVG is XML-based active content, not a regular raster image.
Without strict validation, SVG files can contain scripts, external references, deeply nested XML, or excessive amounts of data. SVG files should either be rejected or processed using a demonstrably secure sanitizer.
4. Archive extraction
The media manager supports extracting ZIP archives. Strict limits must be enforced before and during extraction.
Required checks include:
- maximum number of files;
- maximum compressed file size;
- maximum total extracted size;
- maximum compression ratio;
- maximum directory depth;
- blocking `../` paths and absolute paths;
- rejecting links and special file types.
Without these checks, ZIP bombs, path traversal, and uncontrolled workloads are possible.
5. `admin/media/thumb.php`
GD and Imagick are used to generate thumbnails. The file does not sufficiently determine the required workload before fully decoding an image.
A relatively small image file can consume a large amount of memory after decompression. Limits should be enforced for:
- width and height;
- total pixel count;
- number of frames or pages;
- file size;
- available memory;
- processing time.
6. `framework/helpers/Upload.php`
The upload helper increases the memory limit and leaves important image limits unrestricted when no configuration value has been set.
Other components using this helper can consequently process excessively large or expensive input. Secure default limits should always apply, even when the administrator has not configured them.
7. Search functionality
The search functionality lacks strict upper bounds for:
- query length;
- number of search terms;
- number of sections or paths being searched;
- database rows processed;
- number of results;
- maximum processing time.
A complex search request may therefore cause excessive database and PHP processing.
8. Page and menu trees
Functions that traverse pages, parent pages, and menu structures do not always have a demonstrable maximum depth or result limit.
Corrupted, circular, or exceptionally large structures may cause excessive recursion, memory consumption, or prolonged processing.
9. Database repair
Database repair functions may process large numbers of tables or records in a single operation.
Some execution paths lack fixed limits, batching, and time boundaries. A single administrative operation may therefore cause timeouts or memory exhaustion.
10. User and administration lists
Administrative screens may retrieve or process large numbers of records at once. Without pagination or fixed result limits, memory consumption grows with the database.
Results should be limited and processed using pages or batches.
11. Request dispatcher and input handling
Central request handling should restrict the length and quantity of incoming parameters, arrays, and text values.
Type validation alone is insufficient. Input size, item counts, nesting depth, and processing time must also be limited.
12. Password and security functions
Security functions should limit input length before performing expensive operations such as hashing and comparisons.
Excessively large input can otherwise cause unnecessary memory and CPU consumption.
13. Installation directory
The `install` directory is part of the complete distribution and is used for installation and upgrades. Its presence is not automatically a vulnerability.
After installation, verify that:
- installation cannot be restarted;
- direct access is blocked correctly;
- configuration files cannot be recreated;
- only authorized administrators can perform upgrades.
14. Standard modules
The distribution includes standard modules such as `form`, `droplets`, CKEditor, and several upload or import functions.
Every unused module increases the attack surface. Modules that are not required should not be installed or should be removed completely. Modules that remain in use should be reviewed separately for upload limits, dynamic includes, import functions, and unbounded processing.
15. PHP 8.5 compatibility
The official package information lists PHP support up to PHP 8.4.10. PHP 8.5 is not explicitly listed.
When using PHP 8.5, installation, administration, media processing, the editor, email functionality, scheduled tasks, and all installed modules should be functionally tested. The installed PHP version must also demonstrably contain the security fixes for CVE-2026-109618 and CVE-2026-109619.