CVE-2026-43877 WWBN AVideo: CSRF in userSavePhoto.php Allows Cross-Origin Overwrite of Any Logged-in User's Profile Photo with Arbitrary Bytes
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
Description
WWBN AVideo is an open source video platform. In versions up to and including 29.0, objects/userSavePhoto.php is a legacy profile-photo endpoint that accepts a base64 POST parameter and writes the decoded bytes to videos/userPhoto/photo<users_id>.png. Its only access control is User::isLogged(). It does not end in .json.php, so it is excluded from the project's global autoCSRFGuard (which is suffix-scoped in objects/include_config.php). There is no CSRF token, no Origin/Referer check, and no MIME validation of the decoded bytes. Because AVideo's default cookie policy is SameSite=None; Secure on HTTPS (objects/functionsPHP.php:227), an attacker who lures a logged-in user to a malicious page can overwrite that user's profile photo with arbitrary bytes and also triggers a site-wide clearCache(true) on every forged request. Commit 9c38468041505e637101c5943c5370c68f48e3ac contains an updated fix.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| WWBN AVideo(Packagist) | <= 29.0; = 10.4; = 10.8; = 11 +15 more | after 29.0 | Fixed |
| WWBN AVideo | = <= 29.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| WWBN AVideo(Packagist) | <= 29.0 | No fix listed |
| WWBN AVideo(Packagist) | = 10.4 | No fix listed |
| WWBN AVideo(Packagist) | = 10.8 | No fix listed |
| WWBN AVideo(Packagist) | = 11 | No fix listed |
| WWBN AVideo(Packagist) | = 11.1 | No fix listed |
| WWBN AVideo(Packagist) | = 11.1.1 | No fix listed |
| WWBN AVideo(Packagist) | = 11.5 | No fix listed |
| WWBN AVideo(Packagist) | = 11.6 | No fix listed |
| WWBN AVideo(Packagist) | = 12.4 | No fix listed |
| WWBN AVideo(Packagist) | = 14.3 | No fix listed |
| WWBN AVideo(Packagist) | = 14.3.1 | No fix listed |
| WWBN AVideo(Packagist) | = 14.4 | No fix listed |
| WWBN AVideo(Packagist) | = 18.0 | No fix listed |
| WWBN AVideo(Packagist) | = 21.0 | No fix listed |
| WWBN AVideo(Packagist) | = 22.0 | No fix listed |
| WWBN AVideo(Packagist) | = 24.0 | No fix listed |
| WWBN AVideo(Packagist) | = 25.0 | No fix listed |
| WWBN AVideo(Packagist) | = 26.0 | No fix listed |
| WWBN AVideo(Packagist) | = 29.0 | No fix listed |
| WWBN AVideo | = <= 29.0 | No fix listed |
References
- https://github.com/WWBN/AVideo/security/advisories/GHSA-jw8g-5j46-44rp exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/WWBN/AVideo/commit/9c38468041505e637101c5943c5370c68f48e3ac patch
- github.com product
- github.com