CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2013 · Rubyonrails

CVE-2013-1856
Rubyonrails Rails vulnerability

The ActiveSupport::XmlMini_JDOM backend in lib/active_support/xml_mini/jdom.rb in the Active Support component in Ruby on Rails 3.0.x and 3.1.x before 3.1.12 and 3.2.x before 3.2.13, when JRuby is used, does not properly restrict the capabilities of the XML parser, which allows remote attackers to read arbitrary files or cause a denial of service (resource consumption) via vectors involving (1) an external DTD or (2) an external entity declaration in conjunction with an entity reference.

Affected products

Rails, Ruby On Rails. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Rubyonrails Rails runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Rubyonrails products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.