Total Tests:

Multiple Vulnerabilities in Lazyest Gallery

This vulnerability was discovered by our security researchers before 2019.

Advisory ID:HTB22874
Product:Lazyest Gallery
Vendor:Brimosoft
Vulnerable Versions:1.0.26 and probably prior
Tested Version:1.0.26
Advisory Publication:February 24, 2011 [without technical details]
Vendor Notification:February 24, 2011
Public Disclosure:March 10, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Information Exposure Through Externally-generated Error Message [CWE-211]
Risk Level:Medium
Medium Risk
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
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 vulnerabilities in Lazyest Gallery which could be exploited to perform cross-site scripting attacks and disclose potentially sensitive information.

1) Cross-site scripting (XSS) vulnerability in Lazyest Gallery
The vulnerability exists due to input sanitation error in the "image" parameter in wp-content/plugins/lazyest-gallery/lazyest-popup.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/lazyest-gallery/lazyest-popup.php?image=%3C /title%3E%3Cscript%3Eale rt%28document.cookie%29;%3C/script%3E

2) Installation path disclosure weakness in Lazyest Gallery
The weakness exists due to application reveals the full path to installation directory in an error message. A remote attacker can directly access the wp-content/plugins/lazyest-gallery/lazyest-img.php script and gain knowledge of the web root directory and other potentially sensitive information.
Successful exploitation requires that php_display_errors is enabled.
Exploitation example:
http://[host]/wp-content/plugins/lazyest-gallery/lazyest-img.php?file=123


Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB22874 - https://www.immuniweb.com/advisory/HTB22874 - Multiple Vulnerabilities in Lazyest Gallery
[2] Lazyest Gallery - brimosoft.nl - Lazyest Gallery is a plugin for WordPress that allows you to add permanent style additions.
[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.
Ask a Question