CVE-2005-2556
CVSS7.5
发布时间 :2005-08-24 00:00:00
修订时间 :2016-10-17 23:28:17
NMCOPS    

[原文]core/database_api.php in Mantis 0.19.0a1 through 1.0.0a3, with register_globals enabled, allows remote attackers to connect to internal databases by modifying the g_db_type variable and monitoring the speed of responses, as identified by bug#0005956.


[CNNVD]Mantis 多个输入验证漏洞(CNNVD-200508-287)

        Mantis 0.19.0a1至1.0.0a3(启动register_globals)中的core/database_api.php允许远程攻击者通过修改g_db_type变量以及监控响应速度连接内部数据库。该漏洞以#0005956标识。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:mantis:mantis:0.19.0
cpe:/a:mantis:mantis:1.0.0a1
cpe:/a:mantis:mantis:0.19.1
cpe:/a:mantis:mantis:0.19.2
cpe:/a:mantis:mantis:1.0.0a3
cpe:/a:mantis:mantis:1.0.0a2
cpe:/a:mantis:mantis:0.19.0_rc1
cpe:/a:mantis:mantis:0.19.0a1
cpe:/a:mantis:mantis:0.19.0a2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=112786017426276&w=2
(UNKNOWN)  BUGTRAQ  20050926 Mantis Bugtracker - Remote Database Scanner and XSS Vulnerabilities
http://www.debian.org/security/2005/dsa-778
(VENDOR_ADVISORY)  DEBIAN  DSA-778
http://www.gentoo.org/security/en/glsa/glsa-200509-16.xml
(UNKNOWN)  GENTOO  GLSA-200509-16
http://www.securityfocus.com/bid/14604
(PATCH)  BID  14604

- 漏洞信息

Mantis 多个输入验证漏洞
高危 输入验证
2005-08-24 00:00:00 2005-10-20 00:00:00
远程  
        Mantis 0.19.0a1至1.0.0a3(启动register_globals)中的core/database_api.php允许远程攻击者通过修改g_db_type变量以及监控响应速度连接内部数据库。该漏洞以#0005956标识。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        Mantis Mantis 0.19 .0a
        Mantis Mantis 1.0.0rc1
        http://www.mantisbt.org/download.php
        Mantis Mantis 0.19.1
        Mantis Mantis 1.0.0rc1
        http://www.mantisbt.org/download.php
        Mantis Mantis 0.19.2
        Mantis Mantis 1.0.0rc1
        http://www.mantisbt.org/download.php

- 漏洞信息 (F40242)

Gentoo Linux Security Advisory 200509-16 (PacketStormID:F40242)
2005-09-26 00:00:00
Gentoo  security.gentoo.org
advisory,vulnerability,xss,sql injection
linux,gentoo
CVE-2005-2556,CVE-2005-2557
[点击下载]

Gentoo Linux Security Advisory GLSA 200509-16 - Mantis fails to properly sanitize untrusted input before using it. This leads to an SQL injection and several cross-site scripting vulnerabilities. Versions less than 0.19.2 are affected.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200509-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Mantis: XSS and SQL injection vulnerabilities
      Date: September 24, 2005
      Bugs: #103308
        ID: 200509-16

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Mantis is affected by an SQL injection and several cross-site scripting
(XSS) vulnerabilities.

Background
==========

Mantis is a web-based bugtracking system written in PHP.

Affected packages
=================

    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  www-apps/mantisbt      < 0.19.2                         >= 0.19.2

Description
===========

Mantis fails to properly sanitize untrusted input before using it. This
leads to an SQL injection and several cross-site scripting
vulnerabilities.

Impact
======

An attacker could possibly use the SQL injection vulnerability to
access or modify information from the Mantis database. Furthermore the
cross-site scripting issues give an attacker the ability to inject and
execute malicious script code or to steal cookie-based authentication
credentials, potentially compromising the victim's browser.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Mantis users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-apps/mantisbt-0.19.2"

References
==========

  [ 1 ] CAN-2005-2556
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2556
  [ 2 ] CAN-2005-2557
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2557
  [ 3 ] Secunia Advisory SA16506
        http://secunia.com/advisories/16506/

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200509-16.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

    

- 漏洞信息 (F39527)

Debian Linux Security Advisory 778-1 (PacketStormID:F39527)
2005-08-24 00:00:00
Debian  debian.org
advisory,web,arbitrary,sql injection
linux,debian
CVE-2004-0718,CVE-2005-2556,CVE-2005-2557
[点击下载]

Debian Security Advisory DSA 778-1 - Two security related problems have been discovered in Mantis, a web-based bug tracking system. The bugs related to arbitrary HTML and SQL injection flaws.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 778-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
August 19th, 2005                       http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : mantis
Vulnerability  : missing input sanitising
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2005-2556 CAN-2005-2557

Two security related problems have been discovered in Mantis, a
web-based bug tracking system.  The Common Vulnerabilities and
Exposures project identifies the following problems:

