CVE-2012-2660
Published Jun 22, 2012
Last updated 5 years ago
Overview
- Description
- actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2694.
- Source
- secalert@redhat.com
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 6.4
- Impact score
- 4.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:P/A:N
Weaknesses
- nvd@nist.gov
- CWE-264
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E3BE7DFE-BA20-434B-A1DE-AD038B255C60" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DCEE5B21-C990-4705-8239-0D7B29DAEDA1" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "65EE33B1-B079-4CDE-B9C2-F1613A4610DC" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta3:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5CAAA20B-824F-4448-99DC-9712FE628073" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta4:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D2BEBDFB-0F30-454A-B74C-F820C9D2708B" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:rc:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1D7CD8C1-95D1-477E-AD96-6582EC33BA01" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B6F00D98-3D0F-40AF-AE4F-090B1E6B660C" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9476CE55-69C0-45D3-B723-6F459C90BF05" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.1:pre:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "486F5BA6-BCF7-4691-9754-19D364B4438D" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "112FC73B-A8BC-4EEA-9F4B-CCE685EF2838" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.2:pre:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E4498383-6FCA-4E17-A1FD-B0CE7EE50F85" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D26565B1-2BA6-4A3C-9264-7FC9A1820B59" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.4:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "644EF85E-6D3E-4F5C-96B0-49AD2A2D90CE" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "392E2D58-CB39-4832-B4D9-9C2E23B8E14C" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.5:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1F2466EA-7039-46A1-B4A3-8DACD1953A59" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0CAB4E72-0A15-4B26-9B69-074C278568D6" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.6:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A085E105-9375-440A-80CB-9B23E6D7EB4A" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.6:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "25911E48-C5D7-4ED8-B4DB-7523A74CCF49" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FE6EC1E5-3A4A-4751-9F77-28EF5AF681E3" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.7:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B29674E3-CC80-446B-9A43-82594AE7A058" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.7:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FF34D8CB-2B6D-4CB8-A206-108293BCFFE7" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8E5187F6-E3AC-4E0D-B1D0-83DE76C20A4B" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "272268EE-E3E8-4683-B679-55D748877A7E" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7B69FD33-61FE-4F10-BBE1-215F59035D30" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc3:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "08D7CB5D-82EF-4A24-A792-938FAB40863D" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc4:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8A044B21-47D5-468D-AF4A-06B3B5CC0824" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.9:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2196F3D0-532A-40F9-843A-1DFBC8B63FDC" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.9:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "CBEDA932-6CB5-438C-94E4-824732A91BE0" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.9:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "903E5524-5E45-48CE-A804-EDAEBE3A79AD" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.9:rc3:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "08534AF2-F94E-4FB6-A572-4FB9827276D4" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.9:rc4:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "29E3B4A6-1346-4358-B7BC-84D00ED3ABBE" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.9:rc5:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B52D7A6B-DD93-45F0-9186-18ABEFF28DF4" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.10:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1F07C641-48DF-43BE-9EB5-72B337C54846" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.10:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A1CB1B12-99F5-430F-AE19-9A95C17FA123" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.11:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D1A7C449-8F9A-4CE5-9C3D-375996BFAEE3" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.12:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "05D5D58C-DB79-41EA-81AE-5D95C48211B0" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.12:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FE331D6D-99BA-4369-AD8B-B556DEE4955F" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.13:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "05108EF0-81AD-4378-9843-5C23F2AC79A3" }, { "criteria": "cpe:2.3:a:rubyonrails:ruby_on_rails:3.0.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "224BD488-0D7E-4F8B-9012-DE872DEB544C" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DB51F3E9-4899-49A9-9E7B-0DCA92A91DD8" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:beta1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F884F2F4-94F3-46CB-860B-1BCC0EEF408A" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "88DFBB48-1C29-4639-9369-F5B413CA2337" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D37696D7-BEE6-4587-9E33-A7FE24780409" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc3:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E95B5D44-0C8D-47BC-A89D-48A5BDEB84F4" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc4:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1DFDAF6A-76AA-436F-A4F3-DA69892DE2B8" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc5:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D3172982-3FA4-427F-BE3E-2321D804E49D" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc6:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FD6EC85B-F092-48FF-966A-96B9227C8656" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc7:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9000F3C1-57A0-474C-9C82-E58688F29838" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc8:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6E55E42E-AB6A-4E47-AC69-DFDAEB0A8735" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A42F4E7A-6F6A-485C-8D30-95F3B0285922" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.1:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "30B9C0CB-F6E6-4233-84E4-D6E69104DD73" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.1:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "84309CC7-A8B7-4ADB-AEA1-964DA5F7B0E0" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.1:rc3:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5343241F-274D-45FF-97C7-2BC2E920BAF0" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FED122B8-AF4C-4C48-B1E5-54F4A7A31A53" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.2:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "157ACCAD-0FB8-4CC9-9DFB-70835DE6506C" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.2:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3E50ACF6-7277-4C9A-B42A-E7EFDC317691" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C191DC2B-1EC3-48E0-A586-867E6EE4431C" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3AA51263-6680-42C6-B119-8241D6F76206" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.4:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B4BC41E8-FEDA-4C31-B479-D49A59FC4D63" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.5:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D1AEFA5D-A793-4BAB-8DED-3D3A31260AD8" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2816C02C-E13E-4367-91F3-14756A90EC9E" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.0:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E82AF7C7-B725-40EF-8EE3-18F8E7FAEB29" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.0:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1AE674DE-65DB-437E-A034-A2EE5C584B33" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0524F3E3-BAD7-4CD3-A6E7-74CFBE4B46E6" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "32EB2C3F-0F24-43DB-988E-BD2973598F71" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.2:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EB32713D-FE64-445E-872E-B4678C243AB1" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C55E6B4A-2B9C-46C8-A739-109EA4BA7FD4" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.3:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "89C618DC-38BC-4484-8C41-BC38B7EB636B" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.3:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FE1EF01A-F358-45D3-ADA2-51DD1D8CB6E2" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.2.4:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0E376782-98B0-4766-B6FC-67E032A00C62" } ], "operator": "OR" } ] } ]