rhsa-2003_227
Vulnerability from csaf_redhat
Published
2003-07-08 20:37
Modified
2024-11-21 22:44
Summary
Red Hat Security Advisory: : : : Updated sendmail packages fix vulnerabilities

Notes

Topic
Updated Sendmail packages are available for Red Hat Linux on IBM iSeries and pSeries systems to fix a vulnerability that allows local and possibly remote attackers to gain root privileges as well as a vulnerability that may allow remote attackers to gain root privileges by sending a carefully crafted message. These packages additionally fix a security bug if sendmail is configured to use smrsh.
Details
Sendmail is a widely used Mail Transport Agent (MTA). A vulnerability exists in unpatched Sendmail versions prior to and including 8.12.8. The address parser performs insufficient bounds checking in certain conditions due to a char to int conversion, making it possible for an attacker to take control of the application. This issue is probably locally exploitable and may also be remotely exploitable. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0161 to this issue. During a code audit of Sendmail by ISS, a critical vulnerability was uncovered that affects unpatched versions of Sendmail prior to version 8.12.8. A remote attacker can send a carefully crafted email message which, when processed by Sendmail, causes arbitrary code to be executed as root. A proof-of-concept exploit is reported to exist, but is not believed to be publicly available. Since this vulnerability is message-based, MTAs other than Sendmail may pass on the carefully crafted message. This means that unpatched versions of Sendmail inside a network could still be at risk even if they do not accept external connections directly. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2002-1337 to this issue. In addition, the restricted shell (SMRSH) in Sendmail allows attackers to bypass the intended restrictions of smrsh by inserting additional commands after "||" sequences or "/" characters, which are not properly filtered or verified. A successful attack would allow an attacker who has a local account on a system which has explicitly enabled smrsh to execute arbitrary binaries as themselves by utilizing their .forward file. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2002-1165 to this issue. All users are advised to update to these erratum packages containing backported patches which correct these vulnerabilities.
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.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Critical"
    },
    "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": "Updated Sendmail packages are available for Red Hat Linux on IBM iSeries\nand pSeries systems to fix a vulnerability that allows local and possibly\nremote attackers to gain root privileges as well as a vulnerability that\nmay allow remote attackers to gain root privileges by sending a\ncarefully crafted message.\n\nThese packages additionally fix a security bug if sendmail is configured to\nuse smrsh.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "Sendmail is a widely used Mail Transport Agent (MTA).\n\nA vulnerability exists in unpatched Sendmail versions prior to and\nincluding 8.12.8. The address parser performs insufficient bounds checking\nin certain conditions due to a char to int conversion, making it possible\nfor an attacker to take control of the application.  This issue is probably\nlocally exploitable and may also be remotely exploitable.  The Common\nVulnerabilities and Exposures project (cve.mitre.org) has assigned the name\nCAN-2003-0161 to this issue.\n\nDuring a code audit of Sendmail by ISS, a critical vulnerability was\nuncovered that affects unpatched versions of Sendmail prior to version\n8.12.8. A remote attacker can send a carefully crafted email message\nwhich, when processed by Sendmail, causes arbitrary code to be\nexecuted as root. A proof-of-concept exploit is reported to exist, but is\nnot believed to be publicly available.\n\nSince this vulnerability is message-based, MTAs other than Sendmail\nmay pass on the carefully crafted message. This means that unpatched\nversions of Sendmail inside a network could still be at risk even if\nthey do not accept external connections directly.  The Common\nVulnerabilities and Exposures project (cve.mitre.org) has assigned the name\nCAN-2002-1337 to this issue.\n\nIn addition, the restricted shell (SMRSH) in Sendmail allows attackers to\nbypass the intended restrictions of smrsh by inserting additional commands\nafter \"||\" sequences or \"/\" characters, which are not properly filtered or\nverified. A successful attack would allow an attacker who has a local\naccount on a system which has explicitly enabled smrsh to execute arbitrary\nbinaries as themselves by utilizing their .forward file. The Common\nVulnerabilities and Exposures project (cve.mitre.org) has assigned the name\nCAN-2002-1165 to this issue.\n\nAll users are advised to update to these erratum packages containing\nbackported patches which correct these vulnerabilities.",
        "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-2003:227",
        "url": "https://access.redhat.com/errata/RHSA-2003:227"
      },
      {
        "category": "external",
        "summary": "http://www.cert.org/advisories/CA-2003-07.html",
        "url": "http://www.cert.org/advisories/CA-2003-07.html"
      },
      {
        "category": "external",
        "summary": "http://marc.theaimsgroup.com/?l=bugtraq\u0026m=103350914307274",
        "url": "http://marc.theaimsgroup.com/?l=bugtraq\u0026m=103350914307274"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2003/rhsa-2003_227.json"
      }
    ],
    "title": "Red Hat Security Advisory: : : : Updated sendmail packages fix vulnerabilities",
    "tracking": {
      "current_release_date": "2024-11-21T22:44:02+00:00",
      "generator": {
        "date": "2024-11-21T22:44:02+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2003:227",
      "initial_release_date": "2003-07-08T20:37:00+00:00",
      "revision_history": [
        {
          "date": "2003-07-08T20:37:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2003-07-08T00:00:00+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-21T22:44:02+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Linux 7.1",
                "product": {
                  "name": "Red Hat Linux 7.1",
                  "product_id": "Red Hat Linux 7.1",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:linux:7.1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Linux"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2002-1165",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1616854"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Sendmail Consortium\u0027s Restricted Shell (SMRSH) in Sendmail 8.12.6, 8.11.6-15, and possibly other versions after 8.11 from 5/19/1998, allows attackers to bypass the intended restrictions of smrsh by inserting additional commands after (1) \"||\" sequences or (2) \"/\" characters, which are not properly filtered or verified.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "security flaw",
          "title": "Vulnerability summary"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Linux 7.1"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2002-1165"
        },
        {
          "category": "external",
          "summary": "RHBZ#1616854",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1616854"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2002-1165",
          "url": "https://www.cve.org/CVERecord?id=CVE-2002-1165"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2002-1165",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2002-1165"
        }
      ],
      "release_date": "2002-10-01T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2003-07-08T20:37:00+00:00",
          "details": "Before applying this update, make sure all previously released errata\nrelevant to your system have been applied.\n\nTo update all RPMs for your particular architecture, run:\n\nrpm -Fvh [filenames]\n\nwhere [filenames] is a list of the RPMs you wish to upgrade.  Only those\nRPMs which are currently installed will be updated.  Those RPMs which are\nnot installed but included in the list will not be updated.  Note that you\ncan also use wildcards (*.rpm) if your current directory *only* contains the\ndesired RPMs.\n\nPlease note that this update is also available via Red Hat Network.  Many\npeople find this an easier way to apply updates.  To use Red Hat Network,\nlaunch the Red Hat Update Agent with the following command:\n\nup2date\n\nThis will start an interactive process that will result in the appropriate\nRPMs being upgraded on your system.",
          "product_ids": [
            "Red Hat Linux 7.1"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2003:227"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ],
      "title": "security flaw"
    },
    {
      "cve": "CVE-2002-1337",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1616877"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Buffer overflow in Sendmail 5.79 to 8.12.7 allows remote attackers to execute arbitrary code via certain formatted address fields, related to sender and recipient header comments as processed by the crackaddr function of headers.c.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "security flaw",
          "title": "Vulnerability summary"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Linux 7.1"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2002-1337"
        },
        {
          "category": "external",
          "summary": "RHBZ#1616877",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1616877"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2002-1337",
          "url": "https://www.cve.org/CVERecord?id=CVE-2002-1337"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2002-1337",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2002-1337"
        }
      ],
      "release_date": "2003-03-03T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2003-07-08T20:37:00+00:00",
          "details": "Before applying this update, make sure all previously released errata\nrelevant to your system have been applied.\n\nTo update all RPMs for your particular architecture, run:\n\nrpm -Fvh [filenames]\n\nwhere [filenames] is a list of the RPMs you wish to upgrade.  Only those\nRPMs which are currently installed will be updated.  Those RPMs which are\nnot installed but included in the list will not be updated.  Note that you\ncan also use wildcards (*.rpm) if your current directory *only* contains the\ndesired RPMs.\n\nPlease note that this update is also available via Red Hat Network.  Many\npeople find this an easier way to apply updates.  To use Red Hat Network,\nlaunch the Red Hat Update Agent with the following command:\n\nup2date\n\nThis will start an interactive process that will result in the appropriate\nRPMs being upgraded on your system.",
          "product_ids": [
            "Red Hat Linux 7.1"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2003:227"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Critical"
        }
      ],
      "title": "security flaw"
    },
    {
      "cve": "CVE-2003-0161",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1616990"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "The prescan() function in the address parser (parseaddr.c) in Sendmail before 8.12.9 does not properly handle certain conversions from char and int types, which can cause a length check to be disabled when Sendmail misinterprets an input value as a special \"NOCHAR\" control value, allowing attackers to cause a denial of service and possibly execute arbitrary code via a buffer overflow attack using messages, a different vulnerability than CVE-2002-1337.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "security flaw",
          "title": "Vulnerability summary"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Linux 7.1"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2003-0161"
        },
        {
          "category": "external",
          "summary": "RHBZ#1616990",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1616990"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2003-0161",
          "url": "https://www.cve.org/CVERecord?id=CVE-2003-0161"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2003-0161",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2003-0161"
        }
      ],
      "release_date": "2003-03-29T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2003-07-08T20:37:00+00:00",
          "details": "Before applying this update, make sure all previously released errata\nrelevant to your system have been applied.\n\nTo update all RPMs for your particular architecture, run:\n\nrpm -Fvh [filenames]\n\nwhere [filenames] is a list of the RPMs you wish to upgrade.  Only those\nRPMs which are currently installed will be updated.  Those RPMs which are\nnot installed but included in the list will not be updated.  Note that you\ncan also use wildcards (*.rpm) if your current directory *only* contains the\ndesired RPMs.\n\nPlease note that this update is also available via Red Hat Network.  Many\npeople find this an easier way to apply updates.  To use Red Hat Network,\nlaunch the Red Hat Update Agent with the following command:\n\nup2date\n\nThis will start an interactive process that will result in the appropriate\nRPMs being upgraded on your system.",
          "product_ids": [
            "Red Hat Linux 7.1"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2003:227"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Critical"
        }
      ],
      "title": "security flaw"
    }
  ]
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.