CAN-2005-2556

    A remote attacker could insert arbitrary SQL code into SQL
    statements.

CAN-2005-2557

    A remote attacker was able to insert arbitrary HTML code bug
    reports, hence, cross site scripting.

The old stable distribution (woody) does not seem to be affected by
these problems.

For the stable distribution (sarge) these problems have been fixed in
version 0.19.2-4.

For the unstable distribution (sid) these problems have been fixed in
version 0.19.2-4.

We recommend that you upgrade your mantis 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.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/m/mantis/mantis_0.19.2-4.dsc
      Size/MD5 checksum:      568 645a849f54cada06624b040ca106310f
    http://security.debian.org/pool/updates/main/m/mantis/mantis_0.19.2-4.diff.gz
      Size/MD5 checksum:    34601 311c66f058bfd06ef02d97dc0dad4880
    http://security.debian.org/pool/updates/main/m/mantis/mantis_0.19.2.orig.tar.gz
      Size/MD5 checksum:  1298615 042c42c6de3bc536181391c1e9b25db3

  Architecture independent components:

    http://security.debian.org/pool/updates/main/m/mantis/mantis_0.19.2-4_all.deb
      Size/MD5 checksum:   895224 afa2f33377b412779d5710e94b5f68e3


  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)

iD8DBQFDBeXcW5ql+IAeqTIRAnZVAKCz19oHpGJt//rRjb6PaPkKGnlQFACfTK4j
kveWIZjiSoKyZ1d8A8xetEA=
=iS8/
-----END PGP SIGNATURE-----

    

- 漏洞信息

18903
Mantis Unspecified SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-08-22 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Mantis Multiple Input Validation Vulnerabilities
Input Validation Error 14604
Yes No
2005-08-19 12:00:00 2009-07-12 05:06:00
The vendor announced these vulnerabilities.

- 受影响的程序版本

Mantis Mantis 1.0 .0rc1
Mantis Mantis 1.0 .0a3
Mantis Mantis 1.0 .0a2
Mantis Mantis 1.0 .0a1
Mantis Mantis 0.19.2
Mantis Mantis 0.19.1
Mantis Mantis 0.19 .0RC1
Mantis Mantis 0.19 .0a1
Mantis Mantis 0.19 .0a
Mantis Mantis 0.19 .0
Mantis Mantis 0.18.3
Mantis Mantis 0.18.2
Mantis Mantis 0.18 a1
Mantis Mantis 0.18 0rc1
Mantis Mantis 0.18 0a4
Mantis Mantis 0.18 0a3
Mantis Mantis 0.18 0a2
Mantis Mantis 0.18
Mantis Mantis 0.17.5
Mantis Mantis 0.17.5
Mantis Mantis 0.17.4 a
Mantis Mantis 0.17.4 a
Mantis Mantis 0.17.4
Mantis Mantis 0.17.4
Mantis Mantis 0.17.3
Mantis Mantis 0.17.3
Mantis Mantis 0.17.2
Mantis Mantis 0.17.2
Mantis Mantis 0.17.1
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
Mantis Mantis 0.17.1
Mantis Mantis 0.17 .0
Mantis Mantis 0.17
Mantis Mantis 0.16.1
Mantis Mantis 0.16.1
Mantis Mantis 0.16 .0
Mantis Mantis 0.16
Mantis Mantis 0.15.12
Mantis Mantis 0.15.12
Mantis Mantis 0.15.11
Mantis Mantis 0.15.11
Mantis Mantis 0.15.10
Mantis Mantis 0.15.9
Mantis Mantis 0.15.9
Mantis Mantis 0.15.8
Mantis Mantis 0.15.8
Mantis Mantis 0.15.7
Mantis Mantis 0.15.7
Mantis Mantis 0.15.6
Mantis Mantis 0.15.6
Mantis Mantis 0.15.5
Mantis Mantis 0.15.5
Mantis Mantis 0.15.4
Mantis Mantis 0.15.4
Mantis Mantis 0.15.3
Mantis Mantis 0.15.3
Mantis Mantis 0.15.2
Mantis Mantis 0.15.1
Mantis Mantis 0.15
Mantis Mantis 0.14.8
Mantis Mantis 0.14.7
Mantis Mantis 0.14.6
Mantis Mantis 0.14.5
Mantis Mantis 0.14.4
Mantis Mantis 0.14.3
Mantis Mantis 0.14.2
Mantis Mantis 0.14.1
Mantis Mantis 0.14
Mantis Mantis 0.13.1
Mantis Mantis 0.13
Mantis Mantis 0.12
Mantis Mantis 0.11.1
Mantis Mantis 0.11
Mantis Mantis 0.10.2
Mantis Mantis 0.10.1
Mantis Mantis 0.10
Mantis Mantis 0.9.1
Mantis Mantis 0.9
Gentoo Linux
Debian Linux 3.1 sparc
Debian Linux 3.1 s/390
Debian Linux 3.1 ppc
Debian Linux 3.1 mipsel
Debian Linux 3.1 mips
Debian Linux 3.1 m68k
Debian Linux 3.1 ia-64
Debian Linux 3.1 ia-32
Debian Linux 3.1 hppa
Debian Linux 3.1 arm
Debian Linux 3.1 amd64
Debian Linux 3.1 alpha
Debian Linux 3.1
Mantis Mantis 1.0 .0rc2
Mantis Mantis 1.0 .0rc1
Mantis Mantis 0.18.3

