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

OneCMS SQL Injections and File Upload Vulnerability

-

Release Date:  2007-09-20    Last Update:  2009-09-16    Views:  6,790

Secunia Advisory SA26902

Where:

From remote

Impact:

Manipulation of data, Exposure of sensitive information, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Some vulnerabilities have been in reported in OneCMS, which can be exploited by malicious people to conduct SQL injection attacks or by malicious users to compromise a vulnerable system.

1) Input passed to the "username" parameter in a_login.php, the "abc" parameter in userreviews.php, and to the "user" parameter in staff.php is not properly sanitised before being used in SQL queries. This can be exploited to conduct SQL injection attacks.

Successful exploitation allows to bypass the login mechanism and to retrieve e.g. the administrator's username and password hash, but may require "magic_quotes_gpc" to be deactivated.

2) The type of uploaded files is not correctly verified. This can be exploited to e.g. upload and execute arbitrary PHP code.

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


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

Provided and/or discovered by:
1) str0ke and AmnPardaz Security Research Team
2) AmnPardaz Security Research Team

Original Advisory:
http://milw0rm.com/exploits/4433
http://milw0rm.com/exploits/4857

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: OneCMS SQL Injections and File Upload Vulnerability

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