Arbitrary File Upload Affecting microweber/microweber package, versions <1.2.3


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.05% (19th percentile)
Expand this section
NVD
7.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-MICROWEBERMICROWEBER-570048
  • published 21 May 2020
  • disclosed 21 May 2020
  • credit Unknown

How to fix?

Upgrade microweber/microweber to version 1.2.3 or higher.

Overview

microweber/microweber is a new generation CMS with drag and drop.

Affected versions of this package are vulnerable to Arbitrary File Upload because admin/view:modules/load_module:users#edit-user=1 does not verify that the file extension (used with the Add Image option on the Edit User screen) corresponds to an image file.

PoC

  1. Login into your Microweber account
  2. Go to admin page
  3. Go to Users -> My Profile -> Edit User
  4. Try to Upload any image extension. It will successfully update.
  5. Now, download any web shell from google and modify the extension.
  6. capture the request of upload profile in burp and modify image extension (Eg- test.php.png)
  7. It will successfully upload the web shell.

References