GSD-2014-0046

Vulnerability from gsd - Updated: 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…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.