phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 Cross-Tenant Attachment Deletion
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| thorstenphpMyFAQ |
< 4.1.12→ 4.1.12 ≥ 4.2.0-alpha, < 4.2.0-RC.2→ 4.2.0-RC.2 |
4.1.12 4.2.0-RC.2 |
Original description The description as published by the source.
phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an improper reference counting flaw on multisite deployments, allowing editors to delete other instances' attachment files. Because linkedRecords() counts only the local faqattachment table, deleting an attachment with shared md5 content makes File::delete() unlink the shared blob, destroying another instance's files.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com