Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in GRAND Flash Album Gallery

Advisory ID:HTB22870
Product:GRAND Flash Album Gallery
Vendor:Sergey Pasyuk
Vulnerable Versions:0.55 and probably prior
Tested Version:0.55
Advisory Publication:February 22, 2011 [without technical details]
Vendor Notification:February 22, 2011
Public Disclosure:March 8, 2011
Vulnerability Type:SQL Injection [CWE-89]
Path Traversal [CWE-22]
Risk Level:High
CVSSv2 Base Scores:7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in GRAND Flash Album Gallery which could be exploited to perform SQL injection attacks and gain access to sensitive information.

1) SQL injection vulnerabilities in GRAND Flash Album Gallery
The vulnerability exists due to input sanitation error in the "pid" parameter in wp-content/plugins/flash-album-gallery/lib/hitcounter.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
http://[host]/wp-content/plugins/flash-album-gallery/lib/hitcounter.php?pid= SQL_CODE_HERE

2) Information disclosure vulnerability in GRAND Flash Album Gallery
The vulnerability exists due to insufficient of input data in the "want2Read" parameter in wp-content/plugins/flash-album-gallery/admin/news.php. A rmote attacker can create a specially crafted HTTP POST request and read arbitrary files on the target system.
Exploitation example:
<form action="http://[host]/wp-content/plugins/flash-album-gallery/admin/news.php" method="post" name="main" >
<input type="hidden" name="want2Read" value="../../../../wp-config.php" />
<input type="submit" value="submit" name="submit" />
</form>

How to Detect SQL Injection Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to the most recent version (v0.60-11.04.2011 or later)

More information:
http://wordpress.org/extend/plugins/flash-album-gallery/changelog/
http://plugins.trac.wordpress.org/changeset/371350/flash-album-gallery/trunk/lib/hitcounter.php
http://plugins.trac.wordpress.org/changeset/371350/flash-album-gallery/trunk/admin/news.php


References:
[1] High-Tech Bridge Advisory HTB22870 - https://www.immuniweb.com/advisory/HTB22870 - Multiple Vulnerabilities in GRAND Flash Album Gallery wordpress plugin

[2] GRAND Flash Album Gallery - codeasily.com - Flash Album Gallery is a full integrated (flash skin based) Image Gallery WordPress plugin with a powerful administration back end.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential