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
Premmerce Dev Tools <= 2.0 - Missing Authorization to Authenticated (Subscriber+) Remote Code Execution via Plugin Creation
Vulnerability Description
The Premmerce Dev Tools plugin for WordPress is vulnerable to Remote Code Execution via missing authorization in versions up to and including 2.0. This is due to the 'generatePluginHandler' function lacking any authorization check before processing user-supplied POST data, combined with the 'createFromStub' function performing unsanitized string substitution of the 'premmerce_plugin_namespace' parameter directly into PHP stub files written to the wp-content/plugins/ directory. An attacker can inject a semicolon followed by arbitrary PHP code into the namespace parameter, causing the generated plugin file to contain and execute that code when accessed via HTTP. This makes it possible for authenticated attackers with Subscriber-level access and above to create arbitrary PHP files on the server and achieve remote code execution.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
危险类型文件的不加限制上传
Vulnerability Title
Premmerce Dev Tools 任意文件上传漏洞
Vulnerability Description
Premmerce Premmerce Dev Tools是Premmerce公司的一款面向WordPress的开发者工具插件。 Premmerce Dev Tools 2.0及之前版本存在任意文件上传漏洞,该漏洞源于缺少授权,'generatePluginHandler' 函数在处理POST数据前未进行授权检查,'createFromStub' 函数在替换 'premmerce_plugin_namespace' 参数时未进行清理,可能导致远程代码执行。
CVSS Information
N/A
Vulnerability Type
N/A