Vulnerability Name:
CVE-2012-5653 (CCN-80795)
Assigned:
2012-12-19
Published:
2012-12-19
Updated:
2017-08-29
Summary:
The file upload feature in Drupal 6.x before 6.27 and 7.x before 7.18 allows remote authenticated users to bypass the protection mechanism and execute arbitrary PHP code via a null byte in a file name.
CVSS v3 Severity:
4.6 Medium
(CCN CVSS v3.1 Vector:
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
)
Exploitability Metrics:
Attack Vector (AV):
Network
Attack Complexity (AC):
High
Privileges Required (PR):
Low
User Interaction (UI):
Required
Scope:
Scope (S):
Unchanged
Impact Metrics:
Confidentiality (C):
Low
Integrity (I):
Low
Availibility (A):
Low
CVSS v2 Severity:
6.0 Medium
(CVSS v2 Vector:
AV:N/AC:M/Au:S/C:P/I:P/A:P
)
4.4 Medium
(Temporal CVSS v2 Vector:
AV:N/AC:M/Au:S/C:P/I:P/A:P/E:U/RL:OF/RC:C
)
Exploitability Metrics:
Access Vector (AV):
Network
Access Complexity (AC):
Medium
Authentication (Au):
Single_Instance
Impact Metrics:
Confidentiality (C):
Partial
Integrity (I):
Partial
Availibility (A):
Partial
6.0 Medium
(CCN CVSS v2 Vector:
AV:N/AC:M/Au:S/C:P/I:P/A:P
)
4.4 Medium
(CCN Temporal CVSS v2 Vector:
AV:N/AC:M/Au:S/C:P/I:P/A:P/E:U/RL:OF/RC:C
)
Exploitability Metrics:
Access Vector (AV):
Network
Access Complexity (AC):
Medium
Athentication (Au):
Single_Instance
Impact Metrics:
Confidentiality (C):
Partial
Integrity (I):
Partial
Availibility (A):
Partial
Vulnerability Type:
CWE-20
Vulnerability Consequences:
Gain Access
References:
Source: MITRE
Type: CNA
CVE-2012-5653
Source: CCN
Type: Drupal Web Site
Drupal
Source: CONFIRM
Type: Patch, Vendor Advisory
http://drupal.org/SA-CORE-2012-004
Source: CONFIRM
Type: Exploit, Patch
http://drupalcode.org/project/drupal.git/commitdiff/b47f95d
Source: CONFIRM
Type: Exploit, Patch
http://drupalcode.org/project/drupal.git/commitdiff/da8023a
Source: OSVDB
Type: Broken Link
88529
Source: DEBIAN
Type: Third Party Advisory
DSA-2776
Source: DEBIAN
Type: DSA-2776
drupal6 -- several vulnerabilities
Source: MANDRIVA
Type: Broken Link
MDVSA-2013:074
Source: MLIST
Type: Third Party Advisory
[oss-security] 20121219 Re: CVE request for Drupal core, and contributed modules
Source: CCN
Type: OSVDB ID: 88529
Drupal Crafted File Upload Arbitrary Code Execution
Source: BID
Type: Third Party Advisory
56993
Source: CCN
Type: BID-56993
Drupal Core Access Bypass and Arbitrary PHP Code Execution Vulnerabilities
Source: CCN
Type: SA-CORE-2012-004
Drupal core - Multiple vulnerabilities
Source: XF
Type: UNKNOWN
drupal-fileupload-code-execution(80795)
Source: XF
Type: UNKNOWN
drupal-fileupload-code-execution(80795)
Vulnerable Configuration:
Configuration 1
:
cpe:/a:drupal:drupal:7.0:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:alpha1:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:alpha2:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:alpha3:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:alpha4:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:alpha5:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:alpha6:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:alpha7:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:beta1:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:beta2:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:beta3:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:dev:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:rc1:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:rc2:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:rc3:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.0:rc4:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.1:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.2:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.3:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.4:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.5:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.6:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.7:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.8:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.9:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.10:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.11:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.12:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.13:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.14:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.15:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.16:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.17:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.x-dev:*:*:*:*:*:*:*
Configuration 2
:
cpe:/o:debian:debian_linux:6.0:*:*:*:*:*:*:*
OR
cpe:/o:debian:debian_linux:7.0:*:*:*:*:*:*:*
Configuration 3
:
cpe:/a:drupal:drupal:6.0:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:beta1:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:beta2:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:beta3:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:beta4:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:dev:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:rc1:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:rc2:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:rc3:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.0:rc4:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.1:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.2:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.3:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.4:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.5:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.6:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.7:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.8:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.9:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.10:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.11:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.12:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.13:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.14:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.15:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.16:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.17:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.18:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.19:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.20:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.21:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.22:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.23:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.24:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.25:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:6.26:*:*:*:*:*:*:*
Configuration CCN 1
:
cpe:/a:drupal:drupal:6.26:*:*:*:*:*:*:*
OR
cpe:/a:drupal:drupal:7.17:*:*:*:*:*:*:*
Denotes that component is vulnerable
Oval Definitions
Definition ID
Class
Title
Last Modified
oval:org.mitre.oval:def:19807
P
DSA-2776-1 drupal6 - several
2014-06-23
oval:com.ubuntu.xenial:def:201256530000000
V
CVE-2012-5653 on Ubuntu 16.04 LTS (xenial) - medium.
2013-01-03
oval:com.ubuntu.precise:def:20125653000
V
CVE-2012-5653 on Ubuntu 12.04 LTS (precise) - medium.
2013-01-02
oval:com.ubuntu.trusty:def:20125653000
V
CVE-2012-5653 on Ubuntu 14.04 LTS (trusty) - medium.
2013-01-02
oval:com.ubuntu.xenial:def:20125653000
V
CVE-2012-5653 on Ubuntu 16.04 LTS (xenial) - medium.
2013-01-02
BACK
drupal
drupal 7.0
drupal
drupal 7.0 alpha1
drupal
drupal 7.0 alpha2
drupal
drupal 7.0 alpha3
drupal
drupal 7.0 alpha4
drupal
drupal 7.0 alpha5
drupal
drupal 7.0 alpha6
drupal
drupal 7.0 alpha7
drupal
drupal 7.0 beta1
drupal
drupal 7.0 beta2
drupal
drupal 7.0 beta3
drupal
drupal 7.0 dev
drupal
drupal 7.0 rc1
drupal
drupal 7.0 rc2
drupal
drupal 7.0 rc3
drupal
drupal 7.0 rc4
drupal
drupal 7.1
drupal
drupal 7.2
drupal
drupal 7.3
drupal
drupal 7.4
drupal
drupal 7.5
drupal
drupal 7.6
drupal
drupal 7.7
drupal
drupal 7.8
drupal
drupal 7.9
drupal
drupal 7.10
drupal
drupal 7.11
drupal
drupal 7.12
drupal
drupal 7.13
drupal
drupal 7.14
drupal
drupal 7.15
drupal
drupal 7.16
drupal
drupal 7.17
drupal
drupal 7.x-dev
debian
debian linux 6.0
debian
debian linux 7.0
drupal
drupal 6.0
drupal
drupal 6.0 beta1
drupal
drupal 6.0 beta2
drupal
drupal 6.0 beta3
drupal
drupal 6.0 beta4
drupal
drupal 6.0 dev
drupal
drupal 6.0 rc1
drupal
drupal 6.0 rc2
drupal
drupal 6.0 rc3
drupal
drupal 6.0 rc4
drupal
drupal 6.1
drupal
drupal 6.2
drupal
drupal 6.3
drupal
drupal 6.4
drupal
drupal 6.5
drupal
drupal 6.6
drupal
drupal 6.7
drupal
drupal 6.8
drupal
drupal 6.9
drupal
drupal 6.10
drupal
drupal 6.11
drupal
drupal 6.12
drupal
drupal 6.13
drupal
drupal 6.14
drupal
drupal 6.15
drupal
drupal 6.16
drupal
drupal 6.17
drupal
drupal 6.18
drupal
drupal 6.19
drupal
drupal 6.20
drupal
drupal 6.21
drupal
drupal 6.22
drupal
drupal 6.23
drupal
drupal 6.24
drupal
drupal 6.25
drupal
drupal 6.26
drupal
drupal 6.26
drupal
drupal 7.17