GSD-2016-3693

Vulnerability from gsd - Updated: 2016-04-20 00:00
Details
Safemode is initialised with an optional 'delegate' object. If the delegated object is a Rails controller, 'inspect' could be called which then exposes all informations about the App, including routes, secret tokens, caches and so on.
Aliases

{
  "GSD": {
    "alias": "CVE-2016-3693",
    "description": "The Safemode gem before 1.2.4 for Ruby, when initialized with a delegate object that is a Rails controller, allows context-dependent attackers to obtain sensitive information via the inspect method.",
    "id": "GSD-2016-3693",
    "references": [
      "https://access.redhat.com/errata/RHSA-2018:0336"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "safemode",
            "purl": "pkg:gem/safemode"
          }
        }
      ],
      "aliases": [
        "CVE-2016-3693",
        "GHSA-c92m-rrrc-q5wf"
      ],
      "details": "Safemode is initialised with an optional \u0027delegate\u0027 object.\nIf the delegated object is a Rails controller, \u0027inspect\u0027 could\nbe called which then exposes all informations about the App,\nincluding routes, secret tokens, caches and so on.\n",
      "id": "GSD-2016-3693",
      "modified": "2016-04-20T00:00:00.000Z",
      "published": "2016-04-20T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "http://seclists.org/oss-sec/2016/q2/119"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 8.1,
          "type": "CVSS_V3"
        }
      ],
      "summary": "Safemode Gem for Ruby is vulnerable to information disclosure"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2016-3693",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "The Safemode gem before 1.2.4 for Ruby, when initialized with a delegate object that is a Rails controller, allows context-dependent attackers to obtain sensitive information via the inspect method."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://projects.theforeman.org/issues/14635",
            "refsource": "MISC",
            "url": "http://projects.theforeman.org/issues/14635"
          },
          {
            "name": "http://rubysec.com/advisories/CVE-2016-3693/",
            "refsource": "MISC",
            "url": "http://rubysec.com/advisories/CVE-2016-3693/"
          },
          {
            "name": "http://theforeman.org/security.html#2016-3693",
            "refsource": "MISC",
            "url": "http://theforeman.org/security.html#2016-3693"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2016/04/20/8",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2016/04/20/8"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2018:0336",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2018:0336"
          },
          {
            "name": "https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f",
            "refsource": "MISC",
            "url": "https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f"
          },
          {
            "name": "https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2",
            "refsource": "MISC",
            "url": "https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2016-3693",
      "cvss_v3": 8.1,
      "date": "2016-04-20",
      "description": "Safemode is initialised with an optional \u0027delegate\u0027 object.\nIf the delegated object is a Rails controller, \u0027inspect\u0027 could\nbe called which then exposes all informations about the App,\nincluding routes, secret tokens, caches and so on.\n",
      "gem": "safemode",
      "ghsa": "c92m-rrrc-q5wf",
      "patched_versions": [
        "\u003e= 1.2.4"
      ],
      "title": "Safemode Gem for Ruby is vulnerable to information disclosure",
      "url": "http://seclists.org/oss-sec/2016/q2/119"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=1.2.3",
          "affected_versions": "All versions up to 1.2.3",
          "credit": "Dominic Cleal",
          "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-264",
            "CWE-937"
          ],
          "date": "2018-02-23",
          "description": "safemode for Ruby, when initialized with a delegate object that is a Rails controller, allows context-dependent attackers to obtain sensitive information via the inspect method.",
          "fixed_versions": [
            "1.2.4"
          ],
          "identifier": "CVE-2016-3693",
          "identifiers": [
            "CVE-2016-3693"
          ],
          "not_impacted": "All versions after 1.2.3",
          "package_slug": "gem/safemode",
          "pubdate": "2016-05-20",
          "solution": "Upgrade to version 1.2.4 or above.",
          "title": "Information disclosure vulnerability",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2016-3693",
            "http://rubysec.com/advisories/CVE-2016-3693/",
            "http://seclists.org/oss-sec/2016/q2/119",
            "https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f"
          ],
          "uuid": "03abb1a0-84b0-40e6-a83c-5853efcceaae"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:safemode_project:safemode:*:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.2.3",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2016-3693"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The Safemode gem before 1.2.4 for Ruby, when initialized with a delegate object that is a Rails controller, allows context-dependent attackers to obtain sensitive information via the inspect method."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-264"
                },
                {
                  "lang": "en",
                  "value": "CWE-200"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f"
            },
            {
              "name": "http://theforeman.org/security.html#2016-3693",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://theforeman.org/security.html#2016-3693"
            },
            {
              "name": "http://projects.theforeman.org/issues/14635",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://projects.theforeman.org/issues/14635"
            },
            {
              "name": "[oss-security] 20160420 CVE-2016-3693: Foreman application information leakage through templates",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2016/04/20/8"
            },
            {
              "name": "https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2"
            },
            {
              "name": "http://rubysec.com/advisories/CVE-2016-3693/",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://rubysec.com/advisories/CVE-2016-3693/"
            },
            {
              "name": "RHSA-2018:0336",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2018:0336"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          "exploitabilityScore": 2.2,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2023-02-12T23:18Z",
      "publishedDate": "2016-05-20T14:59Z"
    }
  }
}



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…