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
UsersWP <= 1.2.70 - Authenticated (Subscriber+) Arbitrary File Deletion
Vulnerability Description
The UsersWP plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.2.70 via the upload_file_remove() AJAX handler. The plugin stores the value of an account 'file' form field taken directly from $_POST when no real $_FILES upload is provided (process_account() calls uwp_validate_fields() and array_merges the result with the empty output of UsersWP_Files::validate_uploads()). At storage time the value is only checked with validate_file(), which passes any string that does not contain a literal '../'. When the value is later processed by upload_file_remove(), it is again gated with validate_file() and then normalized through uwp_get_file_relative_url(); that helper performs a global str_replace() of the uploads base URL against the stored URL, allowing a crafted URL containing embedded '..<uploads-baseurl>' tokens to collapse into '../../' traversal sequences after the last validation. The transformed value is then appended to the uploads base directory and passed to wp_delete_file() without any canonical containment check. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the affected site's server (including wp-config.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
WordPress UsersWP 路径遍历漏洞
Vulnerability Description
WordPress UsersWP是WordPress基金会开源的一款用户管理插件。 WordPress UsersWP 1.2.70及之前版本存在路径遍历漏洞,该漏洞源于upload_file_remove() AJAX处理器对账户'file'表单字段处理不当,仅用validate_file()检查输入,并在uwp_get_file_relative_url()中通过替换上传基础URL使特制URL折叠为目录遍历序列,最终未进行规范包含检查就传入wp_delete_file(),可能导致具有Subscri
CVSS Information
N/A
Vulnerability Type
N/A