KwsPHP Multiple SQL Injection Vulnerabilities
Secunia Advisory: SA26850
Release Date: 2007-09-21
Popularity: 3,435 views

Critical:
Moderately critical
Impact: Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Vendor Patch

Software:KwsPHP 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4956


Description:
S4mi has reported some vulnerabilities in KwsPHP, which can be exploited by malicious people and malicious users to conduct SQL injection attacks.

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

2) Input passed to the "id" parameter in index.php (when "mod" is set to "espace_membre", "ac" to "carnet", and "act" to "editer") 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 of this vulnerability requires valid user credentials.

3) Input passed to the "typenav" parameter in index.php (when "mod" is set to "stats" and "aff" to "browser") 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 of all vulnerabilities allows e.g. retrieving administrator password hashes, but requires that "magic_quotes_gpc" is disabled.

The vulnerabilities are reported in 1.0.x versions before 1.0.85. Other versions may also be affected.

Solution:
Update to version 1.0.85.

Provided and/or discovered by:
S4mi

Original Advisory:
KwsPHP:
http://koogar.alorys-hebergement.com/...od=news&ac=commentaires&id=29

S4mi:
1) http://milw0rm.com/exploits/4412
2) http://milw0rm.com/exploits/4413
3) http://milw0rm.com/exploits/4414


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. NetBSD Malformed ICMPv6 "MLD-QUERY" Denial of Service // 69 views
2. Adobe Flash Player Multiple Vulnerabilities // 64 views
3. Avactis Shopping Cart "checkout.php" Cross-Site Scripting // 62 views
4. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 54 views
5. Silentum LoginSys Multiple Cross-site Scripting Vulnerabilities // 50 views
6. VLC Media Player Multiple Vulnerabilities // 43 views
7. Sun Java JDK / JRE Multiple Vulnerabilities // 38 views
8. Microsoft Word Malformed Object Pointer Vulnerability // 35 views
9. Microsoft Office Two Code Execution Vulnerabilities // 34 views
10. libpng "png_push_read_zTXt()" Off-By-One Vulnerability // 29 views