Total Tests:
This Week:
Today:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime


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
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

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.
User Comments
Add Comment


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.
Ask a Question