Secunia Logo  
 
RedCMS SQL Injection and Script Insertion Vulnerabilities
Secunia Advisory: SA19475
Release Date: 2006-03-31
Last Update: 2006-04-04
Popularity: 5,258 views

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

Software:RedCMS 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1568
CVE-2006-1569


Description:
Aliaksandr Hartsuyeu has discovered some vulnerabilities in RedCMS, which can be exploited by malicious people to conduct SQL injection and script insertion attacks.

1) Input passed to the "Email", "Location", and "Website" fields in register.php isn't sanitised before being stored in the member's profile. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected website when a malicious user profile is viewed.

2) Input passed to the "username" parameter in login.php and register.php, and to the "u" parameter in profile.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Note: It has also been reported that other parameters are also affected.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

The vulnerabilities have been confirmed in version 0.1. Other versions may also be affected.

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

Provided and/or discovered by:
Aliaksandr Hartsuyeu

Changelog:
2006-04-04: Added CVE references.

Original Advisory:
http://evuln.com/vulns/115/summary.html


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. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 61 views
2. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 59 views
3. Red Hat update for openssl // 35 views
4. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 34 views
5. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 34 views
6. HP OpenView Network Node Manager Multiple Vulnerabilities // 33 views
7. Symantec Mail Security for SMTP Response Handling Denial of Service // 32 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 29 views
9. Red Hat update for dbus // 29 views
10. Red Hat update for xterm // 28 views