CVE-2007-4951: YaPiG - File Inclusion
- Cve: CVE-2007-4951
- Name: YaPiG - File Inclusion
- Description: PHP remote file inclusion vulnerability in sample.php in YaPiG 0.95b allows remote attackers to execute arbitrary PHP code via a URL in the YAPIG_PATH parameter. NOTE: this issue has been disputed by CVE, since YAPIG_PATH is defined before use
- Impact: Remote attackers can execute arbitrary PHP code on the server, potentially leading to full system compromise.
- Remediation: Validate and sanitize the YAPIG_PATH parameter, or update to a version where this issue is fixed.
- Vulnerability type: file_inclusion
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
- Epss score: 0.01216
- Epss percentile: 0.69351
- Assignee: [email protected]
- Published at: 2007-09-18T20:17:00Z
- Age in days: 7007
- Modified at: 2026-06-16T22:45:09Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-4951
- 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: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://arfis.wordpress.com/2007/09/14/rfi-03-yapig-yet-another-php-image-gallery/ | nvd | 2007-09-18 |
References
| Url | Source | Tags |
|---|---|---|
| http://arfis.wordpress.com/2007/09/14/rfi-03-yapig-yet-another-php-image-gallery/ | nvd | Exploit |
| http://osvdb.org/42519 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| yapig:yapig | = 0.95b | no | nvd | /v1/products/yapig/yapig |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2007-09-18
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts