CVE-2005-1925
CVSS7.5
发布时间 :2005-11-18 01:03:00
修订时间 :2012-10-24 00:00:00
NMCOPS    

[原文]Multiple directory traversal vulnerabilities in Tikiwiki before 1.9.1 allow remote attackers to read arbitrary files and execute commands via (1) the suck_url parameter to tiki-editpage.php or (2) language parameter to tiki-user_preferences.php.


[CNNVD]TikiWiki 多个目录遍历漏洞(CNNVD-200511-230)

        Tikiwiki 1.9.1之前版本中的多个目录遍历漏洞,可让远程攻击者通过(1) tiki-editpage.php的suck_url参数或(2) tiki-user_preferences.php的language参数来读取任意文件并执行命令。

- CVSS (基础分值)

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

- CWE (弱点类目)

CWE-22 [对路径名的限制不恰当(路径遍历)]

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

cpe:/a:tiki:tikiwiki_cms%2Fgroupware:1.9.0:rc1Tiki Tikiwiki CMS/Groupware 1.9.0 release candidate 1
cpe:/a:tiki:tikiwiki_cms%2Fgroupware:1.9.0:rc3Tiki Tikiwiki CMS/Groupware 1.9.0 release candidate 3
cpe:/a:tiki:tikiwiki_cms%2Fgroupware:1.9.0Tiki Tikiwiki CMS/Groupware 1.9.0
cpe:/a:tiki:tikiwiki_cms%2Fgroupware:1.6.1Tiki Tikiwiki CMS/Groupware 1.6.1
cpe:/a:tiki:tikiwiki_cms%2Fgroupware:1.9.0:rc2Tiki Tikiwiki CMS/Groupware 1.9.0 release candidate 2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.idefense.com/application/poi/display?id=337&type=vulnerabilities
(VENDOR_ADVISORY)  IDEFENSE  20051110 Tikiwiki tiki-editpage Arbitrary File Exposure Vulnerability
http://www.idefense.com/application/poi/display?id=335&type=vulnerabilities
(VENDOR_ADVISORY)  IDEFENSE  20051110 Tikiwiki tiki-user_preferences Command Injection Vulnerability
http://xforce.iss.net/xforce/xfdb/23099
(UNKNOWN)  XF  tikiwiki-tikiuserpreferences-dir-traversal(23099)
http://xforce.iss.net/xforce/xfdb/23095
(UNKNOWN)  XF  tikiwiki-tikieditpage-directory-traversal(23095)
http://www.securityfocus.com/bid/15392
(UNKNOWN)  BID  15392
http://www.securityfocus.com/bid/15390
(UNKNOWN)  BID  15390
http://securitytracker.com/id?1015190
(UNKNOWN)  SECTRACK  1015190

- 漏洞信息

TikiWiki 多个目录遍历漏洞
高危 路径遍历
2005-11-18 00:00:00 2005-11-21 00:00:00
远程  
        Tikiwiki 1.9.1之前版本中的多个目录遍历漏洞,可让远程攻击者通过(1) tiki-editpage.php的suck_url参数或(2) tiki-user_preferences.php的language参数来读取任意文件并执行命令。

- 公告与补丁

        暂无数据

- 漏洞信息 (F41493)

iDEFENSE Security Advisory 2005-11-10.3 (PacketStormID:F41493)
2005-11-12 00:00:00
iDefense Labs,Maciej Piotr Falkiewicz  idefense.com
advisory,remote,web,arbitrary
CVE-2005-1925
[点击下载]

iDEFENSE Security Advisory 11.10.05 - Remote exploitation of an input validation vulnerability in Tikiwiki could allow attackers to gain access to arbitrary files on the vulnerable system and execute arbitrary code under the privileges of the underlying web-server. iDEFENSE has confirmed the existence of this issue in Tikiwiki versions 1.8.4 and 1.8.5. It is suspected that earlier versions are vulnerable as well. This vulnerability differs than the one described in 11.10.05-2.

Tikiwiki tiki-user_preferences Command Injection Vulnerability

iDEFENSE Security Advisory 11.10.05
www.idefense.com/application/poi/display?id=335&type=vulnerabilities
November 10, 2005

I. BACKGROUND

Tikiwiki Community Portal is a full featured, freely available,
Wiki/CMS/Groupware system written in PHP. More information is available
at:

    http://tikiwiki.org/

II. DESCRIPTION

Remote exploitation of an input validation vulnerability in Tikiwiki
could allow attackers to gain access to arbitrary files on the
vulnerable system and execute arbitrary code under the privileges of the
underlying web-server.

