Some vulnerabilities have been discovered in phpGreetCards, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a vulnerable system.
1) The index.php script fails to validate the types of uploaded images. This can be exploited to upload files with arbitrary extensions (e.g. ".php") and execute arbitrary PHP code on the server.
2) Input passed to the "category", "card[image]", "card[sender_name]", "card[sender_email]", "card[recip_name]", "card[recip_email]", "card[recip_email]", "card[recip_email]", "card[font_color]", and "card[category]" parameters in index.php (when "mode" is set to "select") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site.
These vulnerabilities are confirmed in version 3.7. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified and sanitised.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: phpGreetCards File Upload and Cross-Site Scripting Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.