Some vulnerabilities have been discovered in Uiga Church Portal, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed to the "year" and "month" parameters in index.php (if "view" is set to "calendar") is not properly sanitised before being returned in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed to the "name_from", "email_from", "telephone", and "message" parameters in index.php (if "view" is set to "contact" and e.g. one of the form fields is rejected or the "numval" parameter does not match the "num" parameter) 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 context of an affected site.
The vulnerabilities are confirmed in versions downloaded on August 28th, 2009 and on October 20th, 2009. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: 1) Mr.SQL
2) Drunken Danish Rednecks and an anonymous person
Original Advisory: http://milw0rm.com/exploits/9535
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: Uiga Church Portal Cross-Site Scripting and SQL Injection 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.