Vulnerability Name:

CVE-2012-4277 (CCN-75562)

Assigned:2012-05-12
Published:2012-05-12
Updated:2012-08-14
Summary:Cross-site scripting (XSS) vulnerability in the smarty_function_html_options_optoutput function in distribution/libs/plugins/function.html_options.php in Smarty before 3.1.8 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
4.3 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Gain Access
References:Source: MISC
Type: Exploit
http://code.google.com/p/smarty-php/issues/detail?id=98&can=1

Source: CONFIRM
Type: Patch
http://code.google.com/p/smarty-php/source/detail?r=4612

Source: MITRE
Type: CNA
CVE-2012-4277

Source: CCN
Type: SA49164
Smarty "smarty_function_html_options_optoutput()" Cross-Site Scripting Vulnerability

Source: SECUNIA
Type: Vendor Advisory
49164

Source: CCN
Type: Smarty Web site
Smarty

Source: CONFIRM
Type: UNKNOWN
http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt

Source: CCN
Type: OSVDB ID: 81895
Smarty distribution/libs/plugins/function.html_options.php smarty_function_html_options_optoutput() Function XSS

Source: CCN
Type: BID-53507
Smarty 'smarty_function_html_options_optoutput()' Function Cross Site Scripting Vulnerability

Source: SECTRACK
Type: UNKNOWN
1027061

Source: CCN
Type: New Digital Group Web Site
PHP Template Engine | Smarty

Source: XF
Type: UNKNOWN
smarty-functionhtmloptions-xss(75562)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:smarty:smarty:1.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.0a:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.0b:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.0:b1:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.0:b2:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.3:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.4:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.5:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.4.6:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.5.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:1.5.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.4.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.5.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.3:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.4:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.5:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.6:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.7:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.9:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.10:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.11:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.12:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.13:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.14:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.15:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.16:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.17:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.18:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.20:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.22:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.24:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.25:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:2.6.26:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:beta4:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:beta5:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:beta6:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:beta7:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:beta8:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:rc3:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.0:rc4:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1:rc1:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:3.1.6:*:*:*:*:*:*:*
  • OR cpe:/a:smarty:smarty:*:*:*:*:*:*:*:* (Version <= 3.1.7)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20124277000
    V
    CVE-2012-4277 on Ubuntu 12.04 LTS (precise) - medium.
    2012-08-13
    oval:com.ubuntu.trusty:def:20124277000
    V
    CVE-2012-4277 on Ubuntu 14.04 LTS (trusty) - medium.
    2012-08-13
    oval:com.ubuntu.xenial:def:20124277000
    V
    CVE-2012-4277 on Ubuntu 16.04 LTS (xenial) - medium.
    2012-08-13
    oval:com.ubuntu.xenial:def:201242770000000
    V
    CVE-2012-4277 on Ubuntu 16.04 LTS (xenial) - medium.
    2012-08-13
    BACK
    smarty smarty 1.0
    smarty smarty 1.0a
    smarty smarty 1.0b
    smarty smarty 1.1.0
    smarty smarty 1.2.0
    smarty smarty 1.2.1
    smarty smarty 1.2.2
    smarty smarty 1.3.0
    smarty smarty 1.3.1
    smarty smarty 1.3.2
    smarty smarty 1.4.0
    smarty smarty 1.4.0 b1
    smarty smarty 1.4.0 b2
    smarty smarty 1.4.1
    smarty smarty 1.4.2
    smarty smarty 1.4.3
    smarty smarty 1.4.4
    smarty smarty 1.4.5
    smarty smarty 1.4.6
    smarty smarty 1.5.0
    smarty smarty 1.5.1
    smarty smarty 1.5.2
    smarty smarty 2.0.0
    smarty smarty 2.0.1
    smarty smarty 2.1.0
    smarty smarty 2.1.1
    smarty smarty 2.2.0
    smarty smarty 2.3.0
    smarty smarty 2.3.1
    smarty smarty 2.4.0
    smarty smarty 2.4.1
    smarty smarty 2.4.2
    smarty smarty 2.5.0
    smarty smarty 2.5.0 rc1
    smarty smarty 2.5.0 rc2
    smarty smarty 2.6.0
    smarty smarty 2.6.0 rc1
    smarty smarty 2.6.0 rc2
    smarty smarty 2.6.0 rc3
    smarty smarty 2.6.1
    smarty smarty 2.6.2
    smarty smarty 2.6.3
    smarty smarty 2.6.4
    smarty smarty 2.6.5
    smarty smarty 2.6.6
    smarty smarty 2.6.7
    smarty smarty 2.6.9
    smarty smarty 2.6.10
    smarty smarty 2.6.11
    smarty smarty 2.6.12
    smarty smarty 2.6.13
    smarty smarty 2.6.14
    smarty smarty 2.6.15
    smarty smarty 2.6.16
    smarty smarty 2.6.17
    smarty smarty 2.6.18
    smarty smarty 2.6.20
    smarty smarty 2.6.22
    smarty smarty 2.6.24
    smarty smarty 2.6.25
    smarty smarty 2.6.26
    smarty smarty 3.0.0
    smarty smarty 3.0.0 beta4
    smarty smarty 3.0.0 beta5
    smarty smarty 3.0.0 beta6
    smarty smarty 3.0.0 beta7
    smarty smarty 3.0.0 beta8
    smarty smarty 3.0.0 rc1
    smarty smarty 3.0.0 rc2
    smarty smarty 3.0.0 rc3
    smarty smarty 3.0.0 rc4
    smarty smarty 3.0.1
    smarty smarty 3.0.2
    smarty smarty 3.0.3
    smarty smarty 3.0.4
    smarty smarty 3.0.5
    smarty smarty 3.0.6
    smarty smarty 3.0.7
    smarty smarty 3.1 rc1
    smarty smarty 3.1.0
    smarty smarty 3.1.1
    smarty smarty 3.1.2
    smarty smarty 3.1.3
    smarty smarty 3.1.4
    smarty smarty 3.1.5
    smarty smarty 3.1.6
    smarty smarty *