Skip to content
Path traversal Disclosed report Intermediate CVE-2025-34076

Microweber CMS API has authenticated local file inclusion vulnerability

An authenticated user could abuse the backup upload and download API endpoints to read arbitrary files from the server filesystem by supplying an absolute path. The upload endpoint may also move or delete the target file depending on the web service user's privileges.

microweber/microweber

Originally disclosed on huntr

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.

From the GitHub Advisory Database (GHSA-j64v-xh5w-8hqj, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely insufficient validation of user-supplied file paths and inadequate restrictions on file access in the backup logic.

Impact

An authenticated user could read arbitrary files from the server and, depending on the web service user's privileges, may also move or delete the target file.

What the attacker needed

An authenticated account

The fix

The vulnerability was fixed in Microweber CMS version 1.2.11 by properly validating user-supplied paths and restricting file access in the backup logic.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A logged-in user could tell the backup feature to use any file on the server, not just backup files. The server then let them download that file, so they could read things they should not see. This is called local file inclusion, meaning the program uses a file path supplied by the user without checking it is allowed.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from microweber/microweber

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.