Secunia Logo
Netsikker nu! 2008
 
phpMyFAQ Multiple Vulnerabilities
Secunia Advisory: SA16933
Release Date: 2005-09-26
Last Update: 2005-09-27
Popularity: 6,015 views

Critical:
Highly critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Vendor Patch

Software:phpMyFAQ 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-3046
CVE-2005-3047
CVE-2005-3048
CVE-2005-3049
CVE-2005-3050


Description:
rgod has discovered some vulnerabilities in phpMyFAQ, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks, disclose system and sensitive information, and compromise a vulnerable system.

1) Input passed to the "username" parameter in "password.php" when using the forgotten password functionality isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

2) Input passed to the "PMF_CONF[version]" parameter in "footer.php" and the "PMF_LANG[metaLanguage]" parameter in "header.php" isn't 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 "LANGCODE" parameter in "index.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources.

This can further be exploited to execute arbitrary PHP code by including log files containing injected PHP code sent via the "User-Agent" HTTP header.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

4) The problem is that log files are insecurely placed inside the web root. This can be exploited to disclose some user information (e.g. requested URLs).

The vulnerabilities have been confirmed in version 1.5.1. Prior versions may also be affected.

Solution:
Update to version 1.5.2.
http://www.phpmyfaq.de/download.php

Provided and/or discovered by:
rgod

Changelog:
2005-09-27: Added CVE references.

Original Advisory:
phpMyFAQ:
http://www.phpmyfaq.de/advisory_2005-09-23.php


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 273 views
Debian update for php5
Moderately // 202 views
Atarone CMS Multiple Vulnerabilities
Moderately // 232 views
Debian update for squid
Less // 238 views
SUSE update for mercurial
Moderately // 277 views
SUSE update for openssh
Less // 220 views
Fedora update for mediawiki

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Zeroboard Two Vulnerabilities // 69 views
2. Zeroboard Multiple Vulnerabilities // 63 views
3. Debian update for php5 // 50 views
4. Atarone CMS Multiple Vulnerabilities // 37 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 35 views
6. Debian update for squid // 32 views
7. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 31 views
8. CMME Information Disclosure Security Issues // 30 views
9. SUSE update for mercurial // 29 views
10. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 28 views