Secunia Logo  
 
Messageriescripthp SQL Injection and Cross-Site Scripting
Secunia Advisory: SA23319
Release Date: 2006-12-11
Last Update: 2006-12-18
Popularity: 3,969 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Unpatched

Software:Messageriescripthp 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6520


Description:
Mr_KaLiMaN has discovered a vulnerability in Messageriescripthp, which can be exploited by malicious users to conduct SQL injection attacks and malicious people to conduct cross-site scripting attacks.

1) Input passed to the "recordID" parameter in membre/fiche_tousmembres.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires valid user credentials.

2) Input passed to the "pseudo" parameter in existepseudo.php, "email" in existeemail.php and "pageName" and "cssform" in Contact/contact.php is not properly sanitised before it is 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.

Successful exploitation requires that "register_globals" is enabled.

The vulnerabilities have been confirmed in the 2.0 (demo) version. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
Mr_KaLiMaN

Changelog:
2006-12-18: Added CVE reference.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Drupal Project Module File Upload and Cross-Site Scripting // 41 views
2. SmbFTPD Long Command Processing Vulnerability // 35 views
3. FreeBSD update for lukemftpd // 25 views
4. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 25 views
5. tnftpd Long Command Processing Vulnerability // 24 views
6. Cisco Global Site Selector DNS Request Denial of Service // 23 views
7. FreeBSD update for openssl // 22 views
8. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 21 views
9. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 21 views
10. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 20 views