OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA32106] Drupal Brilliant Gallery Module SQL Injection and Script Insertion

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Oct 02 2008 - 16:24:04 CDT


----------------------------------------------------------------------

Do you need accurate and reliable IDS / IPS / AV detection rules?

Get in-depth vulnerability details:
http://secunia.com/binary_analysis/sample_analysis/

----------------------------------------------------------------------

TITLE:
Drupal Brilliant Gallery Module SQL Injection and Script Insertion

SECUNIA ADVISORY ID:
SA32106

VERIFY ADVISORY:
http://secunia.com/advisories/32106/

CRITICAL:
Less critical

IMPACT:
Cross Site Scripting, Manipulation of data, Privilege escalation

WHERE:
From remote

SOFTWARE:
Brilliant Gallery 5.x (module for Drupal)
http://secunia.com/advisories/product/19962/

DESCRIPTION:
Two vulnerabilities have been reported in the Brilliant Gallery
module for Drupal, which can be exploited by malicious users to
conduct script insertion and SQL injection attacks.

1) Input passed to unspecified parameters 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 allows e.g. getting
administrator access, but requires valid user credentials.

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

Successful exploitation of this vulnerability requires valid user
credentials with the permission to post answers.

The vulnerabilities are reported in all 5.x versions prior to
5.x-4.2.

SOLUTION:
Update to version 5.x-4.2.

NOTE: According to DRUPAL-SA-2008-058, this module includes an
unpatched vulnerability and has reportedly been removed from
Drupal.org.

PROVIDED AND/OR DISCOVERED BY:
1) The vendor credits Justin C. Klein Keane.
2) Reported by the vendor.

ORIGINAL ADVISORY:
DRUPAL-SA-2008-059:
http://drupal.org/node/315919

OTHER REFERENCES:
DRUPAL-SA-2008-058:
http://drupal.org/node/313054

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------