CVE-2005-2149
CVSS10.0
发布时间 :2005-07-06 00:00:00
修订时间 :2011-03-07 21:23:29
NMCOPS    

[原文]config.php in Cacti 0.8.6e and earlier allows remote attackers to set the no_http_headers switch, then modify session information to gain privileges and disable the use of addslashes to conduct SQL injection attacks.


[CNNVD]Cacti config.php 绕过认证漏洞(CNNVD-200507-054)

        Cacti是一款轮循数据库(RRD)工具,可帮助从数据库信息创建图形。
        Cacti 0.8.6e及之前版本中的config.php存在绕过认证漏洞。
        远程攻击者通过设置no_http_header,修改session信息,可绕过认证获取特权,有可能导致SQL注入。

- CVSS (基础分值)

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

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

cpe:/a:the_cacti_group:cacti:0.8.6a
cpe:/a:the_cacti_group:cacti:0.8.6b
cpe:/a:the_cacti_group:cacti:0.8.6e
cpe:/a:the_cacti_group:cacti:0.8.5
cpe:/a:the_cacti_group:cacti:0.8.6d
cpe:/a:the_cacti_group:cacti:0.8.2
cpe:/a:the_cacti_group:cacti:0.8.2a
cpe:/a:the_cacti_group:cacti:0.8.4
cpe:/a:the_cacti_group:cacti:0.8.6c
cpe:/a:the_cacti_group:cacti:0.8
cpe:/a:the_cacti_group:cacti:0.8.1
cpe:/a:the_cacti_group:cacti:0.8.5a
cpe:/a:the_cacti_group:cacti:0.8.3
cpe:/a:the_cacti_group:cacti:0.8.6
cpe:/a:the_cacti_group:cacti:0.8.3a

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.hardened-php.net/advisory-052005.php
(VENDOR_ADVISORY)  MISC  http://www.hardened-php.net/advisory-052005.php
http://www.cacti.net/downloads/patches/0.8.6e/cacti-0.8.6f_security.patch
(PATCH)  CONFIRM  http://www.cacti.net/downloads/patches/0.8.6e/cacti-0.8.6f_security.patch
http://sourceforge.net/mailarchive/forum.php?forum_id=10360&max_rows=25&style=flat&viewmonth=200507&viewday=1
(PATCH)  MLIST  [cacti-announce] 20050701 Cacti 0.8.6f Released
http://www.vupen.com/english/advisories/2005/0951
(UNKNOWN)  VUPEN  ADV-2005-0951
http://www.securityfocus.com/archive/1/404040
(UNKNOWN)  BUGTRAQ  20050702 Advisory 05/2005: Cacti Authentification/Addslashes Bypass Vulnerability
http://www.securityfocus.com/bid/14130
(UNKNOWN)  BID  14130
http://www.debian.org/security/2005/dsa-764
(UNKNOWN)  DEBIAN  DSA-764
http://securitytracker.com/id?1014361
(UNKNOWN)  SECTRACK  1014361

- 漏洞信息

Cacti config.php 绕过认证漏洞
危急 SQL注入
2005-07-06 00:00:00 2006-08-28 00:00:00
远程  
        Cacti是一款轮循数据库(RRD)工具,可帮助从数据库信息创建图形。
        Cacti 0.8.6e及之前版本中的config.php存在绕过认证漏洞。
        远程攻击者通过设置no_http_header,修改session信息,可绕过认证获取特权,有可能导致SQL注入。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        http://www.cacti.net/download_cacti.php

- 漏洞信息 (F38833)

Debian Linux Security Advisory 764-1 (PacketStormID:F38833)
2005-07-22 00:00:00
Debian  security.debian.org
advisory,vulnerability
linux,debian
CVE-2005-1524,CVE-2005-1525,CVE-2005-1526,CVE-2005-2148,CVE-2005-2149
[点击下载]

Debian Security Advisory DSA 764-1 - Several vulnerabilities have been discovered in cacti, a round-robin database (RRD) tool that helps create graphs from database information.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 764-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
July 21st, 2005                         http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : cacti
Vulnerability  : several
Problem-Type   : remote
Debian-specific: no
CVE IDs        : CAN-2005-1524 CAN-2005-1525 CAN-2005-1526 CAN-2005-2148 CAN-2005-2149
Debian Bug     : 316590 315703

Several vulnerabilities have been discovered in cacti, a round-robin
database (RRD) tool that helps create graphs from database
information.  The Common Vulnerabilities and Exposures Project
identifies the following problems:

CAN-2005-1524

    Maciej Piotr Falkiewicz and an anonymous researcher discovered an
    input validation bug that allows an attacker to include arbitrary
    PHP code from remote sites which will allow the execution of
    arbitrary code on the server running cacti.

CAN-2005-1525

    Due to mising input validation cacti allows a remote attacker to
    insert arbitrary SQL statements.

CAN-2005-1526

    Maciej Piotr Falkiewicz discovered an input validation bug that
    allows an attacker to include arbitrary PHP code from remote sites
    which will allow the execution of arbitrary code on the server
    running cacti.

CAN-2005-2148

    Stefan Esser discovered that the update for the abovely mentioned
    vulnerabilities does not perform proper input validation to
    protect against common attacks.

CAN-2005-2149

    Stefan Esser discovered that the update for CAN-2005-1525 allows
    remote attackers to modify session information to gain privileges
    and disable the use of addslashes to protect against SQL
    injection.

