Cross-site Scripting (XSS) Vulnerability in WP Photo Album

Advisory ID:HTB22961
Product:WP Photo Album
Vendor:Rubin J. Kaplan
Vulnerable Versions:1.5.1 and probably prior
Tested Version:1.5.1
Advisory Publication:April 14, 2011 [without technical details]
Vendor Notification:April 14, 2011
Public Disclosure:April 28, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in WP Photo Album which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerability in WP Photo Album
The vulnerability exists due to input sanitation error in the "id" parameter in wppa.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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.
Exploitation example:
http://[host]/wp-admin/admin.php?page=wp-photo-album/wppa.php&tab=del&id=%22 %3E%3Cscript%3Ealert%28d ocument.cookie%29%3C/script%3E

How to Detect Cross-Site Scripting 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

Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.

[1] High-Tech Bridge Advisory HTB22961 - - Cross-site Scripting (XSS) Vulnerability in WP Photo Album
[2] WP Photo Album - WP Photo Album is a WordPress plugin designed to easily manage and display your photo albums and slideshows in a single as well as in a network.
[3] Common Weakness Enumeration (CWE) - - 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.
Quick Start
Free Trial