gsd-2017-2667
Vulnerability from gsd
Modified
2022-05-13 00:00
Details
Hammer CLI, a CLI utility for Foreman, before version 0.10.0, did not explicitly set the verify_ssl flag for apipie-bindings that disable it by default. As a result the server certificates are not checked and connections are prone to man-in-the-middle attacks.
Aliases



{
  "GSD": {
    "alias": "CVE-2017-2667",
    "description": "Hammer CLI, a CLI utility for Foreman, before version 0.10.0, did not explicitly set the verify_ssl flag for apipie-bindings that disable it by default. As a result the server certificates are not checked and connections are prone to man-in-the-middle attacks.",
    "id": "GSD-2017-2667",
    "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": "hammer_cli_foreman",
            "purl": "pkg:gem/hammer_cli_foreman"
          }
        }
      ],
      "aliases": [
        "CVE-2017-2667",
        "GHSA-77h8-xr85-3x5q"
      ],
      "details": "Hammer CLI, a CLI utility for Foreman, before version 0.10.0, did not\nexplicitly set the verify_ssl flag for apipie-bindings that disable it by default.\nAs a result the server certificates are not checked and connections are prone to\nman-in-the-middle attacks.\n",
      "id": "GSD-2017-2667",
      "modified": "2022-05-13T00:00:00.000Z",
      "published": "2022-05-13T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2018:0336"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1436262"
        },
        {
          "type": "WEB",
          "url": "http://projects.theforeman.org/issues/19033"
        },
        {
          "type": "WEB",
          "url": "http://www.securityfocus.com/bid/97153"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 8.1,
          "type": "CVSS_V3"
        }
      ],
      "summary": "hammer_cli_foreman Improper Certificate Validation vulnerability"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2017-2667",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Hammer CLI",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "0.10.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Foreman"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Hammer CLI, a CLI utility for Foreman, before version 0.10.0, did not explicitly set the verify_ssl flag for apipie-bindings that disable it by default. As a result the server certificates are not checked and connections are prone to man-in-the-middle attacks."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-345",
                "lang": "eng",
                "value": "CWE-345"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://access.redhat.com/errata/RHSA-2018:0336",
            "refsource": "MISC",
            "url": "https://access.redhat.com/errata/RHSA-2018:0336"
          },
          {
            "name": "http://projects.theforeman.org/issues/19033",
            "refsource": "MISC",
            "url": "http://projects.theforeman.org/issues/19033"
          },
          {
            "name": "http://www.securityfocus.com/bid/97153",
            "refsource": "MISC",
            "url": "http://www.securityfocus.com/bid/97153"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1436262",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1436262"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2017-2667",
      "cvss_v3": 8.1,
      "date": "2022-05-13",
      "description": "Hammer CLI, a CLI utility for Foreman, before version 0.10.0, did not\nexplicitly set the verify_ssl flag for apipie-bindings that disable it by default.\nAs a result the server certificates are not checked and connections are prone to\nman-in-the-middle attacks.\n",
      "gem": "hammer_cli_foreman",
      "ghsa": "77h8-xr85-3x5q",
      "patched_versions": [
        "\u003e= 0.10.0"
      ],
      "related": {
        "url": [
          "https://bugzilla.redhat.com/show_bug.cgi?id=1436262",
          "http://projects.theforeman.org/issues/19033",
          "http://www.securityfocus.com/bid/97153"
        ]
      },
      "title": "hammer_cli_foreman Improper Certificate Validation vulnerability",
      "url": "https://access.redhat.com/errata/RHSA-2018:0336"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c0.10.0",
          "affected_versions": "All versions before 0.10.0",
          "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-295",
            "CWE-937"
          ],
          "date": "2019-10-09",
          "description": "Hammer CLI, a CLI utility for Foreman, does not explicitly set the `verify_ssl` flag for `apipie-bindings`. As a result the server certificates are not checked and connections are prone to man-in-the-middle attacks.",
          "fixed_versions": [
            "0.10.0"
          ],
          "identifier": "CVE-2017-2667",
          "identifiers": [
            "CVE-2017-2667"
          ],
          "not_impacted": "All versions starting from 0.10.0",
          "package_slug": "gem/hammer_cli_foreman",
          "pubdate": "2018-03-12",
          "solution": "Upgrade to version 0.10.0 or above.",
          "title": "Improper Certificate Validation",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-2667",
            "http://projects.theforeman.org/issues/19033",
            "http://www.securityfocus.com/bid/97153",
            "https://bugzilla.redhat.com/show_bug.cgi?id=1436262"
          ],
          "uuid": "6129455d-d9f2-45c0-bd5f-6f9051bf2d7b"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:theforeman:hammer_cli:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8E6002FC-2700-44AA-B4AA-2986C0F09948",
                    "versionEndExcluding": "0.10.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:redhat:satellite:6.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "87F6E32E-6AF3-489A-AFEF-D5309E0D1779",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:redhat:satellite_capsule:6.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "85FB21E6-FFBC-4286-959E-7418C6A356E9",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "Hammer CLI, a CLI utility for Foreman, before version 0.10.0, did not explicitly set the verify_ssl flag for apipie-bindings that disable it by default. As a result the server certificates are not checked and connections are prone to man-in-the-middle attacks."
          },
          {
            "lang": "es",
            "value": "Hammer CLI, una utilidad CLI para Foreman, en versiones anteriores a la 0.10.0, no estableci\u00f3 expl\u00edcitamente la marca verify_ssl para apipie-bindings que lo deshabilita por defecto. Como resultado, los certificados del servidor no se comprueban y las conexiones son propensas a ataques Man-in-the-Middle (MitM)."
          }
        ],
        "id": "CVE-2017-2667",
        "lastModified": "2024-01-26T17:46:13.170",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "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,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2018-03-12T15:29:00.617",
        "references": [
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Issue Tracking",
              "Vendor Advisory"
            ],
            "url": "http://projects.theforeman.org/issues/19033"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Broken Link",
              "Third Party Advisory",
              "VDB Entry"
            ],
            "url": "http://www.securityfocus.com/bid/97153"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://access.redhat.com/errata/RHSA-2018:0336"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Issue Tracking"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1436262"
          }
        ],
        "sourceIdentifier": "secalert@redhat.com",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-295"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-345"
              }
            ],
            "source": "secalert@redhat.com",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...