CVE-2008-1988: EncapsGallery - Unrestricted File Upload
- Cve: CVE-2008-1988
- Name: EncapsGallery - Unrestricted File Upload
- Description: Unrestricted file upload vulnerability in the file_upload function in core/misc.class.php in EncapsGallery 2.0.2 allows remote authenticated administrators to upload and execute arbitrary PHP files by uploading a file with an executable extension, then accessing it via a direct request to the file in the rwx_gallery directory. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
- Impact: Attackers can upload and execute arbitrary PHP files, leading to remote code execution and full server compromise.
- Remediation: Implement strict file type validation and disable execution of uploaded files in the upload directory.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs to be an authenticated administrator
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:C/I:C/A:C
- Epss score: 0.02585
- Epss percentile: 0.85638
- Assignee: [email protected]
- Published at: 2008-04-27T21:05:00Z
- Age in days: 6785
- Modified at: 2026-06-16T22:52:53Z
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-1988
- 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
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://secunia.com/advisories/29824 | Vendor Advisory |
| http://www.securityfocus.com/bid/28887 | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/41949 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| encaps:encapsgallery | = 2.0.2 | no | nvd | /v1/products/encaps/encapsgallery |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts