Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
DebugKit: MailPreview contains unsafe reflection
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Vulnerability Type
使用外部可控制的输入来选择类或代码(不安全的反射)
Vulnerability Title
CakePHP DebugKit 代码注入漏洞
Vulnerability Description
CakePHP DebugKit是CakePHP团队的一款调试工具包。 CakePHP DebugKit 4.10.3之前版本和5.2.4之前版本存在安全漏洞,该漏洞源于src/Controller/MailPreviewController.php文件中的MailPreview功能接受路由控制的previewName值,未拒绝命名空间分隔符或验证类继承,导致攻击者可以执行任意构造函数并泄露有限应用信息。
CVSS Information
N/A
Vulnerability Type
N/A