RHSA-2018_3249

Vulnerability from csaf_redhat - Published: 2018-10-30 13:28 - Updated: 2024-11-22 12:08
Summary
Red Hat Security Advisory: setup security and bug fix update
Severity
Low
Notes
Topic: An update for setup is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Low. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details: The setup package contains a set of important default system configuration and setup files. Examples include /etc/passwd, /etc/group, and /etc/profile. Other examples are the default lists of reserved user IDs, reserved ports, reserved protocols, allowed shells, allowed secure terminals. Security Fix(es): * setup: nologin listed in /etc/shells violates security expectations (CVE-2018-1113) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes: For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.6 Release Notes linked from the References section.
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

Setup in Fedora and Red Hat Enterprise Linux added /sbin/nologin and /usr/sbin/nologin to /etc/shells. This violates security assumptions made by pam_shells and some daemons which allow access based on a user's shell being listed in /etc/shells. Under some circumstances, users which had their shell changed to /sbin/nologin could still access the system.

CWE-285 - Improper Authorization
Vendor Fix For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2018:3249

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Low"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for setup is now available for Red Hat Enterprise Linux 7.\n\nRed Hat Product Security has rated this update as having a security impact of Low. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "The setup package contains a set of important default system configuration and setup files. Examples include /etc/passwd, /etc/group, and /etc/profile. Other examples are the default lists of reserved user IDs, reserved ports, reserved protocols, allowed shells, allowed secure terminals.\n\nSecurity Fix(es):\n\n* setup: nologin listed in /etc/shells violates security expectations (CVE-2018-1113)\n\nFor more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 7.6 Release Notes linked from the References section.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2018:3249",
        "url": "https://access.redhat.com/errata/RHSA-2018:3249"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#low",
        "url": "https://access.redhat.com/security/updates/classification/#low"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_release_notes/index",
        "url": "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_release_notes/index"
      },
      {
        "category": "external",
        "summary": "1566469",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1566469"
      },
      {
        "category": "external",
        "summary": "1571094",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1571094"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_3249.json"
      }
    ],
    "title": "Red Hat Security Advisory: setup security and bug fix update",
    "tracking": {
      "current_release_date": "2024-11-22T12:08:10+00:00",
      "generator": {
        "date": "2024-11-22T12:08:10+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2018:3249",
      "initial_release_date": "2018-10-30T13:28:41+00:00",
      "revision_history": [
        {
          "date": "2018-10-30T13:28:41+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2018-10-30T13:28:41+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-22T12:08:10+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Client (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux Client (v. 7)",
                  "product_id": "7Client-7.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::client"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux ComputeNode (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux ComputeNode (v. 7)",
                  "product_id": "7ComputeNode-7.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::computenode"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Server (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux Server (v. 7)",
                  "product_id": "7Server-7.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::server"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)",
                  "product_id": "7Server-Alt-7.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::server"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Workstation (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux Workstation (v. 7)",
                  "product_id": "7Workstation-7.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::workstation"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "setup-0:2.8.71-10.el7.src",
                "product": {
                  "name": "setup-0:2.8.71-10.el7.src",
                  "product_id": "setup-0:2.8.71-10.el7.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/setup@2.8.71-10.el7?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "setup-0:2.8.71-10.el7.noarch",
                "product": {
                  "name": "setup-0:2.8.71-10.el7.noarch",
                  "product_id": "setup-0:2.8.71-10.el7.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/setup@2.8.71-10.el7?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.noarch as a component of Red Hat Enterprise Linux Client (v. 7)",
          "product_id": "7Client-7.6:setup-0:2.8.71-10.el7.noarch"
        },
        "product_reference": "setup-0:2.8.71-10.el7.noarch",
        "relates_to_product_reference": "7Client-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.src as a component of Red Hat Enterprise Linux Client (v. 7)",
          "product_id": "7Client-7.6:setup-0:2.8.71-10.el7.src"
        },
        "product_reference": "setup-0:2.8.71-10.el7.src",
        "relates_to_product_reference": "7Client-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.noarch as a component of Red Hat Enterprise Linux ComputeNode (v. 7)",
          "product_id": "7ComputeNode-7.6:setup-0:2.8.71-10.el7.noarch"
        },
        "product_reference": "setup-0:2.8.71-10.el7.noarch",
        "relates_to_product_reference": "7ComputeNode-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.src as a component of Red Hat Enterprise Linux ComputeNode (v. 7)",
          "product_id": "7ComputeNode-7.6:setup-0:2.8.71-10.el7.src"
        },
        "product_reference": "setup-0:2.8.71-10.el7.src",
        "relates_to_product_reference": "7ComputeNode-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.noarch as a component of Red Hat Enterprise Linux Server (v. 7)",
          "product_id": "7Server-7.6:setup-0:2.8.71-10.el7.noarch"
        },
        "product_reference": "setup-0:2.8.71-10.el7.noarch",
        "relates_to_product_reference": "7Server-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.src as a component of Red Hat Enterprise Linux Server (v. 7)",
          "product_id": "7Server-7.6:setup-0:2.8.71-10.el7.src"
        },
        "product_reference": "setup-0:2.8.71-10.el7.src",
        "relates_to_product_reference": "7Server-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.noarch as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)",
          "product_id": "7Server-Alt-7.6:setup-0:2.8.71-10.el7.noarch"
        },
        "product_reference": "setup-0:2.8.71-10.el7.noarch",
        "relates_to_product_reference": "7Server-Alt-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.src as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)",
          "product_id": "7Server-Alt-7.6:setup-0:2.8.71-10.el7.src"
        },
        "product_reference": "setup-0:2.8.71-10.el7.src",
        "relates_to_product_reference": "7Server-Alt-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.noarch as a component of Red Hat Enterprise Linux Workstation (v. 7)",
          "product_id": "7Workstation-7.6:setup-0:2.8.71-10.el7.noarch"
        },
        "product_reference": "setup-0:2.8.71-10.el7.noarch",
        "relates_to_product_reference": "7Workstation-7.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "setup-0:2.8.71-10.el7.src as a component of Red Hat Enterprise Linux Workstation (v. 7)",
          "product_id": "7Workstation-7.6:setup-0:2.8.71-10.el7.src"
        },
        "product_reference": "setup-0:2.8.71-10.el7.src",
        "relates_to_product_reference": "7Workstation-7.6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2018-1113",
      "cwe": {
        "id": "CWE-285",
        "name": "Improper Authorization"
      },
      "discovery_date": "2018-04-24T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1571094"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Setup in Fedora and Red Hat Enterprise Linux added /sbin/nologin and /usr/sbin/nologin to /etc/shells. This violates security assumptions made by pam_shells and some daemons which allow access based on a user\u0027s shell being listed in /etc/shells.  Under some circumstances, users which had their shell changed to /sbin/nologin could still access the system.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "setup: nologin listed in /etc/shells violates security expectations",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Preventing a user from accessing the system without deleting their account is not a simple matter. For utmost security, the account should be deleted. Short of this, we recommend a three-pronged approach:\n * change the user\u0027s login shell to a harmless command that is not in \"/etc/shells\" (for example \"/bin/false\") to prevent commands being run on their behalf\n * lock the user\u0027s password with \"usermod -L\" to prevent authentication with pam services\n * prevent access to the user\u0027s home directory with \"chmod 0\" or \"chown root\" and \"chmod 700\" to prevent authentication with ssh keys etc",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "7Client-7.6:setup-0:2.8.71-10.el7.noarch",
          "7Client-7.6:setup-0:2.8.71-10.el7.src",
          "7ComputeNode-7.6:setup-0:2.8.71-10.el7.noarch",
          "7ComputeNode-7.6:setup-0:2.8.71-10.el7.src",
          "7Server-7.6:setup-0:2.8.71-10.el7.noarch",
          "7Server-7.6:setup-0:2.8.71-10.el7.src",
          "7Server-Alt-7.6:setup-0:2.8.71-10.el7.noarch",
          "7Server-Alt-7.6:setup-0:2.8.71-10.el7.src",
          "7Workstation-7.6:setup-0:2.8.71-10.el7.noarch",
          "7Workstation-7.6:setup-0:2.8.71-10.el7.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2018-1113"
        },
        {
          "category": "external",
          "summary": "RHBZ#1571094",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1571094"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2018-1113",
          "url": "https://www.cve.org/CVERecord?id=CVE-2018-1113"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2018-1113",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1113"
        }
      ],
      "release_date": "2018-04-24T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2018-10-30T13:28:41+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "7Client-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Client-7.6:setup-0:2.8.71-10.el7.src",
            "7ComputeNode-7.6:setup-0:2.8.71-10.el7.noarch",
            "7ComputeNode-7.6:setup-0:2.8.71-10.el7.src",
            "7Server-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Server-7.6:setup-0:2.8.71-10.el7.src",
            "7Server-Alt-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Server-Alt-7.6:setup-0:2.8.71-10.el7.src",
            "7Workstation-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Workstation-7.6:setup-0:2.8.71-10.el7.src"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2018:3249"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 4.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.0"
          },
          "products": [
            "7Client-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Client-7.6:setup-0:2.8.71-10.el7.src",
            "7ComputeNode-7.6:setup-0:2.8.71-10.el7.noarch",
            "7ComputeNode-7.6:setup-0:2.8.71-10.el7.src",
            "7Server-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Server-7.6:setup-0:2.8.71-10.el7.src",
            "7Server-Alt-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Server-Alt-7.6:setup-0:2.8.71-10.el7.src",
            "7Workstation-7.6:setup-0:2.8.71-10.el7.noarch",
            "7Workstation-7.6:setup-0:2.8.71-10.el7.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ],
      "title": "setup: nologin listed in /etc/shells violates security expectations"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…