{"answers":{"affected":"2 open source packages ship an affected version, including wwbn/avideo. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31819 exists.","fix":"Upgrade wwbn/avideo to 14.3 or later.","what":"CVE-2024-31819 is a critical code injection vulnerability in Wwbn Avideo, published on 10 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-31819 and fix it if it is affected.\n\nWhat it is: CVE-2024-31819 is a critical code injection vulnerability in Wwbn Avideo, published on 10 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31819 exists.\n\nAffected packages and fixed versions:\n- wwbn/avideo (Packagist): affected from 12.4; fixed in 14.3\n- wwbn/avideo (Packagist): affected from 12.4; fixed in 14.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-31819/ (Markdown: https://insights.sbomify.com/CVE-2024-31819/index.md)","id":"CVE-2024-31819","markdown":"https://insights.sbomify.com/CVE-2024-31819/index.md","name":"CVE-2024-31819","record":{"aliases":["GHSA-mv5w-wr5c-575p"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Video streaming platform","requires_auth":"none","summary":"Remote attackers can execute arbitrary code in WWBN AVideo via the systemRootPath parameter in submitIndex.php.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"avideo","vendor":"wwbn"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"An issue in WWBN AVideo v.12.4 through v.14.2 allows a remote attacker to execute arbitrary code via the systemRootPath parameter of the submitIndex.php component.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2024-03-27","github_poc":2,"max_poc_stars":5,"metasploit":1,"nuclei":0,"refs":[{"date":"2024-03-27T14:41:10Z","kind":"github_poc","ref":"https://github.com/Chocapikk/CVE-2024-31819","stars":5,"title":"Unauthenticated Remote Code Execution (RCE) Vulnerability in WWBNIndex Plugin of AVideo Platform from 12.4 to 14.2"},{"date":"2024-04-09","kind":"metasploit","ref":"exploit/multi/http/avideo_wwbnindex_unauth_rce","stars":null,"title":"AVideo WWBNIndex Plugin Unauthenticated RCE"},{"date":"2024-06-09T08:48:21Z","kind":"github_poc","ref":"https://github.com/dream434/CVE-2024-31819","stars":0,"title":"An issue in WWBN AVideo v.12.4 through v.14.2 allows a remote attacker to execute arbitrary code via the systemRootPath parameter of the submitIndex.php component."}],"tier":"weaponised"},"has_fix":true,"headline":"WWBN AVideo Remote Code Execution","id":"CVE-2024-31819","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"wwbn:avideo","products":["wwbn:avideo"],"type":"code_injection","year":"2024"},"n_packages":2,"n_references":4,"next":{"headline":"SQL injection in n/a","id":"CVE-2024-31820"},"packages":[{"ecosystem":"Packagist","fixed":["14.3"],"introduced":["12.4"],"last_affected":[],"package":"wwbn/avideo","purl":null,"source":"GHSA-mv5w-wr5c-575p"},{"ecosystem":"Packagist","fixed":["14.3"],"introduced":["12.4"],"last_affected":[],"package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"GHSA-mv5w-wr5c-575p"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2024-31818"},"products":["n/a"],"published":"2024-04-10","related":[{"cvss_score":10,"headline":"WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() Sinks","id":"CVE-2026-40911","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":10,"headline":"AVideo Multi-Chain Attack: Unauthenticated Remote Code Execution via Clone Key Disclosure, Database Dump, and Command Injection","id":"CVE-2026-33478","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.9,"headline":"Command injection in AVideo","id":"CVE-2022-30534","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.9,"headline":"Path traversal in AVideo","id":"CVE-2022-30547","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.9,"headline":"Command injection in AVideo","id":"CVE-2022-32572","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.8,"headline":"AVideo has an Unauthenticated SQL Injection via `doNotShowCats` Parameter (Backslash Escape Bypass)","id":"CVE-2026-33352","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.8,"headline":"WWBN AVideo: Unauthenticated SQL Injection via JSON Request Bypass in objects/videos.json.php","id":"CVE-2026-28501","kev_date_added":null,"published":"2026-03-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-28","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code in WWBN AVideo via the systemRootPath parameter in submitIndex.php.","url":"https://insights.sbomify.com/CVE-2024-31819/"}