Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA35919

MyWeight Cross-Site Scripting and Arbitrary File Upload
Secunia Advisory SA35919
Secunia VIM 4.0 - Free Trial
Release Date 2009-07-21
Last Update 2009-10-19
   
Popularity 2,184 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact System access
Cross Site Scripting
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Unpatched
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia VIM
   
Software:
MyWeight 1.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2009-3512 CVSS score available to Secunia VIM customers
  

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

Changelog
Further details available to Secunia VIM customers

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-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability