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

WordPress Photoracer Plugin Multiple Cross-Site Scripting and SQL Injection Vulnerabilities

-

Release Date:  2009-06-16    Last Update:  2011-08-29    Views:  3,950

Secunia Advisory SA35450

Where:

From remote

Impact:

Cross Site Scripting, Manipulation of data

Solution Status:

Unpatched

CVE Reference(s):

Description


Multiple vulnerabilities have been discovered in the Photoracer plugin in WordPress, which can be exploited by malicious people to conduct cross-site scripting attacks and by malicious users and malicious people to conduct SQL injection attacks.

1) Input passed to the "id" parameter in wp-content/plugins/photoracer/viewimg.php is not properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "rid" in wp-content/plugins/photoracer/changeto.php and wp-content/plugins/photoracer/changefrom.php 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.

3) Input passed to the "pid" or "prid" parameter in wp-content/plugins/photoracer/mostvoted.php, wp-content/plugins/photoracer/mostviewed.php, and wp-content/plugins/photoracer/crono.php is not properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

4) Input passed to the "rid" in wp-content/plugins/photoracer/changeto.php and wp-content/plugins/photoracer/changefrom.php is not properly sanitised before being used in an SQL query. This can be exploited by malicious users to manipulate SQL queries by injecting arbitrary SQL code.

The vulnerabilities are confirmed in version 1.0. Other versions may also be affected.


Solution:
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
1) Kacper
2-4) Pr0T3cT10n

Original Advisory:
Kacper:
http://www.exploit-db.com/exploits/8961/

Pr0T3cT10n:
http://www.exploit-db.com/exploits/17731/

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: WordPress Photoracer Plugin Multiple Cross-Site Scripting and SQL Injection Vulnerabilitie

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