wwbn/avideo · Security
AVideo cross-site scripting vulnerability in the view/about.php page
- GHSA ID
- GHSA-f98p-2hc5-fm7v
- CVE ID
- CVE-2024-34899
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
The PHP file view/about.php is vulnerable to an XSS issue due to no sanitization of the user agent.
At line [53], the website gets the user-agent from the headers through $_SERVER['HTTP_USER_AGENT'] and echo it without any sanitization.
In PHP, echo a user generated statement, here the User-Agent Header, without any sanitization allows an attacker to inject malicious scripts into the output of a web page, which are then executed in the browser of anyone viewing that page.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/WWBN/AVideo/security/advisories/GHSA-f98p-2hc5-fm7v ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-34899 ↗
- https://github.com/WWBN/AVideo/commit/345711562621d879e63a817d01a229bf0aae7a1d ↗
- https://hackerdna.com/courses/cve/cve-2024-34899 ↗
- https://github.com/advisories/GHSA-f98p-2hc5-fm7v ↗