Some vulnerabilities have been reported in Small Pirate, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct SQL injection attacks.
1) A vulnerability is caused due to the application not properly handling unclosed "[url]" BBcode tags. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in the context of an affected site when malicious data is viewed.
2) Input passed to the "id" parameter in pag1.php, pag1-guest.php, rss-comment_post.php, rss-pic-comment.php, and index.php (when "type" is set to "rss" and "action" is set to ".xml") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Solution: Edit the source code to ensure that input is properly 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: Small Pirate Script Insertion 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.