Description (CNA)
AVideo through 29.0 contains an insecure direct object reference (IDOR) vulnerability in objects/categoryDeleteAssets.json.php. The endpoint validates only the Category::canCreateCategory() capability and a CSRF nonce before passing the attacker-supplied $_REQUEST['id'] to Category::deleteAssets(), which recursively removes {systemRootPath}videos/categories/assets/{id}/. It omits the Category::userCanEditCategory() ownership check enforced by the sibling Category::delete(). On installations where the non-default usersCanCreateNewCategories setting is enabled, an authenticated non-admin user with the canUpload capability can send a POST request with an arbitrary category ID and recursively delete any category's on-disk asset directory (icons/images). Category records and videos are not deleted. As of the advisory publication no patched version was available.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| WWBN / AVideo | affected 0 through 29.0 |
CWE
CWE-639
References
- https://github.com/WWBN/AVideo/security/advisories/GHSA-gf2v-r8wx-ghqj
- https://www.vulncheck.com/advisories/avideo-through-29.0-cross-user-category-asset-deletion-via-missing-ownership-check
ADP enrichment
No English description supplied.