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

MyWeight Cross-Site Scripting and Arbitrary File Upload

-

Release Date:  2009-07-21    Last Update:  2009-10-19    Views:  2,388

Secunia Advisory SA35919

Where:

From remote

Impact:

System access, Cross Site Scripting

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Some vulnerabilities have been reported in MyWeight, which can be exploited by malicious people to conduct cross-site scripting attacks and by malicious users to compromise a vulnerable system.

1) Input passed via the "date" parameter in user_addfood.php, the "info" parameter in user_forgot_pwd_form.php and user_login.php, and the "return" parameter in user_login.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.

2) The user_controller.php script allows the upload of files with arbitrary extensions to a folder inside the webroot. This can be exploited to execute arbitrary PHP code by uploading arbitrary PHP files.

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


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

Further details available to Secunia VIM customers

Provided and/or discovered by:
1) Moudi
2) Mr.tro0oqy

Original Advisory:
1) http://packetstormsecurity.org/0907-exploits/myweight-xss.txt
2) http://milw0rm.com/exploits/9441

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: MyWeight Cross-Site Scripting and Arbitrary File Upload

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