S.u.S.E. 5.2 lpc漏洞

admin 2022-07-12 04:48:10 CNNVD漏洞 来源:ZONE.CI 全球网 0 阅读模式

漏洞信息详情

S.u.S.E. 5.2 lpc漏洞

  • CNNVD编号:CNNVD-199902-008
  • 危害等级: 高危
  • CVE编号: CVE-1999-0363
  • 漏洞类型: 缓冲区溢出
  • 发布时间: 1999-02-02
  • 威胁类型: 本地
  • 更新时间: 2005-05-02
  • 厂        商: plp
  • 漏洞来源: on Feb 3, 1999.');">First posted to Bu...

漏洞简介

SuSE 5.2 PLP lpc程序存在漏洞。该程序存在缓冲区溢出,导致根妥协。

漏洞公告

There is an alternative lpc suite that can be used, or the patch below. lpr, the alternative to lpc, is included in the S.u.S.E. 5.2 source library in the form of lpr-tlr-971016.tar.gz (or newer). If you wish to continue using the vulnerable version of lpc, apply the following patch: --- /usr/src/packages/SOURCES/origplp/plp-4.0.3/src/common/control_ops.c Thu Jun 15 14:09:12 1995 +++ /usr/src/packages/SOURCES/newplp/plp-4.0.3/src/common/control_ops.c Wed Feb 3 12:36:17 1999 @@ -676,7 +676,7 @@ att_mark = False; if ((afp = fopen_daemon (Attach_file, "r"))) { /* Try to open attach file */ - if (fscanf (afp, "%s", afname) == 1) { + if (fgets (afname, sizeof(afname), afp) != NULL) { if (strsame (afname, Printer)) { fatal (XLOG_INFO, "Printer '%s' attached to itself", Printer); } @@ -1622,7 +1622,7 @@ if ((s = C_abort ())) { if (stat (Attach_file, &statb) == 0) { if ((afp = fopen_daemon (Attach_file, "r"))) { - if (fscanf (afp, "%s", afname) != 1) { + if (fgets (afname, sizeof(afname), afp) != NULL) { fatal (XLOG_INFO, "attach file for printer %s corrupted!", Printer); } --- /usr/src/packages/SOURCES/origplp/plp-4.0.3/src/common/displayq.c Tue Aug 29 12:44:35 1995 +++ /usr/src/packages/SOURCES/newplp/plp-4.0.3/src/common/displayq.c Wed Feb 3 12:35:37 1999 @@ -99,7 +99,7 @@ * check to see if attached to another printerq, alter printer if attached */ if (Attach_file && *Attach_file && ((afp = fopen (Attach_file, "r")))) { - if (fscanf (afp, "%s", afname) == 1) { + if (fgets (afname, sizeof(afname), afp) != NULL) { if (strsame (afname, Printer)) { fatal (XLOG_INFO, "Printer '%s' attached to itself", Printer); }

参考网址

来源: BID 名称: 328 链接:http://www.securityfocus.com/bid/328

受影响实体

  • Plp Line_printer_control  

补丁

    暂无

weinxin
特别声明
本站(ZONE.CI)所有文章仅供技术研究,若将其信息做其他用途,由用户承担全部法律及连带责任,本站不承担任何法律及连带责任,请遵守中华人民共和国安全法.
S.u.S.E. 5.2 lpc漏洞 CNNVD漏洞

S.u.S.E. 5.2 lpc漏洞

漏洞信息详情S.u.S.E. 5.2 lpc漏洞CNNVD编号:CNNVD-199902-008危害等级: 高危CVE编号:CVE-1999-0363漏洞类型:缓冲区溢出发布时
评论:0   参与:  0