GSD-2008-7248

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2008-7248",
    "description": "Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.",
    "id": "GSD-2008-7248",
    "references": [
      "https://www.suse.com/security/cve/CVE-2008-7248.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2008-7248"
      ],
      "details": "Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.",
      "id": "GSD-2008-7248",
      "modified": "2023-12-13T01:23:01.678911Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2008-7248",
        "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": "Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html",
            "refsource": "MISC",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html"
          },
          {
            "name": "http://secunia.com/advisories/38915",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/38915"
          },
          {
            "name": "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en",
            "refsource": "MISC",
            "url": "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en"
          },
          {
            "name": "http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/",
            "refsource": "MISC",
            "url": "http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/"
          },
          {
            "name": "http://secunia.com/advisories/36600",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/36600"
          },
          {
            "name": "http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1",
            "refsource": "MISC",
            "url": "http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2009/11/28/1",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2009/11/28/1"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2009/12/02/2",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2009/12/02/2"
          },
          {
            "name": "http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html",
            "refsource": "MISC",
            "url": "http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html"
          },
          {
            "name": "http://www.vupen.com/english/advisories/2009/2544",
            "refsource": "MISC",
            "url": "http://www.vupen.com/english/advisories/2009/2544"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=2.1.0 \u003c2.1.3||\u003e=2.2.0 \u003c2.2.2",
          "affected_versions": "All versions starting from 2.1.0 before 2.1.3, all versions starting from 2.2.0 before 2.2.2",
          "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "cwe_ids": [
            "CWE-1035",
            "CWE-20",
            "CWE-352",
            "CWE-937"
          ],
          "date": "2023-05-26",
          "description": "Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.",
          "fixed_versions": [
            "2.1.3",
            "2.2.2"
          ],
          "identifier": "CVE-2008-7248",
          "identifiers": [
            "GHSA-8fqx-7pv4-3jwm",
            "CVE-2008-7248"
          ],
          "not_impacted": "All versions before 2.1.0, all versions starting from 2.1.3 before 2.2.0, all versions starting from 2.2.2",
          "package_slug": "gem/actionpack",
          "pubdate": "2017-10-24",
          "solution": "Upgrade to versions 2.1.3, 2.2.2 or above.",
          "title": "Improper Input Validation",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2008-7248",
            "https://access.redhat.com/security/cve/CVE-2008-7248",
            "https://bugzilla.redhat.com/show_bug.cgi?id=544329",
            "https://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en",
            "https://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html",
            "https://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/",
            "https://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1",
            "https://www.openwall.com/lists/oss-security/2009/11/28/1",
            "https://www.openwall.com/lists/oss-security/2009/12/02/2",
            "https://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html",
            "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2008-7248.yml",
            "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en",
            "http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html",
            "http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/",
            "http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1",
            "http://www.openwall.com/lists/oss-security/2009/11/28/1",
            "http://www.openwall.com/lists/oss-security/2009/12/02/2",
            "https://github.com/rails/rails/commit/099a98e9b7108dae3e0f78b207e0a7dc5913bd1a",
            "https://web.archive.org/web/20090906010200/https://www.vupen.com/english/advisories/2009/2544",
            "https://github.com/advisories/GHSA-8fqx-7pv4-3jwm"
          ],
          "uuid": "6d0a8366-9a3a-41dd-8b30-d0dbc67699f3"
        },
        {
          "affected_range": "\u003e=2.1.0 \u003c2.1.3||\u003e=2.2.0 \u003c2.2.2",
          "affected_versions": "All versions starting from 2.1.0 before 2.1.3, all versions starting from 2.2.0 before 2.2.2",
          "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "cwe_ids": [
            "CWE-1035",
            "CWE-20",
            "CWE-352",
            "CWE-937"
          ],
          "date": "2021-09-07",
          "description": "Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.",
          "fixed_versions": [
            "2.1.3",
            "2.2.2"
          ],
          "identifier": "CVE-2008-7248",
          "identifiers": [
            "GHSA-8fqx-7pv4-3jwm",
            "CVE-2008-7248"
          ],
          "not_impacted": "All versions before 2.1.0, all versions starting from 2.1.3 before 2.2.0, all versions starting from 2.2.2",
          "package_slug": "gem/rails",
          "pubdate": "2017-10-24",
          "solution": "Upgrade to versions 2.1.3, 2.2.2 or above.",
          "title": "Improper Input Validation",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2008-7248",
            "https://github.com/advisories/GHSA-8fqx-7pv4-3jwm",
            "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en",
            "http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html",
            "http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/",
            "http://secunia.com/advisories/36600",
            "http://secunia.com/advisories/38915",
            "http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1",
            "http://www.openwall.com/lists/oss-security/2009/11/28/1",
            "http://www.openwall.com/lists/oss-security/2009/12/02/2",
            "http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html",
            "http://www.vupen.com/english/advisories/2009/2544"
          ],
          "uuid": "7ac49e88-989b-43f1-acaf-17c439c8089e"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.1.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.1.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.2.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.2.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2008-7248"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-20"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "ADV-2009-2544",
              "refsource": "VUPEN",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2009/2544"
            },
            {
              "name": "http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html",
              "refsource": "MISC",
              "tags": [
                "Exploit"
              ],
              "url": "http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html"
            },
            {
              "name": "[oss-security] 20091128 CVE request: Ruby on Rails: CSRF circumvention (from 2008)",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2009/11/28/1"
            },
            {
              "name": "http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/",
              "refsource": "MISC",
              "tags": [],
              "url": "http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/"
            },
            {
              "name": "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en",
              "refsource": "MISC",
              "tags": [],
              "url": "http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en"
            },
            {
              "name": "[oss-security] 20091202 Re: CVE request: Ruby on Rails: CSRF circumvention (from 2008)",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2009/12/02/2"
            },
            {
              "name": "36600",
              "refsource": "SECUNIA",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://secunia.com/advisories/36600"
            },
            {
              "name": "http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1"
            },
            {
              "name": "SUSE-SR:2010:006",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html"
            },
            {
              "name": "38915",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/38915"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2023-02-13T02:19Z",
      "publishedDate": "2009-12-16T01:30Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…