Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] dev4u CMS Multiple SQL Injection and Cross Site Scripting Issues

Subject: [UNIX] dev4u CMS Multiple SQL Injection and Cross Site Scripting Issues
Date: 20 Nov 2006 12:26:41 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  dev4u CMS Multiple SQL Injection and Cross Site Scripting Issues
------------------------------------------------------------------------


SUMMARY

 <http://www.dev4u.de/> dev4u CMS is "a well known German Content 
Management System". Multiple vulnerabilities have been discovered in dev4u 
CMS system, allowing a remote attacker to cause the product to execute 
arbitrary SQL statements as well as include arbitrary HTML and/or 
JavaScript into existing web pages.

DETAILS

Cross Site Scripting:
Input passed directly to the "user_name", "passwort" and "go_target" 
parameter in "index.php" is not properly sanitized before being returned 
to the user. This can be exploited to execute arbitrary HTML and script 
code in a user's browser session in context of an affected site.

SQL Injection:
Input passed directly to the "seite_id", "gruppe_id.php" and "go_target" 
parameter in "index.php" is not properly sanitized before being used in a 
SQL query. This can be exploited to manipulate SQL queries by injecting 
arbitrary SQL code.

Solution:
Edit the source code to ensure that input is properly sanitized. You 
should work with "htmlspecialchars()" or "htmlentities()" php-function to 
ensure that HTML tags are not going to be executed. You should also work 
with the "intval()" and "mysql_real_escape_string()" or "addslashes()" 
php-function to ensure that SQL statements can't be delivered over the 
"get" variables. Further it is recommend to set off the "register globals" 
option in the "php.ini" on your webserver.

Example:
$pass = htmlentities($_POST['pass']);
$test = htmlspecialchars($_GET('test'));
$id = intval($_POST['id']);
?>

History/Timeline:
11.11.2006 discovery of the vulnerabilities
11.11.2006 additional tests with other versions
12.11.2006 contacted the vendor
18.11.2006 advisory is written
18.11.2006 advisory released


ADDITIONAL INFORMATION

The information has been provided by MajorSecurity.
The original article can be found at:  
<http://www.majorsecurity.de/index_2.php?major_rls=major_rls36> 
http://www.majorsecurity.de/index_2.php?major_rls=major_rls36



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] dev4u CMS Multiple SQL Injection and Cross Site Scripting Issues, SecuriTeam <=