The File Manager (wp-file-manager) plugin before 6.9 for WordPress allows remote attackers to upload and execute arbitrary PHP code because it renames an unsafe example elFinder connector file to have the .php extension. This, for example, allows attackers to run the elFinder upload (or mkfile and put) command to write PHP code into the wp-content/plugins/wp-file-manager/lib/files/ directory. This was exploited in the wild in August and September 2020.
Recent assessments:
space-r7 at November 10, 2020 3:10pm UTC reported:
Rating this as very high as this is a widespread Wordpress plugin, and the vulnerability is easily exploitable. The vulnerability is due to an example file, lib/php/connector.minimal.php
, being left over in installations of the plugin. The file enables unauthenticated execution of select commands including an upload
command that allows for file upload which can lead to code execution on the server.
Note that disabling the plugin in Wordpress does not fix the vulnerability. The plugin should either be removed or updated to the patched version, which is v6.9
.
wvu-r7 at September 29, 2020 8:28pm UTC reported:
Rating this as very high as this is a widespread Wordpress plugin, and the vulnerability is easily exploitable. The vulnerability is due to an example file, lib/php/connector.minimal.php
, being left over in installations of the plugin. The file enables unauthenticated execution of select commands including an upload
command that allows for file upload which can lead to code execution on the server.
Note that disabling the plugin in Wordpress does not fix the vulnerability. The plugin should either be removed or updated to the patched version, which is v6.9
.
Assessed Attacker Value: 5
Assessed Attacker Value: 5Assessed Attacker Value: 5
packetstormsecurity.com/files/160003/WordPress-File-Manager-6.8-Remote-Code-Execution.html
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25213
github.com/w4fz5uck5/wp-file-manager-0day
hotforsecurity.bitdefender.com/blog/wordpress-websites-attacked-via-file-manager-plugin-vulnerability-24048.html
plugins.trac.wordpress.org/changeset/2373068
seravo.com/blog/0-day-vulnerability-in-wp-file-manager
seravo.com/blog/0-day-vulnerability-in-wp-file-manager/
wordfence.com/blog/2020/09/700000-wordpress-users-affected-by-zero-day-vulnerability-in-file-manager-plugin
wordfence.com/blog/2020/09/700000-wordpress-users-affected-by-zero-day-vulnerability-in-file-manager-plugin/
wordpress.org/plugins/wp-file-manager#developers
wordpress.org/plugins/wp-file-manager/#developers
zdnet.com/article/millions-of-wordpress-sites-are-being-probed-attacked-with-recent-plugin-bug
zdnet.com/article/millions-of-wordpress-sites-are-being-probed-attacked-with-recent-plugin-bug/