{"items":[{"id":"NVI-00004510","kind":"vulnerability","title":"AVideo: CSRF in userSavePhoto.php Allows Cross-Origin Overwrite of Authenticated Users' Profile Photos with Arbitrary Content","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-jw8g-5j46-44rp","CVE-2026-43877"],"plain_summary":"OSV carries this publisher advisory for wwbn/avideo. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-bd651253562606881e8369896e278507"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.141%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.03378. Missing scores are unknown.","source_id":"sr-bd651253562606881e8369896e278507"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-69207562625f4e299c91def08fdb32cd","url":"https://github.com/advisories/GHSA-jw8g-5j46-44rp","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-jw8g-5j46-44rp","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.970Z"},{"id":"sr-bd651253562606881e8369896e278507","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-43877","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.378Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-69207562625f4e299c91def08fdb32cd"],"technology":"wwbn/avideo","known_exclusions":[],"conditions_summary":"## Summary\n\n`objects/userSavePhoto.php` is a legacy profile-photo endpoint that accepts a base64 POST parameter and writes the decoded bytes to `videos/userPhoto/photo.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.\n\n## Details\n\nHandler (`objects/userSavePhoto.php`, 51 lines total):\n\n```php\n// line 12 - only access control\nif (!User::isLogged()) {\n    $obj->msg = __(\"You must be logged\");\n    die(json_encode($obj));\n}\n// ...\n// line 29 - unvalidated base64 from POST\n$fileData = base64DataToImage($_POST['imgBase64']);\n// line 30 - deterministic filename tied to the VICTIM's session\n$fileName = 'photo'. User::getId().'.png';\n$photoU","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 29.0"]}],"null_published_at":"2026-11-06T21:03:47.995Z","source_updated_at":"2026-05-13T14:33:40.154Z","source_disclosed_at":"2026-05-05T19:13:03.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:30.970Z"},{"id":"NVI-00004510","kind":"vulnerability","title":"AVideo: CSRF in userSavePhoto.php Allows Cross-Origin Overwrite of Authenticated Users' Profile Photos with Arbitrary Content","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-jw8g-5j46-44rp","CVE-2026-43877"],"plain_summary":"OSV carries this publisher advisory for wwbn/avideo. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-69207562625f4e299c91def08fdb32cd"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-69207562625f4e299c91def08fdb32cd","url":"https://github.com/advisories/GHSA-jw8g-5j46-44rp","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-jw8g-5j46-44rp","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.970Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-69207562625f4e299c91def08fdb32cd"],"technology":"wwbn/avideo","known_exclusions":[],"conditions_summary":"## Summary\n\n`objects/userSavePhoto.php` is a legacy profile-photo endpoint that accepts a base64 POST parameter and writes the decoded bytes to `videos/userPhoto/photo.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.\n\n## Details\n\nHandler (`objects/userSavePhoto.php`, 51 lines total):\n\n```php\n// line 12 - only access control\nif (!User::isLogged()) {\n    $obj->msg = __(\"You must be logged\");\n    die(json_encode($obj));\n}\n// ...\n// line 29 - unvalidated base64 from POST\n$fileData = base64DataToImage($_POST['imgBase64']);\n// line 30 - deterministic filename tied to the VICTIM's session\n$fileName = 'photo'. User::getId().'.png';\n$photoU","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 29.0"]}],"null_published_at":"2026-10-31T22:12:57.129Z","source_updated_at":"2026-05-13T14:33:40.154Z","source_disclosed_at":"2026-05-05T19:13:03.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:30.970Z"}],"next_cursor":null,"snapshot_revision":"42594"}