Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

Small Pirate Script Insertion and SQL Injection Vulnerabilities

-

Release Date:  2009-05-29    Last Update:  2010-07-26    Views:  3,412

Secunia Advisory SA35272

Where:

From remote

Impact:

Cross Site Scripting, Manipulation of data

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


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.

This may be related to:
SA33790

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.

Provided and/or discovered by:
YEnH4ckEr

Deep Links:
Links available to Secunia VIM customers

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 vuln@secunia.com

Subject: Small Pirate Script Insertion and SQL Injection Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability