Vvveb: Path Traversal in nextRestore() and nextBackup()
What fixes it
- 1.0.8.7 givanz/vvvebGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Vvveb is a powerful and easy to use CMS with page builder to build websites, blogs or ecommerce stores. In versions 1.0.8.6 and prior, the nextRestore() and nextBackup() functions in the backup controller accept a file GET parameter and concatenate it directly to DIR_BACKUP without calling sanitizeFileName(). This allows an authenticated administrator to read arbitrary files on the server (via nextRestore) and write SQL dump content to arbitrary locations (via nextBackup). This is inconsistent with the sibling functions restore(), delete(), and download() which all correctly call sanitizeFileName() first. This issue has been patched via commit aa29cb0.
Text from CVE List
Affected versions 2
- Vvvebaffected: < aa29cb013e5037d75f6780741bac6b69b9d403a2CVE List
- givanz/vvveb1.0.8.6GitHub