Description
An authenticated local file inclusion vulnerability exists in Microweber CMS versions <= 1.2.11 through misuse of the backup management API. Authenticated users can abuse the /api/BackupV2/upload and /api/BackupV2/download endpoints to read arbitrary files from the underlying filesystem. By specifying an absolute file path in the src parameter of the upload request, the server may relocate or delete the target file depending on the web service user’s privileges. The corresponding download endpoint can then be used to retrieve the file contents, effectively enabling local file disclosure. This behavior stems from insufficient validation of user-supplied paths and inadequate restrictions on file access and backup logic.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Microweber Ltd. CMS
Default version status: unaffected
0 to ≤ 1.2.11affected
pkg:composer/microweber/microweberReferences
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/auxiliary/gather/microweber_lfi.rb ↗
- https://github.com/microweber/microweber ↗
- https://huntr.com/bounties/09218d3f-1f6a-48ae-981c-85e86ad5ed8b ↗
- https://github.com/microweber/microweber/commit/98d025467128ecc24195dcb56c533febc3c91af6 ↗
- https://github.com/microweber/microweber/commit/572bdc36b5b47923790016f6b961c8df53226855 ↗
- https://vulncheck.com/advisories/microweber-cms-lfi ↗