Contact | Site en Français               

 


 

Vulnerabilities & Threats

 
  VUPEN Security Advisories
  Linux Security Advisories

  Malware Advisories

  Security Research
  Threat Watch Blog
  Zero-Day Monitor
  Search Engine
  Mailing List & RSS
 
   

>> VUPEN Security / Public Mailing Lists Mirror


Assigned : VUPEN/ADV-2006-3153

From : Tamriel <tamriel at gmx.net>
Subject : CounterChaos <= 0.48c SQL Injection Vulnerability
Date : 2006-08-04

Original Message

-----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)

iD8DBQFE0oG6qBhP+Twks7oRAiHwAJ9rEawQjTC7CBFE2eYdw7HvuVpY7gCeIJIZ
mI1GPKkG4/Y9jiiJbuN9ZpM=
=SAvc
-----END PGP SIGNATURE-----

Disclaimer : VUPEN Security does not endorse the content of this message submitted by others to public mailinglists. Messages submitted to public mailinglists do not necessarily reflect the opinions or policies of VUPEN Security. VUPEN Security makes no warranties, express or implied, as to the content of the message in this page or the accuracy and reliability of any messages and other materials submitted to public mailinglists. Any questions or comments regarding this page should be sent to team@vupen.com


 

Vulnerability Alerting

Free 14-Day Trial

 
  Latest News

 

  >> 2009-07-06

     

  Microsoft Windows 0-Day
  Flaw Exploited in the Wild


  >> 2009-06-10

     

  VUPEN Security Research
  Discovered Critical Flaws
  in Adobe Acrobat and MS

  Office Word


  >> 2009-06-02

     

  VUPEN Security Research
  Discovered Critical Flaws
  in ACDSee Products


  >> 2009-05-22

     

  VUPEN Discovered Two
  Critical Vulnerabilities in
  Novell GroupWise 8 / 7

 

 

More Informations    
    





Copyright 2003-2009 © VUPEN.COM - Privacy Policy