- 不受影响的程序版本

Mantis Mantis 1.0 .0rc2
Mantis Mantis 1.0 .0rc1
Mantis Mantis 0.18.3

- 漏洞讨论

Mantis is prone to multiple input validation vulnerabilities. These issues involve cross-site scripting, HTML injection and variable poisoning, and are due to a failure in the application to properly sanitize user-supplied input.

An attacker may leverage the cross-site scripting issue to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may facilitate the theft of cookie-based authentication credentials as well as other attacks.

Successful exploitation of the HTML injection issue could result in having attacker-supplied HTML and script code executed in the context of the affected Web site, potentially allowing for theft of cookie-based authentication credentials. An attacker could also exploit this issue to control how the site is rendered to the user; other attacks are also possible.

The variable poisoning issue could result in unauthorized access and denial of service attacks.

- 漏洞利用

No exploit is required.

Samples have been provided:

A - Cross Site Scripting Vulnerabilities

http://www.example.com/view_all_set.php?sort=severity&amp;dir="&gt;&lt;script&gt;alert(document.cookie)&lt;/script&gt;&amp;type=2

B.- Database scanner via variable poisoning

http://www.example.com/core/database_api.php?g_db_type=mysql://invaliduser@localhost:3336
http://www.example.com/core/database_api.php?g_db_type=mysql://root@localhost:3336
http://www.example.com/core/database_api.php?g_db_type=informix://localhost:8080
http://www.example.com/core/database_api.php?g_db_type=mysql://root@10.x.y.z

- 解决方案

The vendor has addressed these issues in the latest release.

Debian Linux has released security advisory DSA 778-1 addressing these issues. Please see the referenced advisory for further information.

Gentoo has released advisory GLSA 200509-16 to address these issues. Please see the referenced advisory for more information. Gentoo users may carry out the following commands to update their computers:

emerge --sync
emerge --ask --oneshot --verbose ">=www-apps/mantisbt-0.19.2"

Issues for the cross-site scripting and HTML injection vulnerabilities are corrected in Mantis version 1.0.0RC1.


Mantis Mantis 0.10

Mantis Mantis 0.10.1

Mantis Mantis 0.10.2

Mantis Mantis 0.11

Mantis Mantis 0.12

Mantis Mantis 0.13

Mantis Mantis 0.13.1

Mantis Mantis 0.14

Mantis Mantis 0.14.1

Mantis Mantis 0.14.2

Mantis Mantis 0.14.3

Mantis Mantis 0.14.4

Mantis Mantis 0.14.5

Mantis Mantis 0.14.6

Mantis Mantis 0.14.7

Mantis Mantis 0.14.8

Mantis Mantis 0.15.1

Mantis Mantis 0.15.10

Mantis Mantis 0.15.11

Mantis Mantis 0.15.11

Mantis Mantis 0.15.12

Mantis Mantis 0.15.12

Mantis Mantis 0.15.2

Mantis Mantis 0.15.3

Mantis Mantis 0.15.3

Mantis Mantis 0.15.4

Mantis Mantis 0.15.4

Mantis Mantis 0.15.5

Mantis Mantis 0.15.5

Mantis Mantis 0.15.6

Mantis Mantis 0.15.6

Mantis Mantis 0.15.7

Mantis Mantis 0.15.7

Mantis Mantis 0.15.8

Mantis Mantis 0.15.8

Mantis Mantis 0.15.9

Mantis Mantis 0.15.9

Mantis Mantis 0.16

Mantis Mantis 0.16 .0

Mantis Mantis 0.16.1

Mantis Mantis 0.17 .0

Mantis Mantis 0.17

Mantis Mantis 0.17.1

Mantis Mantis 0.17.1

Mantis Mantis 0.17.2

Mantis Mantis 0.17.2

Mantis Mantis 0.17.3

Mantis Mantis 0.17.3

Mantis Mantis 0.17.4

Mantis Mantis 0.17.4 a

Mantis Mantis 0.17.4 a

Mantis Mantis 0.17.4

Mantis Mantis 0.17.5

Mantis Mantis 0.18 0a2

Mantis Mantis 0.18 0a4

Mantis Mantis 0.18 a1

Mantis Mantis 0.18 0rc1

Mantis Mantis 0.18 0a3

Mantis Mantis 0.18

Mantis Mantis 0.18.2

Mantis Mantis 0.18.3

Mantis Mantis 0.19 .0a

Mantis Mantis 0.19.1

Mantis Mantis 0.19.2

Mantis Mantis 0.9

Mantis Mantis 0.9.1

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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