GSD-2013-4492

Vulnerability from gsd - Updated: 2013-12-03 00:00
Details
The HTML exception message raised by I18n::MissingTranslation fails to escape the keys.
Aliases

{
  "GSD": {
    "alias": "CVE-2013-4492",
    "description": "Cross-site scripting (XSS) vulnerability in exceptions.rb in the i18n gem before 0.6.6 for Ruby allows remote attackers to inject arbitrary web script or HTML via a crafted I18n::MissingTranslationData.new call.",
    "id": "GSD-2013-4492",
    "references": [
      "https://www.suse.com/security/cve/CVE-2013-4492.html",
      "https://www.debian.org/security/2013/dsa-2830",
      "https://access.redhat.com/errata/RHSA-2018:0380",
      "https://access.redhat.com/errata/RHSA-2017:0320",
      "https://access.redhat.com/errata/RHBA-2015:1100",
      "https://advisories.mageia.org/CVE-2013-4492.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "i18n",
            "purl": "pkg:gem/i18n"
          }
        }
      ],
      "aliases": [
        "CVE-2013-4492",
        "OSVDB-100528"
      ],
      "details": "The HTML exception message raised by I18n::MissingTranslation fails\nto escape the keys.\n",
      "id": "GSD-2013-4492",
      "modified": "2013-12-03T00:00:00.000Z",
      "published": "2013-12-03T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://groups.google.com/forum/#!topic/ruby-security-ann/pLrh6DUw998"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 4.3,
          "type": "CVSS_V2"
        }
      ],
      "summary": "i18n missing translation error message XSS"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2013-4492",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "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 exceptions.rb in the i18n gem before 0.6.6 for Ruby allows remote attackers to inject arbitrary web script or HTML via a crafted I18n::MissingTranslationData.new call."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00093.html",
            "refsource": "MISC",
            "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00093.html"
          },
          {
            "name": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/",
            "refsource": "MISC",
            "url": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/"
          },
          {
            "name": "http://www.debian.org/security/2013/dsa-2830",
            "refsource": "MISC",
            "url": "http://www.debian.org/security/2013/dsa-2830"
          },
          {
            "name": "http://www.securityfocus.com/bid/64076",
            "refsource": "MISC",
            "url": "http://www.securityfocus.com/bid/64076"
          },
          {
            "name": "https://github.com/svenfuchs/i18n/commit/92b57b1e4f84adcdcc3a375278f299274be62445",
            "refsource": "MISC",
            "url": "https://github.com/svenfuchs/i18n/commit/92b57b1e4f84adcdcc3a375278f299274be62445"
          },
          {
            "name": "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/pLrh6DUw998/bLFEyIO4k_EJ",
            "refsource": "MISC",
            "url": "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/pLrh6DUw998/bLFEyIO4k_EJ"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2013-4492",
      "cvss_v2": 4.3,
      "date": "2013-12-03",
      "description": "The HTML exception message raised by I18n::MissingTranslation fails\nto escape the keys.\n",
      "gem": "i18n",
      "osvdb": 100528,
      "patched_versions": [
        "~\u003e 0.5.1",
        "\u003e= 0.6.6"
      ],
      "title": "i18n missing translation error message XSS",
      "url": "https://groups.google.com/forum/#!topic/ruby-security-ann/pLrh6DUw998"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c0.5.1||\u003e=0.6.0 \u003c0.6.6",
          "affected_versions": "All versions before 0.5.1, all versions starting from 0.6.0 before 0.6.6",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2016-12-30",
          "description": "When a translation is missing, the HTML exception message raised does not escape the keys. Under certain common configurations this string can contain user input which would allow an attacker to execute a reflective XSS attack.",
          "fixed_versions": [
            "0.5.1",
            "0.6.6"
          ],
          "identifier": "CVE-2013-4492",
          "identifiers": [
            "CVE-2013-4492"
          ],
          "package_slug": "gem/i18n",
          "pubdate": "2013-12-06",
          "solution": "Upgrade to latest",
          "title": "Reflective XSS Vulnerability",
          "urls": [],
          "uuid": "14fbf5b4-ea07-4651-abcb-70961beede35"
        },
        {
          "affected_range": "(,0.6.5]",
          "affected_versions": "All versions up to 0.6.5",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-05-04",
          "description": "Cross-site scripting (XSS) vulnerability in exceptions.rb in the i18n gem for Ruby allows remote attackers to inject arbitrary web script or HTML via a crafted I18n::MissingTranslationData.new call.",
          "fixed_versions": [
            "1.0.0"
          ],
          "identifier": "CVE-2013-4492",
          "identifiers": [
            "CVE-2013-4492"
          ],
          "not_impacted": "All versions after 0.6.5",
          "package_slug": "nuget/i18n",
          "pubdate": "2013-12-07",
          "solution": "Upgrade to version 1.0.0 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2013-4492",
            "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/",
            "https://github.com/svenfuchs/i18n/commit/92b57b1e4f84adcdcc3a375278f299274be62445",
            "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/pLrh6DUw998/bLFEyIO4k_EJ",
            "http://lists.opensuse.org/opensuse-updates/2013-12/msg00093.html",
            "http://www.debian.org/security/2013/dsa-2830",
            "http://www.securityfocus.com/bid/64076"
          ],
          "uuid": "41b3eb63-0ca5-4fa7-988f-1063aff63c9b"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:i18n_project:i18n:*:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.6.5",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2013-4492"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Cross-site scripting (XSS) vulnerability in exceptions.rb in the i18n gem before 0.6.6 for Ruby allows remote attackers to inject arbitrary web script or HTML via a crafted I18n::MissingTranslationData.new call."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/"
            },
            {
              "name": "https://github.com/svenfuchs/i18n/commit/92b57b1e4f84adcdcc3a375278f299274be62445",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/svenfuchs/i18n/commit/92b57b1e4f84adcdcc3a375278f299274be62445"
            },
            {
              "name": "[ruby-security-ann] 20131203 [CVE-2013-4491] Reflective XSS Vulnerability in Ruby on Rails",
              "refsource": "MLIST",
              "tags": [],
              "url": "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/pLrh6DUw998/bLFEyIO4k_EJ"
            },
            {
              "name": "openSUSE-SU-2013:1930",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00093.html"
            },
            {
              "name": "DSA-2830",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2013/dsa-2830"
            },
            {
              "name": "64076",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/64076"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2023-02-13T04:47Z",
      "publishedDate": "2013-12-07T00: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
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.