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

Secunia Advisory SA30069

Maian Greetings Multiple Vulnerabilities
Secunia Advisory SA30069
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2008-05-08
Last Update 2010-02-02
   
Popularity 6,112 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Security Bypass
Cross Site Scripting
Manipulation of data
Exposure of sensitive information
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
Maian Greetings 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2008-2208 CVSS available in Customer Area
CVE-2008-2209 CVSS available in Customer Area
  

Description

Multiple vulnerabilities have been reported and discovered in Maian Greetings, which can be exploited by malicious users to compromise a vulnerable system and by malicious people to conduct cross-site scripting, SQL injection attacks, and to bypass certain security restrictions.

1) Input passed to the "keywords" parameter in index.php (when "cmd" is set to "search") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "msg_script" and "msc_script2" parameter in admin/inc/header.php is not properly sanitised before being returned to a 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) A vulnerability is caused due to improper access restriction in the admin/index.php script. This can be exploited to bypass the authentication mechanism and gain access to the administration section by setting the "mecard_admin_cookie" cookie.

4) Input passed via the "Upload Your Own Image" form to the index.php script (when "cmd" is set to "ecard" and "action" is set to "upload") is not properly verified before being used to store files to the images/uploads folder. This can be exploited to execute arbitrary PHP code by uploading a PHP file with multiple extensions.

Successful exploitation requires that Apache is not configured to handle the mime-type for uploadable media files.

Vulnerabilities #1, #2, and #3 are reported in version 2.1 and vulnerability #4 is confirmed in version 2.1. Other versions may also be affected.


Solution
Edit the source code to ensure that input is properly sanitised.
Further details available in Customer Area

Provided and/or discovered by
1, 2) Khashayar Fereidani a.k.a. Dr.Crash
3) Saime
4) indoushka

Changelog
Further details available in Customer Area

Original Advisory
Khashayar Fereidani a.k.a. Dr.Crash:
http://seclists.org/bugtraq/2008/May/0031.html

Saime:
http://milw0rm.com/exploits/6050

Deep Links
Links available in Customer Area


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: Maian Greetings Multiple 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 & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


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