CVE-2013-0175
Erik Michaels-ober Multi Xml vulnerability
multi_xml gem 0.5.2 for Ruby, as used in Grape before 0.2.6 and possibly other products, does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging support for (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.
Affected products
Multi Xml, Grape. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Erik Michaels-ober Multi Xml 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
- www.openwall.com/lists/oss-security/2013/01/11/9
- gist.github.com/nate/d7f6d9f4925f413621aa
- github.com/sferik/multi_xml/pull/34
- groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0
- news.ycombinator.com/item?id=5040457
- nvd.nist.gov/vuln/detail/CVE-2013-0175
- cve.org/CVERecord?id=CVE-2013-0175
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.