CVE-2026-61564
Unauthenticated PHP injection in AVideo installer before 8.1.0
- CVSS 3.1
- 10.0 critical
- EPSS
- —
- Published
- ·
- Modified
Before 8.1.0, AVideo's unauthenticated installer at install/checkConfiguration.php builds videos/configuration.php by inserting request parameters into PHP strings without escaping. A remote attacker can inject PHP that runs as the web-server user when the file is loaded, but only if configuration.php is absent (fresh install or after removal). The attacker points database settings at their own server and needs no target credentials. They gain command execution, file read and overwrite, persistent code, and a secondary SQL injection.
What to do: Upgrade AVideo to version 8.1.0.
| Product | Affected | Fixed in |
|---|---|---|
| AVideo | Prior to 8.1.0 | 8.1.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Weakness
- CWE-94
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
In the news
0 storiesNo ingested article mentions this CVE yet.