CVE-2012-4472: Drupal Drag & Drop Gallery - Unrestricted File Upload
- Cve: CVE-2012-4472
- Name: Drupal Drag & Drop Gallery - Unrestricted File Upload
- Description: Unrestricted file upload vulnerability in upload.php in the Drag & Drop Gallery module 6.x-1.5 and earlier for Drupal allows remote attackers to execute arbitrary PHP code by uploading a file with an executable extension followed by a safe extension, then accessing it via a direct request to the directory specified by the filedir parameter.
- Impact: Attackers can execute arbitrary PHP code on the server, leading to full system compromise.
- Remediation: Update to the latest version of the module where this issue is fixed or apply security patches provided by Drupal.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.1
- Cvss vector: CVSS:2.0/AV:N/AC:H/Au:N/C:P/I:P/A:P
- Epss score: 0.01448
- Epss percentile: 0.74011
- Assignee: [email protected]
- Published at: 2012-11-30T22:55:01Z
- Age in days: 5107
- Modified at: 2026-06-16T23:45:09Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-4472
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.opensyscom.fr/Actualites/drupal-modules-drag-a-drop-gallery-arbitrary-file-upload-vulnerability.html | nvd | 2012-11-30 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| david_alkire:drag_&_drop_gallery | <= 6.x-1.5 | yes | nvd | /v1/products/david_alkire/drag_&_drop_gallery |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2012-11-30
- 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