SecurityContext

CVE-2021-25877: AVideo/YouPHPTube - Insecure File Write

  • Cve: CVE-2021-25877
  • Name: AVideo/YouPHPTube - Insecure File Write
  • Description: AVideo/YouPHPTube 10.0 and prior is affected by Insecure file write. An administrator privileged user is able to write files on filesystem using flag and code variables in file save.php.
  • Impact: Privileged users can write arbitrary files on the server, potentially leading to remote code execution or system compromise.
  • Remediation: Update to the latest version of AVideo/YouPHPTube that addresses this issue or apply security patches to fix the file handling logic.
  • Vulnerability impact: file_system_write
  • Requirement type: admin_privileges
  • Requirements: Attacker needs administrator privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01594
  • Epss percentile: 0.76341
  • Assignee: [email protected]
  • Published at: 2021-11-01T12:15:08Z
  • Age in days: 1849
  • Modified at: 2026-07-09T01:16:47Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25877
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://www.synacktiv.com/sites/default/files/2021-01/YouPHPTube_Multiple_Vulnerabilities.pdfnvd2021-11-01

References

UrlSourceTags
https://www.synacktiv.com/sites/default/files/2021-01/YouPHPTube_Multiple_Vulnerabilities.pdfnvdExploit, Vendor Advisory
https://synacktiv.comnvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
youphptube:youphptube<= 10.0nonvd/v1/products/youphptube/youphptube

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-11-01
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts