gsd-2014-0046
Vulnerability from gsd
Modified
2014-02-07 00:00
Details
In general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to innerHTML. However, a change made to the implementation of the {{link-to}} helper means that any user-supplied data bound to the {{link-to}} helper's title attribute will not be escaped correctly. In applications that use the {{link-to}} helper in non-block form and bind the title attribute to user-supplied content, a specially-crafted payload could execute arbitrary JavaScript in the context of the current domain ("XSS"). All users running an affected release and binding user-supplied data to the {{link-to}} helper's title attribute should either upgrade or use one of the workarounds immediately.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2014-0046",
    "description": "Cross-site scripting (XSS) vulnerability in the link-to helper in Ember.js 1.2.x before 1.2.2, 1.3.x before 1.3.2, and 1.4.x before 1.4.0-beta.6, when used in non-block form, allows remote attackers to inject arbitrary web script or HTML via the title attribute.",
    "id": "GSD-2014-0046"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "ember-source",
            "purl": "pkg:gem/ember-source"
          }
        }
      ],
      "aliases": [
        "CVE-2014-0046"
      ],
      "details": "In general, Ember.js escapes or strips any user-supplied content before\ninserting it in strings that will be sent to innerHTML.  However, a change made\nto the implementation of the {{link-to}} helper means that any user-supplied\ndata bound to the {{link-to}} helper\u0027s title attribute will not be escaped\ncorrectly.\n\nIn applications that use the {{link-to}} helper in non-block form and bind\nthe title attribute to user-supplied content, a specially-crafted payload\ncould execute arbitrary JavaScript in the context of the current domain\n(\"XSS\").\n\nAll users running an affected release and binding user-supplied data to the\n{{link-to}} helper\u0027s title attribute should either upgrade or use one of the\nworkarounds immediately.\n",
      "id": "GSD-2014-0046",
      "modified": "2014-02-07T00:00:00.000Z",
      "published": "2014-02-07T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ"
        }
      ],
      "schema_version": "1.4.0",
      "summary": "Ember.js XSS Vulnerability With {{link-to}} Helper in Non-block Form"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2014-0046",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Cross-site scripting (XSS) vulnerability in the link-to helper in Ember.js 1.2.x before 1.2.2, 1.3.x before 1.3.2, and 1.4.x before 1.4.0-beta.6, when used in non-block form, allows remote attackers to inject arbitrary web script or HTML via the title attribute."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "emberjs-linkto-xss(91242)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/91242"
          },
          {
            "name": "56965",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/56965"
          },
          {
            "name": "65579",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/65579"
          },
          {
            "name": "https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ",
            "refsource": "CONFIRM",
            "url": "https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ"
          },
          {
            "name": "http://emberjs.com/blog/2014/02/07/ember-security-releases.html",
            "refsource": "CONFIRM",
            "url": "http://emberjs.com/blog/2014/02/07/ember-security-releases.html"
          },
          {
            "name": "[oss-security] 20140214 [CVE-2014-0046] XSS Vulnerability With {{link-to}} Helper in Non-block Form",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2014/02/14/6"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2014-0046",
      "date": "2014-02-07",
      "description": "In general, Ember.js escapes or strips any user-supplied content before\ninserting it in strings that will be sent to innerHTML.  However, a change made\nto the implementation of the {{link-to}} helper means that any user-supplied\ndata bound to the {{link-to}} helper\u0027s title attribute will not be escaped\ncorrectly.\n\nIn applications that use the {{link-to}} helper in non-block form and bind\nthe title attribute to user-supplied content, a specially-crafted payload\ncould execute arbitrary JavaScript in the context of the current domain\n(\"XSS\").\n\nAll users running an affected release and binding user-supplied data to the\n{{link-to}} helper\u0027s title attribute should either upgrade or use one of the\nworkarounds immediately.\n",
      "gem": "ember-source",
      "patched_versions": [
        "~\u003e 1.2.2",
        "\u003e= 1.3.2"
      ],
      "title": "Ember.js XSS Vulnerability With {{link-to}} Helper in Non-block Form",
      "unaffected_versions": [
        "\u003c 1.2.0"
      ],
      "url": "https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=1.2.0.alpha0 \u003c1.2.2||\u003e=1.3.0.alpha0 \u003c1.3.2",
          "affected_versions": "All versions starting from 1.2.0.alpha0 before 1.2.2, all versions starting from 1.3.0.alpha0 before 1.3.2",
          "credit": "Robert Jackson",
          "cvss_v2": "AV:N/AC:H/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2018-08-13",
          "description": "In general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to `innerHTML`. However, a change made to the implementation of the `{{link-to}}` helper means that any user-supplied data bound to the `{{link-to}}` helper\u0027s title attribute will not be escaped correctly. In applications that use the `{{link-to}}` helper in non-block form and bind the title attribute to user-supplied content, a specially-crafted payload could execute arbitrary JavaScript in the context of the current domain (\"XSS\"). ",
          "fixed_versions": [
            "1.2.2",
            "1.3.2"
          ],
          "identifier": "CVE-2014-0046",
          "identifiers": [
            "CVE-2014-0046"
          ],
          "not_impacted": "All versions before 1.2.0.alpha0, all versions starting from 1.2.2 before 1.3.0.alpha0, all versions starting from 1.3.2",
          "package_slug": "gem/ember-source",
          "pubdate": "2014-02-27",
          "solution": "Upgrade to versions 1.2.2, 1.3.2 or above.",
          "title": "XSS Vulnerability With {{link-to}} Helper in Non-block Form",
          "urls": [
            "https://github.com/emberjs/ember.js/commit/83baab02bdff34542c468323816c344721d40c33",
            "https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ"
          ],
          "uuid": "6e37b94a-ea50-4aa8-b569-764fd7035deb"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:emberjs:ember.js:1.3.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:emberjs:ember.js:1.2.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:emberjs:ember.js:1.2.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:emberjs:ember.js:1.4.0:beta:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:emberjs:ember.js:1.3.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2014-0046"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Cross-site scripting (XSS) vulnerability in the link-to helper in Ember.js 1.2.x before 1.2.2, 1.3.x before 1.3.2, and 1.4.x before 1.4.0-beta.6, when used in non-block form, allows remote attackers to inject arbitrary web script or HTML via the title attribute."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://emberjs.com/blog/2014/02/07/ember-security-releases.html",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://emberjs.com/blog/2014/02/07/ember-security-releases.html"
            },
            {
              "name": "[oss-security] 20140214 [CVE-2014-0046] XSS Vulnerability With {{link-to}} Helper in Non-block Form",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2014/02/14/6"
            },
            {
              "name": "56965",
              "refsource": "SECUNIA",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://secunia.com/advisories/56965"
            },
            {
              "name": "65579",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/65579"
            },
            {
              "name": "emberjs-linkto-xss(91242)",
              "refsource": "XF",
              "tags": [],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/91242"
            },
            {
              "name": "https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "HIGH",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 2.6,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:H/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 4.9,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": true
        }
      },
      "lastModifiedDate": "2018-08-13T21:47Z",
      "publishedDate": "2014-02-27T15:55Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…