CVE-2006-0957
CVSS7.5
发布时间 :2006-03-02 18:02:00
修订时间 :2011-03-07 21:31:26
NMCOP    

[原文]Direct static code injection vulnerability in func.inc.php in ZoneO-Soft freeForum before 1.2.1 allows remote attackers to execute arbitrary PHP code via the (1) X-Forwarded-For and (2) Client-Ip HTTP headers, which are stored in Data/flood.db.php.


[CNNVD]ZoneO-Soft freeForum func.inc.php 静态代码注入漏洞(CNNVD-200603-001)

        ZoneO-Soft freeForum 1.2.1以前的版本在函数 func.inc.php中存在的静态代码注入漏洞,会使远程攻击者通过(1) X-Forwarded-For 和(2) Client-Ip HTTP 报头,执行存于Data/flood.db.php中的任意PHP 代码。

- CVSS (基础分值)

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

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

cpe:/a:zoneo-soft:freeforum:1.1
cpe:/a:zoneo-soft:freeforum:1.1.2
cpe:/a:zoneo-soft:freeforum:1.0.1
cpe:/a:zoneo-soft:freeforum:1.2
cpe:/a:zoneo-soft:freeforum:1.0
cpe:/a:zoneo-soft:freeforum:1.1.1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://secunia.com/advisories/19020
(VENDOR_ADVISORY)  SECUNIA  19020
http://evuln.com/vulns/89/summary.html
(VENDOR_ADVISORY)  MISC  http://evuln.com/vulns/89/summary.html
http://www.vupen.com/english/advisories/2006/0759
(UNKNOWN)  VUPEN  ADV-2006-0759
http://soft.zoneo.net/freeForum/changes.php
(UNKNOWN)  CONFIRM  http://soft.zoneo.net/freeForum/changes.php
http://www.securityfocus.com/bid/16871
(UNKNOWN)  BID  16871
http://www.securityfocus.com/archive/1/archive/1/427321/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060310 [eVuln] FreeForum PHP Code Execution & Multiple XSS Vulnerabilities

- 漏洞信息

ZoneO-Soft freeForum func.inc.php 静态代码注入漏洞
高危 输入验证
2006-03-02 00:00:00 2006-03-03 00:00:00
远程  
        ZoneO-Soft freeForum 1.2.1以前的版本在函数 func.inc.php中存在的静态代码注入漏洞,会使远程攻击者通过(1) X-Forwarded-For 和(2) Client-Ip HTTP 报头,执行存于Data/flood.db.php中的任意PHP 代码。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        freeForum freeForum 1.2
        freeForum freeforum-1.2.1.tgz
        http://soft.zoneo.net/freeForum/Files/get.php?freeforum-1.2.1.tgz

- 漏洞信息 (F44571)

EV0089.txt (PacketStormID:F44571)
2006-03-11 00:00:00
Aliaksandr Hartsuyeu  evuln.com
exploit,php,code execution,xss
CVE-2006-0957,CVE-2006-0958
[点击下载]

FreeForum version 1.2 is susceptible to PHP code execution and cross site scripting flaws.

New eVuln Advisory:
FreeForum PHP Code Execution & Multiple XSS Vulnerabilities
http://evuln.com/vulns/89/summary.html

--------------------Summary----------------
eVuln ID: EV0089
CVE: CVE-2006-0957 CVE-2006-0958
Vendor: ZoneO-Soft
Vendor's Web Site: http://soft.zoneo.net/
Software: FreeForum
Sowtware's Web Site: http://soft.zoneo.net/freeForum/
Versions: 1.2
Critical Level: Dangerous
Type: Multiple Vulnerabilities
Class: Remote
Status: Patched
PoC/Exploit: Available
Solution: Available
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)

-----------------Description---------------
1. PHP Code Execution Vulnerability.

Vulnerable Script: func.inc.php

Variables $_SERVER[HTTP_X_FORWARDED_FOR] $_SERVER[HTTP_CLIENT_IP] are not sanitized before being written into 'Data/flood.db.php' file. This can be used to inject arbitrary PHP code by posting HTTP query with fake X-Forwarded-For or Client-ip values.

System access is possible.


2. Multiple Cross-Site Scripting

Vulnerable Script: func.inc.php

Variables $name $subject are not properly sanitized. This can be used to post message with arbitrary HTML or JavaScript code.

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

PerlBlog Multiple Vulnerabilities


   PoC/Exploit

   1. PHP Code Execution Example.
   HTTP Query:
   POST /freeforum/index.php HTTP/1.0
   Host: [host]
   X-Forwarded-For: anyIP<? [code] ?>
   Content-Length: 91
   name=qqq&email=qqq@qqq.com&subject=qqq&text=qqq&mode=postanswer&thread=1&cat=1&submit=Add

   2. Cross-Site Scripting Example.
   URL: http://[host]/freeforum/index.php
   Your name: [XSS]
   Subject: [XSS]

--------------Solution---------------------
Vendor-provided solution is available now.
Install or Upgrade to version 1.2.1

http://soft.zoneo.net/freeForum/changes.php

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


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

- 漏洞信息

23544
freeForum func.inc.php Arbitrary PHP Code Execution
Remote / Network Access
Loss of Integrity
Vendor Verified

- 漏洞描述

Unknown or Incomplete

- 时间线

2006-02-27 Unknow
Unknow Unknow

- 解决方案

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

 

关于SCAP中文社区

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

版权声明

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