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 :

Crafty Syntax Live Help <= 2.14.6 SQL Injection


Arrow  SecurityAlert : 4192
Arrow  CVE : CVE-2008-3840
Arrow  CVE : CVE-2008-3845
Arrow  CWE : CWE-255
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
Arrow  Credit : GulfTech Security Research
Arrow  Published : 28.08.2008

Arrow  Affected Software : Craftysyntax, Crafty_syntax_live_help, 2.14.6, and previous;
Craftysyntax, Crafty_syntax_live_help, 1.0;
Craftysyntax, Crafty_syntax_live_help, 1.1;
Craftysyntax, Crafty_syntax_live_help, 1.2;
Craftysyntax, Crafty_syntax_live_help, 1.3;
Craftysyntax, Crafty_syntax_live_help, 1.4;
Craftysyntax, Crafty_syntax_live_help, 1.5;
Craftysyntax, Crafty_syntax_live_help, 1.6;
Craftysyntax, Crafty_syntax_live_help, 1.7;
Craftysyntax, Crafty_syntax_live_help, 2.0;
Craftysyntax, Crafty_syntax_live_help, 2.1;
Craftysyntax, Crafty_syntax_live_help, 2.10.0;
Craftysyntax, Crafty_syntax_live_help, 2.10.1;
Craftysyntax, Crafty_syntax_live_help, 2.10.2;
Craftysyntax, Crafty_syntax_live_help, 2.10.3;
Craftysyntax, Crafty_syntax_live_help, 2.10.4;
Craftysyntax, Crafty_syntax_live_help, 2.10.5;
Craftysyntax, Crafty_syntax_live_help, 2.11.0;
Craftysyntax, Crafty_syntax_live_help, 2.11.1;
Craftysyntax, Crafty_syntax_live_help, 2.11.2;
Craftysyntax, Crafty_syntax_live_help, 2.11.3;
Craftysyntax, Crafty_syntax_live_help, 2.11.4;
Craftysyntax, Crafty_syntax_live_help, 2.11.5;
Craftysyntax, Crafty_syntax_live_help, 2.11.6;
Craftysyntax, Crafty_syntax_live_help, 2.11.7;
Craftysyntax, Crafty_syntax_live_help, 2.12.0;
Craftysyntax, Crafty_syntax_live_help, 2.12.1;
Craftysyntax, Crafty_syntax_live_help, 2.12.2;
Craftysyntax, Crafty_syntax_live_help, 2.12.3;
Craftysyntax, Crafty_syntax_live_help, 2.12.4;
Craftysyntax, Crafty_syntax_live_help, 2.12.5;
Craftysyntax, Crafty_syntax_live_help, 2.12.6;
Craftysyntax, Crafty_syntax_live_help, 2.12.7;
Craftysyntax, Crafty_syntax_live_help, 2.12.8;
Craftysyntax, Crafty_syntax_live_help, 2.12.9;
Craftysyntax, Crafty_syntax_live_help, 2.13.0;
Craftysyntax, Crafty_syntax_live_help, 2.13.1;
Craftysyntax, Crafty_syntax_live_help, 2.14.0;
Craftysyntax, Crafty_syntax_live_help, 2.14.1;
Craftysyntax, Crafty_syntax_live_help, 2.14.2;
Craftysyntax, Crafty_syntax_live_help, 2.14.3;
Craftysyntax, Crafty_syntax_live_help, 2.14.4;
Craftysyntax, Crafty_syntax_live_help, 2.14.5;
Craftysyntax, Crafty_syntax_live_help, 2.2;
Craftysyntax, Crafty_syntax_live_help, 2.3;
Craftysyntax, Crafty_syntax_live_help, 2.4;
Craftysyntax, Crafty_syntax_live_help, 2.5;
Craftysyntax, Crafty_syntax_live_help, 2.6;
Craftysyntax, Crafty_syntax_live_help, 2.7;
Craftysyntax, Crafty_syntax_live_help, 2.7.1;
Craftysyntax, Crafty_syntax_live_help, 2.7.2;
Craftysyntax, Crafty_syntax_live_help, 2.7.3;
Craftysyntax, Crafty_syntax_live_help, 2.7.4;
Craftysyntax, Crafty_syntax_live_help, 2.8.0;
Craftysyntax, Crafty_syntax_live_help, 2.8.1;
Craftysyntax, Crafty_syntax_live_help, 2.8.2;
Craftysyntax, Crafty_syntax_live_help, 2.8.3;
Craftysyntax, Crafty_syntax_live_help, 2.8.4;
Craftysyntax, Crafty_syntax_live_help, 2.9.0;
Craftysyntax, Crafty_syntax_live_help, 2.9.1;
Craftysyntax, Crafty_syntax_live_help, 2.9.2;
Craftysyntax, Crafty_syntax_live_help, 2.9.3;
Craftysyntax, Crafty_syntax_live_help, 2.9.4;
Craftysyntax, Crafty_syntax_live_help, 2.9.5;
Craftysyntax, Crafty_syntax_live_help, 2.9.6;
Craftysyntax, Crafty_syntax_live_help, 2.9.7;
Craftysyntax, Crafty_syntax_live_help, 2.9.8;



Arrow  Advisory Content :  

##########################################################
# GulfTech Security Research August 25, 2008
##########################################################
# Vendor : Eric Gerdes
# URL : http://www.craftysyntax.com
# Version : Crafty Syntax Live Help <= 2.14.6
# Risk : SQL Injection
##########################################################

Description:
Crafty Syntax Live Help is a full featured, open source, online
support system written in php that allows the visitors of a
website to interact in real time with the site owners. There is
a couple of high risk SQL Injections in Crafty Syntax Live Help
that allows for an attacker to read arbitrary database contents
such as user credentials, or administrator credentials. An updated
version of Crafty Syntax Live Help is now available and users
should upgrade as soon as possible.

SQL Injection:
There is a high risk SQL Injection issue within Crafty Syntax Live
Help that allows for an attacker to read arbitrary database contents
such as user credentials, or administrator credentials. The vulnerable
bit of code in question can be seen below.

if(empty($UNTRUSTED['department'])){ $department=0; } else {
$department=$UNTRUSTED['department']; }

// Get department information. First found if no specific department
assigned
$qQry = "SELECT
recno,messageemail,colorscheme,leavetxt,creditline,onlineimage,leaveames
sage,offlineimage,speaklanguage
FROM livehelp_departments "
. (($department==0)? 'LIMIT 1': "WHERE recno=$department");

The above code can be found in is_xmlhttp.php, but an almost identical
issue can be found within the file is_flush.php also. This SQL Injection
issue is present regardless of magic quotes settings, and can be triggered
using a url like the one shown below.

/is_xmlhttp.php?scriptname=1&department=-99%20UNION%20SELECT%201,2,conca
t
(username,char(58),password),4,5,6,7,8,9%20FROM%20livehelp_users/*

Since Crafty Syntax Live Help seems to store passwords in plain text by
default, it is a trivial task for an attacker to gain administrative
access to the installation after exploiting this issue.

Solution:
An updated version of Crafty Syntax Live Help has been released and
can be found at the location below.

http://security.craftysyntax.com/updates/?v=2.14.6

Credits:
James Bercegay of the GulfTech Security Research Team

Related Info:
The original advisory can be found at the following location
http://www.gulftech.org/?node=research&article_id=00127-08252008



Arrow  References :

http://www.gulftech.org/?node=research&article_id=00127-08252008
http://www.securityfocus.com/archive/1/archive/1/495729/100/0/threaded




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:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.