gsd-2017-2582
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the "InResponseTo" field in the response.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2017-2582",
    "description": "It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the \"InResponseTo\" field in the response.",
    "id": "GSD-2017-2582",
    "references": [
      "https://access.redhat.com/errata/RHSA-2019:0139",
      "https://access.redhat.com/errata/RHSA-2019:0137",
      "https://access.redhat.com/errata/RHSA-2019:0136",
      "https://access.redhat.com/errata/RHSA-2018:2743",
      "https://access.redhat.com/errata/RHSA-2018:2742",
      "https://access.redhat.com/errata/RHSA-2018:2741",
      "https://access.redhat.com/errata/RHSA-2018:2740",
      "https://access.redhat.com/errata/RHSA-2017:3220",
      "https://access.redhat.com/errata/RHSA-2017:3219",
      "https://access.redhat.com/errata/RHSA-2017:3218",
      "https://access.redhat.com/errata/RHSA-2017:3217",
      "https://access.redhat.com/errata/RHSA-2017:3216",
      "https://access.redhat.com/errata/RHSA-2017:2811",
      "https://access.redhat.com/errata/RHSA-2017:2810",
      "https://access.redhat.com/errata/RHSA-2017:2809",
      "https://access.redhat.com/errata/RHSA-2017:2808"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2017-2582"
      ],
      "details": "It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the \"InResponseTo\" field in the response.",
      "id": "GSD-2017-2582",
      "modified": "2023-12-13T01:21:05.953922Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2017-2582",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "keycloak",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "2.5.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Red Hat"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the \"InResponseTo\" field in the response."
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.0"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-201",
                "lang": "eng",
                "value": "CWE-201"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://www.securityfocus.com/bid/101046",
            "refsource": "MISC",
            "url": "http://www.securityfocus.com/bid/101046"
          },
          {
            "name": "http://www.securitytracker.com/id/1041707",
            "refsource": "MISC",
            "url": "http://www.securitytracker.com/id/1041707"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:2808",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:2808"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:2809",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:2809"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:2810",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:2810"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:2811",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:2811"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:3216",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:3216"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:3217",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:3217"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:3218",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:3218"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:3219",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:3219"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2017:3220",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2017:3220"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2018:2740",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2018:2740"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2018:2741",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2018:2741"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2018:2742",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2018:2742"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2018:2743",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2018:2743"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2019:0136",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2019:0136"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2019:0137",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2019:0137"
          },
          {
            "name": "https://access.redhat.com/errata/RHSA-2019:0139",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2019:0139"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582"
          },
          {
            "name": "https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237",
            "refsource": "MISC",
            "url": "https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,2.5.1)",
          "affected_versions": "All versions before 2.5.1",
          "cvss_v2": "AV:N/AC:L/Au:S/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-937"
          ],
          "date": "2021-09-08",
          "description": "It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the \"InResponseTo\" field in the response.",
          "fixed_versions": [
            "2.5.1"
          ],
          "identifier": "CVE-2017-2582",
          "identifiers": [
            "GHSA-c77r-6f64-478q",
            "CVE-2017-2582"
          ],
          "not_impacted": "All versions starting from 2.5.1",
          "package_slug": "maven/org.keycloak/keycloak-core",
          "pubdate": "2018-10-18",
          "solution": "Upgrade to version 2.5.1 or above.",
          "title": "Exposure of Sensitive Information to an Unauthorized Actor",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-2582",
            "https://github.com/advisories/GHSA-c77r-6f64-478q"
          ],
          "uuid": "eb1fb8b3-25a1-4f14-a11e-2e9fe52937fd"
        },
        {
          "affected_range": "\u003c2.5.1",
          "affected_versions": "All versions before 2.5.1",
          "cvss_v2": "AV:N/AC:L/Au:S/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-937"
          ],
          "date": "2019-01-23",
          "description": "It was found that while parsing the SAML messages the `StaxParserUtil` class of keycloak replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request `ID` field to be the chosen system property which could be obtained in the `InResponseTo` field in the response.",
          "fixed_versions": [
            "2.5.1"
          ],
          "identifier": "CVE-2017-2582",
          "identifiers": [
            "CVE-2017-2582"
          ],
          "not_impacted": "All versions starting from 2.5.1",
          "package_slug": "npm/keycloak-connect",
          "pubdate": "2018-07-26",
          "solution": "Upgrade to version 2.5.1 or above.",
          "title": "Information Exposure",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-2582",
            "http://www.securityfocus.com/bid/101046",
            "http://www.securitytracker.com/id/1041707",
            "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582"
          ],
          "uuid": "1634c3d9-74f6-47fe-838d-2ed94e685d86"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.5.1",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.0.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.1.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  },
                  {
                    "cpe23Uri": "cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.4.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": true
                  }
                ],
                "operator": "OR"
              },
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": false
                  },
                  {
                    "cpe23Uri": "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": false
                  },
                  {
                    "cpe23Uri": "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": false
                  }
                ],
                "operator": "OR"
              }
            ],
            "cpe_match": [],
            "operator": "AND"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2017-2582"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the \"InResponseTo\" field in the response."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-200"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582"
            },
            {
              "name": "RHSA-2017:3220",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:3220"
            },
            {
              "name": "RHSA-2017:3219",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:3219"
            },
            {
              "name": "RHSA-2017:3218",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:3218"
            },
            {
              "name": "RHSA-2017:3217",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:3217"
            },
            {
              "name": "RHSA-2017:3216",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:3216"
            },
            {
              "name": "RHSA-2017:2811",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:2811"
            },
            {
              "name": "RHSA-2017:2810",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:2810"
            },
            {
              "name": "RHSA-2017:2809",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:2809"
            },
            {
              "name": "RHSA-2017:2808",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2017:2808"
            },
            {
              "name": "101046",
              "refsource": "BID",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/101046"
            },
            {
              "name": "RHSA-2018:2743",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2018:2743"
            },
            {
              "name": "RHSA-2018:2742",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2018:2742"
            },
            {
              "name": "RHSA-2018:2741",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2018:2741"
            },
            {
              "name": "RHSA-2018:2740",
              "refsource": "REDHAT",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2018:2740"
            },
            {
              "name": "1041707",
              "refsource": "SECTRACK",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securitytracker.com/id/1041707"
            },
            {
              "name": "RHSA-2019:0139",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2019:0139"
            },
            {
              "name": "RHSA-2019:0137",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2019:0137"
            },
            {
              "name": "RHSA-2019:0136",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2019:0136"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "NONE",
            "baseScore": 4.0,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.0"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2019-01-23T11:29Z",
      "publishedDate": "2018-07-26T17:29Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...