Secunia Logo
Netsikker nu! 2008
 
PhpWebGallery Multiple SQL Injection Vulnerabilities
Secunia Advisory: SA18019
Release Date: 2005-12-14
Last Update: 2006-04-04
Popularity: 7,841 views

Critical:
Moderately critical
Impact: Manipulation of data
Where: From remote
Solution Status: Partial Fix

Software:PhpWebGallery 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-4228


Description:
r0t has discovered some vulnerabilities in PhpWebGallery, which can be exploited by malicious people to conduct SQL injection attacks.

Input passed to the "sort_by" and "items_number" parameter in "comments.php" and the "image_id" parameter in "picture.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.

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

Solution:
Some of the vulnerabilities have been fixed in version 1.5.2.

Note: SQL injection in the "items_number" parameter has not been correctly fixed.

Provided and/or discovered by:
r0t

Changelog:
2005-12-27: Vendor released fixed version. Updated "Solution Status" and "Solution" sections.
2006-04-04: CVE reference added.

Original Advisory:
http://pridels.blogspot.com/2005/12/phpwebgallery-multiple-sql-inj.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

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 363 views
Debian update for php5
Moderately // 292 views
Atarone CMS Multiple Vulnerabilities
Moderately // 318 views
Debian update for squid
Less // 318 views
SUSE update for mercurial
Moderately // 368 views
SUSE update for openssh
Less // 296 views
Fedora update for mediawiki

Solutions | More...  


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. Zeroboard Multiple Vulnerabilities // 55 views
2. Zeroboard Two Vulnerabilities // 50 views
3. phpBB BBcode "url" Script Insertion Vulnerability // 42 views
4. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 39 views
5. phpBB "url" bbcode Script Insertion Vulnerability // 38 views
6. HP-UX NFS/ONCplus Denial of Service Vulnerability // 34 views
7. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 30 views
8. SUSE update for openssh // 27 views
9. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 27 views
10. noName CMS "index.php" SQL Injection Vulnerabilities // 26 views