gsd-2013-0233
Vulnerability from gsd
Modified
2013-01-28 00:00
Details
Devise contains a flaw that is triggered during when a type conversion error occurs during the parsing of a malformed request. With a specially crafted request, a remote attacker can bypass security restrictions.
Aliases



{
  "GSD": {
    "alias": "CVE-2013-0233",
    "description": "Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0.5, and 1.5.x before 1.5.4 for Ruby, when using certain databases, does not properly perform type conversion when performing database queries, which might allow remote attackers to cause incorrect results to be returned and bypass security checks via unknown vectors, as demonstrated by resetting passwords of arbitrary accounts.",
    "id": "GSD-2013-0233",
    "references": [
      "https://www.suse.com/security/cve/CVE-2013-0233.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "devise",
            "purl": "pkg:gem/devise"
          }
        }
      ],
      "aliases": [
        "CVE-2013-0233",
        "OSVDB-89642"
      ],
      "details": "Devise contains a flaw that is triggered during when a type conversion error\noccurs during the parsing of a malformed request. With a specially crafted\nrequest, a remote attacker can bypass security restrictions.\n",
      "id": "GSD-2013-0233",
      "modified": "2013-01-28T00:00:00.000Z",
      "published": "2013-01-28T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-0233"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 6.8,
          "type": "CVSS_V2"
        }
      ],
      "summary": "Devise Database Type Conversion Crafted Request Parsing Security Bypass"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2013-0233",
        "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": "Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0.5, and 1.5.x before 1.5.4 for Ruby, when using certain databases, does not properly perform type conversion when performing database queries, which might allow remote attackers to cause incorrect results to be returned and bypass security checks via unknown vectors, as demonstrated by resetting passwords of arbitrary accounts."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset",
            "refsource": "MISC",
            "url": "http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset"
          },
          {
            "name": "[oss-security] 20130128 Re: CVE request for \u0027devise\u0027 ruby gem",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2013/01/29/3"
          },
          {
            "name": "http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html",
            "refsource": "MISC",
            "url": "http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html"
          },
          {
            "name": "openSUSE-SU-2013:0374",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-updates/2013-03/msg00000.html"
          },
          {
            "name": "57577",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/57577"
          },
          {
            "name": "http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/",
            "refsource": "CONFIRM",
            "url": "http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/"
          },
          {
            "name": "https://github.com/Snorby/snorby/issues/261",
            "refsource": "MISC",
            "url": "https://github.com/Snorby/snorby/issues/261"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2013-0233",
      "cvss_v2": 6.8,
      "date": "2013-01-28",
      "description": "Devise contains a flaw that is triggered during when a type conversion error\noccurs during the parsing of a malformed request. With a specially crafted\nrequest, a remote attacker can bypass security restrictions.\n",
      "gem": "devise",
      "osvdb": 89642,
      "patched_versions": [
        "~\u003e 1.5.4",
        "~\u003e 2.0.5",
        "~\u003e 2.1.3",
        "\u003e= 2.2.3"
      ],
      "title": "Devise Database Type Conversion Crafted Request Parsing Security Bypass",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-0233"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=1.4.0 \u003c1.5.4 || \u003e=1.6 \u003c2.0.5 || \u003e=2.1.0 \u003c2.1.3 || \u003e=2.2.0 \u003c2.2.3",
          "affected_versions": "All versions starting from 1.4.0 before 1.5.4, all versions starting from 1.6 before 2.0.5, all versions starting from 2.1.0 before 2.1.3, all versions starting from 2.2.0 before 2.2.3",
          "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "cwe_ids": [
            "CWE-1035",
            "CWE-399",
            "CWE-937"
          ],
          "date": "2018-10-30",
          "description": "Using a specially crafted request, an attacker could trick the database type conversion code to return incorrect records. For some token values this could allow an attacker to bypass the proper checks and gain control of other accounts.",
          "fixed_versions": [
            "1.5.4",
            "2.0.5",
            "2.1.3",
            "2.2.3"
          ],
          "identifier": "CVE-2013-0233",
          "identifiers": [
            "CVE-2013-0233"
          ],
          "not_impacted": "v1.2 and v1.3 series or apps using PostgreSQL or SQLite3.",
          "package_slug": "gem/devise",
          "pubdate": "2013-04-25",
          "solution": "Upgrade and patches available (see source)",
          "title": "Devise Database Type Conversion Crafted Request Parsing Security Bypass",
          "urls": [
            "http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/"
          ],
          "uuid": "aab76d2c-16f0-491e-b8a8-b784d481e453"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.0.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:1.5.3:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:1.5.2:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:1.5.1:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.2.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.1.2:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.1.1:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.1.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.2.1:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.0.4:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.0.2:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.2.2:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.0.3:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:2.0.1:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:plataformatec:devise:1.5.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  }
                ],
                "operator": "OR"
              },
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": false
                  }
                ],
                "operator": "OR"
              }
            ],
            "cpe_match": [],
            "operator": "AND"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2013-0233"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0.5, and 1.5.x before 1.5.4 for Ruby, when using certain databases, does not properly perform type conversion when performing database queries, which might allow remote attackers to cause incorrect results to be returned and bypass security checks via unknown vectors, as demonstrated by resetting passwords of arbitrary accounts."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-399"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "openSUSE-SU-2013:0374",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-updates/2013-03/msg00000.html"
            },
            {
              "name": "http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset",
              "refsource": "MISC",
              "tags": [
                "Exploit"
              ],
              "url": "http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset"
            },
            {
              "name": "[oss-security] 20130128 Re: CVE request for \u0027devise\u0027 ruby gem",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2013/01/29/3"
            },
            {
              "name": "http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html",
              "refsource": "MISC",
              "tags": [
                "Exploit"
              ],
              "url": "http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html"
            },
            {
              "name": "https://github.com/Snorby/snorby/issues/261",
              "refsource": "MISC",
              "tags": [],
              "url": "https://github.com/Snorby/snorby/issues/261"
            },
            {
              "name": "http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/"
            },
            {
              "name": "57577",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/57577"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "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": "2018-10-30T16:27Z",
      "publishedDate": "2013-04-25T23: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.
  • 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…