gsd-2013-0155
Vulnerability from gsd
Modified
2013-01-08 00:00
Details
Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2013-0155", "description": "Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" values, a related issue to CVE-2012-2660 and CVE-2012-2694.", "id": "GSD-2013-0155", "references": [ "https://www.suse.com/security/cve/CVE-2013-0155.html", "https://www.debian.org/security/2013/dsa-2609", "https://access.redhat.com/errata/RHSA-2013:0582", "https://access.redhat.com/errata/RHSA-2013:0155", "https://access.redhat.com/errata/RHSA-2013:0154" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "affected": [ { "package": { "ecosystem": "RubyGems", "name": "activerecord", "purl": "pkg:gem/activerecord" } } ], "aliases": [ "CVE-2013-0155", "OSVDB-89025" ], "details": "Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" values, a related issue to CVE-2012-2660 and CVE-2012-2694.", "id": "GSD-2013-0155", "modified": "2013-01-08T00:00:00.000Z", "published": "2013-01-08T00:00:00.000Z", "references": [ { "type": "WEB", "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-0155" } ], "schema_version": "1.4.0", "severity": [ { "score": 10.0, "type": "CVSS_V2" } ], "summary": "CVE-2013-0155 rubygem-actionpack, rubygem-activerecord: Unsafe Query Generation Risk in Ruby on Rails" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2013-0155", "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": "Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" values, a related issue to CVE-2012-2660 and CVE-2012-2694." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "openSUSE-SU-2013:1906", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html" }, { "name": "RHSA-2013:0155", "refsource": "REDHAT", "url": "http://rhn.redhat.com/errata/RHSA-2013-0155.html" }, { "name": "DSA-2609", "refsource": "DEBIAN", "url": "http://www.debian.org/security/2013/dsa-2609" }, { "name": "openSUSE-SU-2014:0009", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html" }, { "name": "https://puppet.com/security/cve/cve-2013-0155", "refsource": "CONFIRM", "url": "https://puppet.com/security/cve/cve-2013-0155" }, { "name": "openSUSE-SU-2013:1907", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html" }, { "name": "http://support.apple.com/kb/HT5784", "refsource": "CONFIRM", "url": "http://support.apple.com/kb/HT5784" }, { "name": "APPLE-SA-2013-06-04-1", "refsource": "APPLE", "url": "http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html" }, { "name": "openSUSE-SU-2013:1904", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html" }, { "name": "http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A", "refsource": "MISC", "url": "http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A" }, { "name": "RHSA-2013:0154", "refsource": "REDHAT", "url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html" }, { "name": "[rubyonrails-security] 20130108 Unsafe Query Generation Risk in Ruby on Rails (CVE-2013-0155)", "refsource": "MLIST", "url": "https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source\u0026output=gplain" } ] } }, "github.com/rubysec/ruby-advisory-db": { "cve": "2013-0155", "cvss_v2": 10.0, "date": "2013-01-08", "description": "Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" values, a related issue to CVE-2012-2660 and CVE-2012-2694.", "framework": "rails", "gem": "activerecord", "osvdb": 89025, "patched_versions": [ "~\u003e 2.3.16", "~\u003e 3.0.19", "~\u003e 3.1.10", "\u003e= 3.2.11" ], "title": "CVE-2013-0155 rubygem-actionpack, rubygem-activerecord: Unsafe Query Generation Risk in Ruby on Rails", "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-0155" }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c3.0.19 || \u003e=3.1.0 \u003c3.1.10 || \u003e=3.2.0 \u003c3.2.11", "affected_versions": "All versions before 3.0.19, all versions starting from 3.1.0 before 3.1.10, all versions starting from 3.2.0 before 3.2.11", "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:N", "cwe_ids": [ "CWE-1035", "CWE-264", "CWE-937" ], "date": "2019-08-08", "description": "Due to the way Active Record interprets parameters in combination with the way that JSON parameters are parsed, it is possible for an attacker to issue unexpected database queries with \"IS NULL\" or empty where clauses. This issue does *not* let an attacker insert arbitrary values into an SQL query, however they can cause the query to check for NULL or eliminate a WHERE clause when most users wouldn\u0027t expect it.", "fixed_versions": [ "3.0.19", "3.1.10", "3.2.11" ], "identifier": "CVE-2013-0155", "identifiers": [ "CVE-2013-0155" ], "not_impacted": "NONE", "package_slug": "gem/activerecord", "pubdate": "2013-01-13", "solution": "Upgrade, patches and workarounds available (see source)", "title": "Unsafe Query Generation Risk in Ruby on Rails", "urls": [ "https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/t1WFuuQyavI" ], "uuid": "ec012637-dabd-4523-9e97-f6810434414d" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.0.19", "versionStartIncluding": "3.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.2.11", "versionStartIncluding": "3.2.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.1.10", "versionStartIncluding": "3.1.0", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2013-0155" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" values, a related issue to CVE-2012-2660 and CVE-2012-2694." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-264" } ] } ] }, "references": { "reference_data": [ { "name": "[rubyonrails-security] 20130108 Unsafe Query Generation Risk in Ruby on Rails (CVE-2013-0155)", "refsource": "MLIST", "tags": [ "Third Party Advisory" ], "url": "https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source\u0026output=gplain" }, { "name": "RHSA-2013:0154", "refsource": "REDHAT", "tags": [ "Third Party Advisory" ], "url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html" }, { "name": "DSA-2609", "refsource": "DEBIAN", "tags": [ "Third Party Advisory" ], "url": "http://www.debian.org/security/2013/dsa-2609" }, { "name": "RHSA-2013:0155", "refsource": "REDHAT", "tags": [ "Third Party Advisory" ], "url": "http://rhn.redhat.com/errata/RHSA-2013-0155.html" }, { "name": "http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A", "refsource": "MISC", "tags": [ "Third Party Advisory", "US Government Resource" ], "url": "http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A" }, { "name": "APPLE-SA-2013-06-04-1", "refsource": "APPLE", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html" }, { "name": "http://support.apple.com/kb/HT5784", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "http://support.apple.com/kb/HT5784" }, { "name": "openSUSE-SU-2013:1904", "refsource": "SUSE", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html" }, { "name": "openSUSE-SU-2013:1906", "refsource": "SUSE", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html" }, { "name": "openSUSE-SU-2013:1907", "refsource": "SUSE", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html" }, { "name": "openSUSE-SU-2014:0009", "refsource": "SUSE", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html" }, { "name": "https://puppet.com/security/cve/cve-2013-0155", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://puppet.com/security/cve/cve-2013-0155" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 6.4, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:N", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 4.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false } }, "lastModifiedDate": "2019-08-08T15:42Z", "publishedDate": "2013-01-13T22:55Z" } } }
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.