The problem specifically exists in the following snippet of code from
tiki-user_preferences.php:

    if (isset($_REQUEST["prefs"])) {
    ...
        if ($change_language == 'y') {
            if (isset($_REQUEST["language"])) {
                $tikilib->set_user_preference($userwatch, 'language', \
                    $_REQUEST["language"]);
    
                $smarty->assign('language', $_REQUEST["language"]);
                include ('lang/' . $_REQUEST["language"] . \
                    '/language.php');
            }
        }

No sanity checking is done on the 'language' parameter prior to
utilizing it in a call to the PHP function include(). By specifying a
path with directory traversal modifiers, an attacker can request an
arbitrary file to load and render on the screen.

III. ANALYSIS

Exploitation could allow authenticated remote attackers to access
arbitrary files on the vulnerable system with the privileges of the
underlying web-server. If external database access is allowed,
exploitation can result in a full database compromise since database
credentials are easily exposed through this vulnerability.

Exploitation can result in arbitrary command execution with the
privileges of the underlying targeted web server. This is possible
because attackers can generate request URLs with arbitrary script
directives that are recorded in the web server log files. Attackers can
then utilize the path to the poisoned log file in the file inclusion,
resulting in the directives being parsed and executed.

IV. DETECTION

iDEFENSE has confirmed the existence of this issue in Tikiwiki versions
1.8.4 and 1.8.5. It is suspected that earlier versions are vulnerable as
well.

V. WORKAROUND

Restrict anonymous access to Tikiwiki. If remote database connectivity
is not required, configure the underlying database server to bind to
localhost only or firewall the listening port to accept trusted hosts
only. Restrict read access of log files from the web server user.

VI. VENDOR RESPONSE

This vulnerability has been addressed in Tikiwiki 1.9.1 which is
available for download at:

  http://tikiwiki.org/tiki-index.php?page=Download

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-1925 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

06/07/2005  Initial vendor notification
08/21/2005  Initial vendor response
11/10/2005  Public disclosure

IX. CREDIT

This vulnerability was discovered by both Maciej Piotr Falkiewicz
(fingerout[at]gmail[dot]com) and an anonymous contributor.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright C 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
    

- 漏洞信息 (F41492)

iDEFENSE Security Advisory 2005-11-10.2 (PacketStormID:F41492)
2005-11-12 00:00:00
iDefense Labs,codeauditor  idefense.com
advisory,remote,web,arbitrary
CVE-2005-1925
[点击下载]

iDEFENSE Security Advisory 11.10.05 - Remote exploitation of an input validation vulnerability in Tikiwiki allows attackers to gain access to arbitrary files on the vulnerable system under the privileges of the underlying web-server. iDEFENSE has confirmed the existence of this issue in Tikiwiki versions 1.8.4 and 1.8.5. It is suspected that earlier versions are vulnerable as well.

Tikiwiki tiki-editpage Arbitrary File Exposure Vulnerability

iDEFENSE Security Advisory 11.10.05
www.idefense.com/application/poi/display?id=337&type=vulnerabilities
November 10, 2005

I. BACKGROUND

Tikiwiki Community Portal is a full featured, freely available,
Wiki/CMS/Groupware system written in PHP. More information is available
at:

    http://tikiwiki.org/

II. DESCRIPTION

Remote exploitation of an input validation vulnerability in Tikiwiki
allows attackers to gain access to arbitrary files on the vulnerable
system under the privileges of the underlying web-server.

The problem specifically exists in the following snippet of code from
tiki-editpage.php:

    $sdta = @file_get_contents($suck_url);
    ...
        $htmlparser = new HtmlParser($sdta, $grammar, '', 0);
        $htmlparser->Parse();

No sanity checking is done on the 'suck_url' parameter prior to
utilizing it as the path to a file to read and parse. By specifying a
path with directory traversal modifiers an attacker can request an
arbitrary file to load and render on the screen.

III. ANALYSIS

Successful exploitation allows unauthenticated remote attackers to
access arbitrary files on the vulnerable system with the privileges of
the underlying web-server. If external database access is allowed, then
exploitation can result in a full database compromise as the database
credentials are easily exposed through this vulnerability.

IV. DETECTION

iDEFENSE has confirmed the existence of this issue in Tikiwiki versions
1.8.4 and 1.8.5. It is suspected that earlier versions are vulnerable as
well.

V. WORKAROUND

Restrict unnecessary access to Tikiwiki with firewall filters or HTTP
based authentication. If remote database connectivity is not required,
configure the underlying database server to bind to localhost only or
firewall the listening port to accept trusted hosts only.

VI. VENDOR RESPONSE

This vulnerability has been addressed in Tikiwiki 1.9.1 which is
available for download at:

  http://tikiwiki.org/tiki-index.php?page=Download

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-1925 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

06/07/2005  Initial vendor notification
08/21/2005  Initial vendor response
11/10/2005  Public disclosure

IX. CREDIT

codeauditor@gmail.com is credited with this discovery.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright C 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
    

- 漏洞信息

20923
TikiWiki tiki-user_preferences.php language Variable Traversal Arbitrary File Access
Remote / Network Access Input Manipulation

- 漏洞描述

- 时间线

2005-11-10 2005-06-07
Unknow Unknow

- 解决方案

Upgrade to version 1.9.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

- 漏洞信息

TikiWiki Tiki-User_Preferences.PHP Directory Traversal Vulnerability
Input Validation Error 15392
Yes No
2005-11-11 12:00:00 2005-11-11 12:00:00
Maciej Piotr Falkiewicz and an anonymous contributor are credited with the discovery of this vulnerability.

- 受影响的程序版本

TikiWiki Project TikiWiki 1.8.5
TikiWiki Project TikiWiki 1.8.4
+ Gentoo Linux
TikiWiki Project TikiWiki 1.9.1

- 不受影响的程序版本

TikiWiki Project TikiWiki 1.9.1

- 漏洞讨论

TikiWiki is prone to a directory traversal vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.

A remote attacker may exploit this vulnerability to reveal files that contain potentially sensitive information. Information that is harvested in this manner may then be used to aid in further attacks against the software and the computer that is hosting the software.

- 漏洞利用

No exploit is required.

- 解决方案

The vendor has addressed this issue in version 1.9.1 and later:


TikiWiki Project TikiWiki 1.8.5

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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