Ruby on Rails Hash SQL Injection (CVE-2012-2695)
|Check Point Reference:||CPAI-2012-368|
|Protection Provided by:||
Who is Vulnerable?
The Ruby on Rails Project Ruby on Rails prior to 3.2.6
An SQL injection vulnerability has been reported in Ruby on Rails Active Record.
The vulnerability is due to improper input validation while handling hash values. A remote attacker can exploit this issue by sending a specially crafted request to the target server. Successful exploitation would allow an attacker to view or manipulate data on the target server.
This protection will detect and block specially crafted requests sent to the target.
In order for the protection to be activated, update your product to the latest update. For information on how to update , go to SBP-2006-05, Protection tab and select the version of your choice.
To configure the defense, select your product from the list below and follow the related protection steps.
Security Gateway R75 / R71 / R70
How Can I Protect My Network?
- In the IPS tab, click Protections and find the Ruby on Rails Hash SQL Injection protection using the Search tool and Edit the protection's settings.
- Install policy on all modules.
How Do I Know if My Network is Under Attack?
SmartView Tracker will log the following entries:
Attack Name: Web Server Enforcement Violation
Attack Information: Ruby on Rails Hash SQL Injection