For the old stable distribution (woody) these problems have been fixed in
version 0.6.7-2.5.

For the stable distribution (sarge) these problems have been fixed in
version 0.8.6c-7sarge2.

For the unstable distribution (sid) these problems have been fixed in
version 0.8.6e-1.

We recommend that you upgrade your cacti package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.6.7-2.5.dsc
      Size/MD5 checksum:      565 ca9cffd44ea6e8235005ce8e066fb88e
    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.6.7-2.5.diff.gz
      Size/MD5 checksum:    25286 18aad674e7ef91dafb11af9a02c677d7
    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.6.7.orig.tar.gz
      Size/MD5 checksum:   206608 b004ac1ca1dd18737f0fa685fe18737c

  Architecture independent components:

    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.6.7-2.5_all.deb
      Size/MD5 checksum:   212418 ae47dc9aeb1820c5074fc39c5b6c84bc


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.8.6c-7sarge2.dsc
      Size/MD5 checksum:      595 50f791f80662a02e982e82e4be7e59b5
    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.8.6c-7sarge2.diff.gz
      Size/MD5 checksum:    42575 a9959e2d720a6f7188c5713494b9eaaa
    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.8.6c.orig.tar.gz
      Size/MD5 checksum:  1046586 b4130300f671e773ebea3b8f715912c1

  Architecture independent components:

    http://security.debian.org/pool/updates/main/c/cacti/cacti_0.8.6c-7sarge2_all.deb
      Size/MD5 checksum:  1058544 2b5fe2ca0dc11a199c20f5bf7b3aa7ee


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC3zhkW5ql+IAeqTIRAh4wAKCrgt02H1mCAVIRswU+tokjF4eVIgCfYuNE
V6ZewFZQrF1BzV4LVF1e3EI=
=GhQZ
-----END PGP SIGNATURE-----

    

- 漏洞信息

17719
Cacti no_http_headers Session Variable Modification Remote Privilege Escalation
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public Vendor Verified

- 漏洞描述

Cacti contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when an attacker uses the no_http_headers variable to bypass normal authentication, and gain administrative privileges. This flaw may lead to a loss of integrity.

- 时间线

2005-07-02 2005-06-25
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

RaXnet Cacti Config.PHP Design Error Vulnerability
Design Error 14130
Yes No
2005-07-01 12:00:00 2006-09-07 08:38:00
Stefan Esser of the Hardened PHP Project is credited with the discovery of this vulnerability.

- 受影响的程序版本

Raxnet Cacti 0.8.6 e
Raxnet Cacti 0.8.6 d
Raxnet Cacti 0.8.6 c
Raxnet Cacti 0.8.6 b
Raxnet Cacti 0.8.6 a
Raxnet Cacti 0.8.6
Raxnet Cacti 0.8.5 a
Raxnet Cacti 0.8.5
Raxnet Cacti 0.8.4
Raxnet Cacti 0.8.3 a
Raxnet Cacti 0.8.3
Raxnet Cacti 0.8.2 a
Raxnet Cacti 0.8.2
Raxnet Cacti 0.8.1
Raxnet Cacti 0.8
Raxnet Cacti 0.6.8 a
Raxnet Cacti 0.6.8
Raxnet Cacti 0.6.7
+ Debian Linux 3.0
Raxnet Cacti 0.6.6
Raxnet Cacti 0.6.5
Raxnet Cacti 0.6.4
Raxnet Cacti 0.6.3
Raxnet Cacti 0.6.2
Raxnet Cacti 0.6.1
Raxnet Cacti 0.6
Raxnet Cacti 0.5
Conectiva Linux 10.0
Conectiva Linux 9.0
Raxnet Cacti 0.8.6 f

- 不受影响的程序版本

Raxnet Cacti 0.8.6 f

- 漏洞讨论

A design error affecting RaXnet Cacti can allow an attacker to prevent the 'session_start()' and 'addslashes()' functions from being called.

The affected 'session_start()' and 'addslashes()' calls are nested inside an 'if' control statement that depends on an attacker-controlled value. Reports indicate that this value may be controlled through a URI parameter when 'register_globals' is set.

A remote attacker may exploit these issues to gain administrative access to the affected software.

- 漏洞利用

An exploit is not required.

- 解决方案

The vendor has addressed this issue in Cacti version 0.8.6f.

Please see the referenced advisories for more information.


Raxnet Cacti 0.5

Raxnet Cacti 0.6

Raxnet Cacti 0.6.1

Raxnet Cacti 0.6.2

Raxnet Cacti 0.6.3

Raxnet Cacti 0.6.4

Raxnet Cacti 0.6.5

Raxnet Cacti 0.6.6

Raxnet Cacti 0.6.7

Raxnet Cacti 0.6.8 a

Raxnet Cacti 0.6.8

Raxnet Cacti 0.8

Raxnet Cacti 0.8.1

Raxnet Cacti 0.8.2

Raxnet Cacti 0.8.2 a

Raxnet Cacti 0.8.3 a

Raxnet Cacti 0.8.3

Raxnet Cacti 0.8.4

Raxnet Cacti 0.8.5

Raxnet Cacti 0.8.5 a

Raxnet Cacti 0.8.6 a

Raxnet Cacti 0.8.6 b

Raxnet Cacti 0.8.6 e

Raxnet Cacti 0.8.6

Raxnet Cacti 0.8.6 d

Raxnet Cacti 0.8.6 c

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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