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 :

CounterChaos <= 0.48c SQL Injection Vulnerability


Arrow  SecurityAlert : 1350
Arrow  CVE : CVE-2006-4035
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : No
Arrow  Credit : Tamriel
Arrow  Published : 10.08.2006

Arrow  Affected Software : CounterChaos <= 0.48c



Arrow  Advisory Content :  

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
      Advisory: CounterChaos <= 0.48c SQL Injection Vulnerability
  Release Date: 2006/08/04
 Last Modified: 2006/08/03
        Author: Tamriel [tamriel at gmx dot net]
   Application: CounterChaos <= 0.48c
          Risk: Moderate
 Vendor Status: not contacted
   Vendor Site: www.chaossoft.de

 Overview:

   Quote from www.chaossoft.de:

   "CounterChaos ist ein flexibler Onlinecounter fuer Ihre Homepage.
    Er ist klein und kompakt in PHP geschrieben und benutzt eine
    mySQL-Datenbank, um die Daten abzuspeichern."

 Details:

      SQL Injection Vulnerabilities in counterchaos.php
      (arround line 35-45)
      
      ...
      
      $referer= $_SERVER["HTTP_REFERER"];
      $referer=strtolower($referer);

      ...

          // Ohne www auch nicht gefunden => im Original speichern
          mysql_query("INSERT INTO $tabellerefi SET
monat='$akt_monat', jahr='$akt_jahr',
          refi='$referer', treffer='1'") or die(mysql_error());
      }

      ...

      Here an attacker can fake his http referer and so inject his own
      sql queries (magic quotes must be off).

 Solution:

      Take a view on PHP's ysql_real_escape_string function.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
 
iD8DBQFE0oOZqBhP+Twks7oRAmN9AJ9u9URtocwWhMN0kQsje+7BqVSqnwCfabUw
GnCv00gAbRXLTmgDXdwF2CA=
=emSG
-----END PGP SIGNATURE-----





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.