DebugKit: MailPreview contains unsafe reflection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cakephp | debug_kit | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cakephp | Debug Kit |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-p46m-g734-vpc4 | cakephp/debug_kit: MailPreview contains unsafe reflection |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.536% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Cakephp
Cakephp debug Kit |
|
| Vendors & Products |
Cakephp
Cakephp debug Kit |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | DebugKit provides a debugging toolbar for CakePHP applications. Prior to 4.10.3 and 5.2.4, the DebugKit MailPreview feature in src/Controller/MailPreviewController.php accepts a route-controlled previewName value in findPreview and passes the resolved class from App::className() to constructor execution without rejecting namespace separators or verifying that the class extends DebugKit\Mailer\MailPreview. An attacker able to access DebugKit while debug mode is enabled and the request hostname is local or allowlisted can select an unintended application class through the mail-preview preview route, resulting in arbitrary constructor execution and limited disclosure of application information. This issue is fixed in versions 4.10.3 and 5.2.4. | |
| Title | DebugKit: MailPreview contains unsafe reflection | |
| Weaknesses | CWE-470 | |
| References |
|
|
| Metrics |
cvssV3_1
|