{"id":"CVE-2026-61564","state":"PUBLISHED","title":"AVideo-Encoder: unauthenticated installer PHP code injection","description":"AVideo is a video-sharing Platform. Prior to 8.1.0, the unauthenticated installer endpoint `install/checkConfiguration.php` assembles `videos/configuration.php` by interpolating request parameters, including `webSiteRootURL`, into single-quoted PHP string literals without escaping. An attacker can terminate a literal and inject PHP that executes as the web-server user when the generated, directly requestable file is loaded. Exploitation requires `videos/configuration.php` to be absent, as on every fresh deployment or after the file is removed or moved; an existing file blocks this endpoint. The supplied `systemRootPath` must contain index.php and a connection using `databaseHost`, `databaseUser`, and `databasePass` must succeed, but the attacker can point those parameters to their own database server and needs no target credentials. The write location is also derived from `systemRootPath` without a base-directory constraint. This permits arbitrary command execution, reading and overwriting files owned by the web-server user, persistent PHP code, and control over stored database connection settings. The endpoint additionally interpolates request values into streamer and configuration INSERT statements, creating a secondary SQL-injection sink. This issue is fixed in version 8.1.0.","publishedAt":"2026-10-28T21:42:42.397Z","updatedAt":"2026-10-28T21:42:42.397Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["WWBN AVideo-Encoder"],"affected":[{"vendor":"WWBN","product":"AVideo-Encoder","versions":[{"version":"< 8.1.0","status":"affected"}]}],"references":["https://github.com/WWBN/AVideo-Encoder/security/advisories/GHSA-xrj3-cqm8-r992","https://github.com/WWBN/AVideo-Encoder/commit/0faaddebd11c087885d25a7e0513745465cad411","https://github.com/WWBN/AVideo-Encoder/releases/tag/v8.1.0"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/61xxx/CVE-2026-61564.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61564","state":"PUBLISHED","datePublished":"2026-10-28T21:42:42.397Z","dateUpdated":"2026-10-28T21:42:42.397Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-10T16:48:39.923Z"},"containers":{"cna":{"title":"AVideo-Encoder: unauthenticated installer PHP code injection","descriptions":[{"lang":"en","value":"AVideo is a video-sharing Platform. Prior to 8.1.0, the unauthenticated installer endpoint `install/checkConfiguration.php` assembles `videos/configuration.php` by interpolating request parameters, including `webSiteRootURL`, into single-quoted PHP string literals without escaping. An attacker can terminate a literal and inject PHP that executes as the web-server user when the generated, directly requestable file is loaded. Exploitation requires `videos/configuration.php` to be absent, as on every fresh deployment or after the file is removed or moved; an existing file blocks this endpoint. The supplied `systemRootPath` must contain index.php and a connection using `databaseHost`, `databaseUser`, and `databasePass` must succeed, but the attacker can point those parameters to their own database server and needs no target credentials. The write location is also derived from `systemRootPath` without a base-directory constraint. This permits arbitrary command execution, reading and overwriting files owned by the web-server user, persistent PHP code, and control over stored database connection settings. The endpoint additionally interpolates request values into streamer and configuration INSERT statements, creating a secondary SQL-injection sink. This issue is fixed in version 8.1.0."}],"affected":[{"vendor":"WWBN","product":"AVideo-Encoder","versions":[{"version":"< 8.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/WWBN/AVideo-Encoder/security/advisories/GHSA-xrj3-cqm8-r992","name":"https://github.com/WWBN/AVideo-Encoder/security/advisories/GHSA-xrj3-cqm8-r992","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WWBN/AVideo-Encoder/commit/0faaddebd11c087885d25a7e0513745465cad411","name":"https://github.com/WWBN/AVideo-Encoder/commit/0faaddebd11c087885d25a7e0513745465cad411","tags":["x_refsource_MISC"]},{"url":"https://github.com/WWBN/AVideo-Encoder/releases/tag/v8.1.0","name":"https://github.com/WWBN/AVideo-Encoder/releases/tag/v8.1.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-28T21:42:42.397Z"},"source":{"advisory":"GHSA-xrj3-cqm8-r992","discovery":"UNKNOWN"}}}}}