Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Mailing Lists RSS Blog New entry Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)
  - NEW -

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Gallarific Multiple Vulnerabilities

Secunia Advisory: SA29399  
Release Date: 2008-03-20
Last Update: 2008-04-16

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

Software:Gallarific 1.x

CVE reference:CVE-2008-1326 (Secunia mirror)
CVE-2008-1327 (Secunia mirror)
CVE-2008-1464 (Secunia mirror)
CVE-2008-1469 (Secunia mirror)

This advisory is currently marked as unpatched!
- Companies can be alerted when a patch is released!


Description:
Some vulnerabilities have been discovered in Gallarific, which can be exploited by malicious people to conduct cross-site scripting and script insertion attacks, bypass certain security restrictions, and conduct SQL injection attacks, or by malicious users to conduct script insertion attacks.

1) Input passed to the "query" parameter in search.php is not properly sanitised before being used in SQL queries or returned to a user. This can be exploited to modify SQL queries by injecting arbitrary SQL code or execute arbitrary HTML and script code in a user's browser session in context of an affected site.

2) Input passed to the "gusername" and "gpassword" parameters in login.php and to the "username" and "password" parameter in gadmin/index.php (if "task" is set to "signin") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

3) Various scripts (e.g. gadmin/users.php, gadmin/photos.php, gadmin/comments.php, and gadmin/gallery.php) do not perform proper authentication checks. This can be exploited to bypass the login mechanism and e.g. edit comments, users, and galleries.

4) Input passed to the "tag" parameter in tags.php is not properly sanitised 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.

5) Input passed via the "Name" field when submitting a comment is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in the administrator's browser session in context of an affected site when the malicious comment is viewed.

6) Input passed via the email address in a user's profile is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in the administrator's browser session in context of an affected site when the malicious profile is viewed.

Successful exploitation of the vulnerability requires valid user credentials.

The vulnerabilities are confirmed in Gallarific Free Edition 1.1. Other versions may also be affected.

Solution:
Use another product.

Provided and/or discovered by:
1-3) Reportedly discovered by ZoRLu. Additional information provided by an anonymous person.
4-6) Thomas Pollet

Changelog:
2008-03-25: Added CVE reference.
2008-04-16: Added vulnerabilities #4, #5, and #6 to the advisory.

Original Advisory:
1-3) http://www.securityfocus.com/bid/28163
4-6) http://lists.grok.org.uk/pipermail/full-disclosure/2008-April/061508.html



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.


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Microsoft Windows CE Image Processing Vulnerabilities
2.
Internet Explorer "DisableCaching OfSSLPages" Weakness
3.
SUSE Update for Multiple Packages
4.
Sarg Multiple Unspecified Buffer Overflows
5.
Sun Solaris Print Service Unspecified Vulnerabilities
6.
Fedora update for audacity
7.
Fedora update for cups
8.
Pngcrush libpng Unknown Chunk Processing Uninitialized Memory Access
9.
Red Hat Directory Server Regular Expression Handler Buffer Overflow
10.
Fedora update for sipp





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia