CWE
200
Advisory Published
Advisory Published
Updated

CVE-2007-5379: Infoleak

First published: Fri Oct 19 2007(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
rubygems/rails<1.2.4
1.2.5
Ruby on Rails<=1.2.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-5379?

    CVE-2007-5379 has a medium severity rating, as it allows attackers to read arbitrary XML files remotely.

  • How do I fix CVE-2007-5379?

    To fix CVE-2007-5379, upgrade Rails to version 1.2.5 or later.

  • What versions of Rails are affected by CVE-2007-5379?

    CVE-2007-5379 affects Rails versions before 1.2.4.

  • Can CVE-2007-5379 be exploited remotely?

    Yes, CVE-2007-5379 can be exploited remotely by attackers to gain access to sensitive files.

  • What method in Rails is vulnerable in CVE-2007-5379?

    The vulnerability in CVE-2007-5379 is due to the unsafe use of the Hash.from_xml method.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203