SecurityContext

CVE-2012-5304: YVS Image Gallery - Remote Code Execution

  • Cve: CVE-2012-5304
  • Name: YVS Image Gallery - Remote Code Execution
  • Description: Static code injection vulnerability in administration/install.php in YVS Image Gallery allows remote attackers to inject arbitrary PHP code into functions/db_connect.php via unspecified vectors. NOTE: this is only a vulnerability when the administrator does not follow recommendations in the product's installation documentation.
  • Impact: Attackers can execute arbitrary PHP code on the server, potentially leading to full system compromise.
  • Remediation: Follow the installation documentation carefully and apply all recommended security measures.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: admin_privileges
  • Requirements: Administrator does not follow installation recommendations
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.01357
  • Epss percentile: 0.72375
  • Assignee: [email protected]
  • Published at: 2012-10-06T22:55:01Z
  • Age in days: 5162
  • Modified at: 2026-06-16T23:46:37Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-5304
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

UrlSourceTags
http://www.openwall.com/lists/oss-security/2012/02/27/27nvd
http://www.openwall.com/lists/oss-security/2012/03/19/12nvd

Products

ProductAffectedPlatform boundSourcesUrl
yuriy_v_semenikhin:yvs_image_galleryall versionsnonvd/v1/products/yuriy_v_semenikhin/yvs_image_gallery

Index

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

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts