{"id":"CVE-2007-5379","sourceIdentifier":"cve@mitre.org","published":"2007-10-19T23:17:00.000","lastModified":"2026-06-16T22:45:59.863","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers and ActiveResource servers to determine the existence of arbitrary files and read arbitrary XML files via the Hash.from_xml (Hash#from_xml) method, which uses XmlSimple (XML::Simple) unsafely, as demonstrated by reading passwords from the Pidgin (Gaim) .purple/accounts.xml file."},{"lang":"es","value":"El Rails anterior al 1.2.4, como el utilizado en el \"Ruby on Rails\", permite a atacantes remotos y a los servidores ActiveResource determinar la existencia de ficheros de su elección y leer ficheros XML de su elección a través del método Hash.from_xml (Hash#from_xml), el cual utiliza XmlSimple (XML::Simple) en modo no seguro, como lo demostrado leyendo las contraseñas del fichero Pidgin (Gaim) .purple/accounts.xml."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-200"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:david_hansson:ruby_on_rails:*:*:*:*:*:*:*:*","versionEndIncluding":"1.2.3","matchCriteriaId":"DD060C44-C630-45BD-BFAD-74C8BFFBBD4E"}]}]}],"references":[{"url":"http://bugs.gentoo.org/show_bug.cgi?id=195315","source":"cve@mitre.org"},{"url":"http://dev.rubyonrails.org/ticket/8453","source":"cve@mitre.org"},{"url":"http://docs.info.apple.com/article.html?artnum=307179","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","source":"cve@mitre.org"},{"url":"http://osvdb.org/40717","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27657","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/28136","source":"cve@mitre.org"},{"url":"http://security.gentoo.org/glsa/glsa-200711-17.xml","source":"cve@mitre.org"},{"url":"http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/26096","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","source":"cve@mitre.org","tags":["US Government Resource"]},{"url":"http://www.vupen.com/english/advisories/2007/3508","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2007/4238","source":"cve@mitre.org"},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=195315","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://dev.rubyonrails.org/ticket/8453","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://docs.info.apple.com/article.html?artnum=307179","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/40717","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27657","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/28136","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-200711-17.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/26096","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["US Government Resource"]},{"url":"http://www.vupen.com/english/advisories/2007/3508","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2007/4238","source":"af854a3a-2127-422b-91ae-364da2661108"}]}