rhsa-2003_225
Vulnerability from csaf_redhat
Published
2003-07-14 16:12
Modified
2024-11-21 22:44
Summary
Red Hat Security Advisory: : : : Updated LPRng packages fix psbanner vulnerability

Notes

Topic
Updated LPRng packages for Red Hat Linux on IBM iSeries and pSeries systems resolve a temporary file vulnerability and an insecure default.
Details
LPRng is a print spooler. LPRng includes a program, psbanner, that can be used to produce Postscript banner pages to separate print jobs. A vulnerability has been found in psbanner, which creates a temporary file with a known filename in an insecure manner. An attacker could create a symbolic link and cause arbitrary files to be written as the 'lp' user. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0136 to this issue. Note: psbanner is not used by the default Red Hat Linux LPRng configuration. With its default configuration, LPRng accepts job submissions from any host, which is not appropriate in a workstation environment. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2002-0378 to this issue. The updated packages from this advisory change the job submission policy (in /etc/lpd.perms) so that jobs from remote hosts are refused by default and contain a patch so that psbanner does not create the temporary file. Those sites running print servers may want to adjust this policy as appropriate; for example, to give access to certain hosts or subnets. Refer to the lpd.perms(5) man page for details. Note: Default installations of Red Hat Linux 7.1 include ipchains rules blocking remote access to the print spooler IP port; as a result default installations already reject remote job submissions. IMPORTANT: There are special instructions for installing this update at the end of the "Solution" 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.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "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 LPRng packages for Red Hat Linux on IBM iSeries and pSeries systems\nresolve a temporary file vulnerability and an insecure default.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "LPRng is a print spooler.  \n\nLPRng includes a program, psbanner, that can be used to produce Postscript\nbanner pages to separate print jobs.   A vulnerability has been found in\npsbanner, which creates a temporary file with a known filename in an\ninsecure manner.  An attacker could create a symbolic link and cause\narbitrary files to be written as the \u0027lp\u0027 user.  The Common Vulnerabilities\nand Exposures project (cve.mitre.org) has assigned the name CAN-2003-0136\nto this issue.\n\nNote: psbanner is not used by the default Red Hat Linux LPRng configuration.\n\nWith its default configuration, LPRng accepts job submissions from any\nhost, which is not appropriate in a workstation environment. The Common\nVulnerabilities and Exposures project (cve.mitre.org) has assigned the name\nCAN-2002-0378 to this issue.\n\nThe updated packages from this advisory change the job submission\npolicy (in /etc/lpd.perms) so that jobs from remote hosts are refused\nby default and contain a patch so that psbanner does not create\nthe temporary file.\n\nThose sites running print servers may want to adjust this policy as\nappropriate; for example, to give access to certain hosts or subnets.\nRefer to the lpd.perms(5) man page for details.\n\nNote: Default installations of Red Hat Linux 7.1 include ipchains rules\nblocking remote access to the print spooler IP port; as a result default\ninstallations already reject remote job submissions.  \n\nIMPORTANT: There are special instructions for installing this update at\nthe end of the \"Solution\" 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-2003:225",
        "url": "https://access.redhat.com/errata/RHSA-2003:225"
      },
      {
        "category": "external",
        "summary": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188366",
        "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188366"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2003/rhsa-2003_225.json"
      }
    ],
    "title": "Red Hat Security Advisory: : : : Updated LPRng packages fix psbanner vulnerability",
    "tracking": {
      "current_release_date": "2024-11-21T22:44:37+00:00",
      "generator": {
        "date": "2024-11-21T22:44:37+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2003:225",
      "initial_release_date": "2003-07-14T16:12:00+00:00",
      "revision_history": [
        {
          "date": "2003-07-14T16:12:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2003-07-14T00:00:00+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-21T22:44:37+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-0378",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1616765"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "The default configuration of LPRng print spooler in Red Hat Linux 7.0 through 7.3, Mandrake 8.1 and 8.2, and other operating systems, accepts print jobs from arbitrary remote hosts.",
          "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-0378"
        },
        {
          "category": "external",
          "summary": "RHBZ#1616765",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1616765"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2002-0378",
          "url": "https://www.cve.org/CVERecord?id=CVE-2002-0378"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2002-0378",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2002-0378"
        }
      ],
      "release_date": "2002-06-10T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2003-07-14T16:12: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.\n\nAfter upgrading, you should check that the new configuration file is\nactivated. To do this, type the following command:\n\ngrep \"X NOT SERVER\" /etc/lpd.perms\n\nIf this command returns no output, you must put the new configuration file\nin place by typing:\n\nmv /etc/lpd.perms.rpmnew /etc/lpd.perms",
          "product_ids": [
            "Red Hat Linux 7.1"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2003:225"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "security flaw"
    },
    {
      "cve": "CVE-2003-0136",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1616980"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "psbanner in the LPRng package allows local users to overwrite arbitrary files via a symbolic link attack on the /tmp/before file.",
          "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-0136"
        },
        {
          "category": "external",
          "summary": "RHBZ#1616980",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1616980"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2003-0136",
          "url": "https://www.cve.org/CVERecord?id=CVE-2003-0136"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2003-0136",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2003-0136"
        }
      ],
      "release_date": "2003-04-09T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2003-07-14T16:12: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.\n\nAfter upgrading, you should check that the new configuration file is\nactivated. To do this, type the following command:\n\ngrep \"X NOT SERVER\" /etc/lpd.perms\n\nIf this command returns no output, you must put the new configuration file\nin place by typing:\n\nmv /etc/lpd.perms.rpmnew /etc/lpd.perms",
          "product_ids": [
            "Red Hat Linux 7.1"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2003:225"
        }
      ],
      "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.