High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters
Vendor Statistics

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

Patch Available Upon Disclosure

2014 Q1: 87%2013 Q2: 92%
2013 Q4: 67%2013 Q1: 100%
2013 Q3: 77%2012 Q4: 68%

Vendor Average Time to Patch

2014 Q1: 5 days 2013 Q2: 30 days
2013 Q4: 8 days 2013 Q1: 13 days
2013 Q3: 13 days 2012 Q4: 26 days

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Multiple Vulnerabilities in 1 Flash Gallery wordpress plugin

Advisory ID:HTB22868
Product:1 Flash Gallery wordpress plugin
Vendor:1plugin.com
Vulnerable Versions:0.2.5 and probably prior
Tested Version:0.2.5
Advisory Publication:February 22, 2011 [without technical details]
Vendor Notification:February 22, 2011
Public Disclosure:March 8, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
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 vulnerabilities in 1 Flash Gallery wordpress plugin which could be exploited to perform cross-site scripting and SQL injection attacks.


1) Cross-site scripting (XSS) vulnerability in 1 Flash Gallery wordpress plugin

The vulnerability exists due to input sanitation error in the "type" parameter in wp-content/plugins/1-flash-gallery/folder.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.

Exploitation example:
http://[host]/wp-content/plugins/1-flash-gallery/folder.php?type=%22%3Cscript%3Ealert%28document.coo kie%29;%3C/script%3E


2) SQL injection vulnerability in 1 Flash Gallery wordpress plugin

The vulnerability exists due to input sanitation error in the "gall_id" parameter in wp-content/plugins/1-flash-gallery/massedit_album.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:
<form action="http://[host]/wp-content/plugins/1-flash-gallery/massedit_album.php" method="post" name="main" >
<input type="hidden" name="album_id" value="1" />
<input type="hidden" name="images" value="1" />
<input type="hidden" name="gall_id" value="SQL_CODE_HERE" />
<input type="submit" value="submit" name="submit" />
</form>


Solution:
Upgrade to the most recent version


ImmuniWeb® by High-Tech Bridge


References:
[1] High-Tech Bridge Advisory HTB22868 - https://www.htbridge.com/advisory/HTB22868 - Multiple Vulnerabilities in 1 Flash Gallery wordpress plugin
[2] 1 Flash Gallery wordpress plugin - 1plugin.com - 1 Flash Gallery is photo gallery Wordpress plugin with slideshow function.
[3] 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.