CVE-2013-0155 (ActiveRecord Unsafe Query Generation Risk)

  • Posted January 15, 2013

  • 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't expect it. More information can be found in the following post:


    • Hotfixes available for Puppet Enterprise 1.2.5 and 2.7.0