FKIE_CVE-2007-3227

Vulnerability from fkie_nvd - Published: 2007-06-14 23:30 - Updated: 2026-06-16 22:41
Severity
Summary
Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.
References
cve@mitre.orghttp://bugs.gentoo.org/show_bug.cgi?id=195315
cve@mitre.orghttp://dev.rubyonrails.org/ticket/8371
cve@mitre.orghttp://osvdb.org/36378
cve@mitre.orghttp://pastie.caboo.se/65550.txt
cve@mitre.orghttp://secunia.com/advisories/25699Vendor Advisory
cve@mitre.orghttp://secunia.com/advisories/27657Vendor Advisory
cve@mitre.orghttp://secunia.com/advisories/27756Vendor Advisory
cve@mitre.orghttp://security.gentoo.org/glsa/glsa-200711-17.xml
cve@mitre.orghttp://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
cve@mitre.orghttp://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
cve@mitre.orghttp://www.novell.com/linux/security/advisories/2007_24_sr.html
cve@mitre.orghttp://www.securityfocus.com/bid/24161Exploit
cve@mitre.orghttp://www.vupen.com/english/advisories/2007/2216Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://bugs.gentoo.org/show_bug.cgi?id=195315
af854a3a-2127-422b-91ae-364da2661108http://dev.rubyonrails.org/ticket/8371
af854a3a-2127-422b-91ae-364da2661108http://osvdb.org/36378
af854a3a-2127-422b-91ae-364da2661108http://pastie.caboo.se/65550.txt
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/25699Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/27657Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/27756Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://security.gentoo.org/glsa/glsa-200711-17.xml
af854a3a-2127-422b-91ae-364da2661108http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
af854a3a-2127-422b-91ae-364da2661108http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
af854a3a-2127-422b-91ae-364da2661108http://www.novell.com/linux/security/advisories/2007_24_sr.html
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/24161Exploit
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2007/2216Vendor Advisory
Impacted products
Vendor Product Version
rubyonrails rails 1.1.5

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:rubyonrails:rails:1.1.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "43E7F32B-C760-4862-B6DB-C38FB2A9182F",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values."
    },
    {
      "lang": "es",
      "value": "Una vulnerabilidad de tipo cross-site scripting (XSS) en la funci\u00f3n to_json (ActiveRecord::Base-to_json) en Ruby on Rails versiones anteriores a edge 9606, permite a atacantes remotos inyectar script web arbitrario por medio de los valores de entrada."
    }
  ],
  "id": "CVE-2007-3227",
  "lastModified": "2026-06-16T22:41:18.630",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 4.3,
          "confidentialityImpact": "NONE",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": true
      }
    ]
  },
  "published": "2007-06-14T23:30:00.000",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "http://bugs.gentoo.org/show_bug.cgi?id=195315"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://dev.rubyonrails.org/ticket/8371"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://osvdb.org/36378"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://pastie.caboo.se/65550.txt"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/25699"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/27657"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/27756"
    },
    {
      "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/12/rails-1-2-5-maintenance-release"
    },
    {
      "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.novell.com/linux/security/advisories/2007_24_sr.html"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.securityfocus.com/bid/24161"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.vupen.com/english/advisories/2007/2216"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://bugs.gentoo.org/show_bug.cgi?id=195315"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://dev.rubyonrails.org/ticket/8371"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://osvdb.org/36378"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://pastie.caboo.se/65550.txt"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/25699"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/27657"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/27756"
    },
    {
      "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/12/rails-1-2-5-maintenance-release"
    },
    {
      "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.novell.com/linux/security/advisories/2007_24_sr.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.securityfocus.com/bid/24161"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.vupen.com/english/advisories/2007/2216"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…