phpMyFAQ cross-instance file deletion in attachment handling
thorsten phpMyFAQ
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| thorsten phpMyFAQ |
|
|
Original description
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.
From the CVE record · VulnCheck