Related vulnerabilities

gsd-2013-7222
Vulnerability from gsd
Modified
2013-12-24 00:00
Details
Fat Free CRM contains a flaw that is due to the application defining a static security session token in config/initialiers/secret_token.rb. If a remote attacker has explicit knowledge of this token, they can potentially execute arbitrary code.
Aliases



{
  "GSD": {
    "alias": "CVE-2013-7222",
    "description": "config/initializers/secret_token.rb in Fat Free CRM before 0.12.1 has a fixed FatFreeCRM::Application.config.secret_token value, which makes it easier for remote attackers to spoof signed cookies by referring to the key in the source code.",
    "id": "GSD-2013-7222"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "fat_free_crm",
            "purl": "pkg:gem/fat_free_crm"
          }
        }
      ],
      "aliases": [
        "CVE-2013-7222",
        "OSVDB-101445"
      ],
      "details": "Fat Free CRM contains a flaw that is due to the application defining a static\nsecurity session token in config/initialiers/secret_token.rb. If a remote\nattacker has explicit knowledge of this token, they can potentially execute\narbitrary code.\n",
      "id": "GSD-2013-7222",
      "modified": "2013-12-24T00:00:00.000Z",
      "published": "2013-12-24T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-7222"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 5.0,
          "type": "CVSS_V2"
        }
      ],
      "summary": "Fat Free CRM Gem for Ruby lack of support for cycling the Rails session secret"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2013-7222",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "config/initializers/secret_token.rb in Fat Free CRM before 0.12.1 has a fixed FatFreeCRM::Application.config.secret_token value, which makes it easier for remote attackers to spoof signed cookies by referring to the key in the source code."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/fatfreecrm/fat_free_crm/commit/93c182dd4c6f3620b721d2a15ba6a6ecab5669df",
            "refsource": "CONFIRM",
            "url": "https://github.com/fatfreecrm/fat_free_crm/commit/93c182dd4c6f3620b721d2a15ba6a6ecab5669df"
          },
          {
            "name": "20131224 Happy Holidays / Xmas Advisory",
            "refsource": "FULLDISC",
            "url": "http://seclists.org/fulldisclosure/2013/Dec/199"
          },
          {
            "name": "[oss-security] 20131228 Re: CVE request: Fat Free CRM multiple vulnerabilities",
            "refsource": "MLIST",
            "url": "http://openwall.com/lists/oss-security/2013/12/28/2"
          },
          {
            "name": "http://www.phenoelit.org/stuff/ffcrm.txt",
            "refsource": "MISC",
            "url": "http://www.phenoelit.org/stuff/ffcrm.txt"
          },
          {
            "name": "https://github.com/fatfreecrm/fat_free_crm/issues/300",
            "refsource": "CONFIRM",
            "url": "https://github.com/fatfreecrm/fat_free_crm/issues/300"
          },
          {
            "name": "https://github.com/fatfreecrm/fat_free_crm/wiki/Fixing-security-vulnerabilities-%2827th-Dec-2013%29",
            "refsource": "CONFIRM",
            "url": "https://github.com/fatfreecrm/fat_free_crm/wiki/Fixing-security-vulnerabilities-%2827th-Dec-2013%29"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2013-7222",
      "cvss_v2": 5.0,
      "date": "2013-12-24",
      "description": "Fat Free CRM contains a flaw that is due to the application defining a static\nsecurity session token in config/initialiers/secret_token.rb. If a remote\nattacker has explicit knowledge of this token, they can potentially execute\narbitrary code.\n",
      "gem": "fat_free_crm",
      "osvdb": 101445,
      "patched_versions": [
        "\u003e= 0.13.0",
        "~\u003e 0.12.1"
      ],
      "title": "Fat Free CRM Gem for Ruby lack of support for cycling the Rails session secret",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-7222"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=0.0.0 \u003c0.12.1",
          "affected_versions": "All versions starting from 0.0.0 before 0.12.1",
          "credit": "Steve Kenworthy",
          "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-310",
            "CWE-937"
          ],
          "date": "2014-01-03",
          "description": "In config/initialiers/secret_token.rb a static secret token is defined, with the knowledge of this token an attacker is able to execute arbitrary Ruby code server side.",
          "fixed_versions": [
            "0.12.1",
            "0.13.0"
          ],
          "identifier": "CVE-2013-7222",
          "identifiers": [
            "CVE-2013-7222"
          ],
          "package_slug": "gem/fat_free_crm",
          "pubdate": "2014-01-02",
          "solution": "Upgrade to latest",
          "title": "Known Session Secret",
          "urls": [
            "http://seclists.org/fulldisclosure/2013/Dec/199"
          ],
          "uuid": "b7ff421f-f678-4b50-805c-9acb3dd911c1"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.11.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.9.9:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.9.7:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.11.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.11.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.10.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.9.10:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.12.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.9.8:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:fatfreecrm:fat_free_crm:0.9.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2013-7222"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "config/initializers/secret_token.rb in Fat Free CRM before 0.12.1 has a fixed FatFreeCRM::Application.config.secret_token value, which makes it easier for remote attackers to spoof signed cookies by referring to the key in the source code."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-310"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/fatfreecrm/fat_free_crm/wiki/Fixing-security-vulnerabilities-%2827th-Dec-2013%29",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://github.com/fatfreecrm/fat_free_crm/wiki/Fixing-security-vulnerabilities-%2827th-Dec-2013%29"
            },
            {
              "name": "[oss-security] 20131228 Re: CVE request: Fat Free CRM multiple vulnerabilities",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://openwall.com/lists/oss-security/2013/12/28/2"
            },
            {
              "name": "http://www.phenoelit.org/stuff/ffcrm.txt",
              "refsource": "MISC",
              "tags": [
                "Exploit"
              ],
              "url": "http://www.phenoelit.org/stuff/ffcrm.txt"
            },
            {
              "name": "https://github.com/fatfreecrm/fat_free_crm/issues/300",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/fatfreecrm/fat_free_crm/issues/300"
            },
            {
              "name": "20131224 Happy Holidays / Xmas Advisory",
              "refsource": "FULLDISC",
              "tags": [],
              "url": "http://seclists.org/fulldisclosure/2013/Dec/199"
            },
            {
              "name": "https://github.com/fatfreecrm/fat_free_crm/commit/93c182dd4c6f3620b721d2a15ba6a6ecab5669df",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Patch"
              ],
              "url": "https://github.com/fatfreecrm/fat_free_crm/commit/93c182dd4c6f3620b721d2a15ba6a6ecab5669df"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2014-01-03T17:12Z",
      "publishedDate": "2014-01-02T14:59Z"
    }
  }
}