Secunia Logo
Netsikker nu! 2008
 
PHP-Post Multiple Vulnerabilities
Secunia Advisory: SA22014
Release Date: 2006-09-19
Last Update: 2006-09-21
Popularity: 5,945 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:PHP-Post 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4877
CVE-2006-4878
CVE-2006-4879
CVE-2006-4880
CVE-2006-4881


Description:
HACKERS PAL has reported some vulnerabilities in PHP-Post, which can be exploited by malicious people to disclose sensitive information, and conduct cross-site scripting and SQL injection attacks.

1) Input passed to the "template" parameter in footer.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.

Successful exploitation requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled.

2) Input passed to parameters in multiple files 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.

Examples:
http://[host]/template.php?txt_error=[code]
http://[host]/template.php?txt_templatenotexist=[code]
http://[host]/dropdown.php?txt_jumpto=[code]
http://[host]/loginline.php?txt_login=[code]

Note: Reportedly more files are affected.

3) Input passed to the "user" parameter in profile.php and to the "table_prefix" parameter in multiple files is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
http://[host]/index.php?table_prefix=[code]
http://[host]/profile.php?table_prefix=[code]
http://[host]/header.php?msgid=w&table_prefix=[code]

Successful exploitation of the "user" parameter requires that "magic_quotes_gpc" is disabled.

The vulnerabilities have been reported in version 1.01. 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:
HACKERS PAL

Changelog:
2006-09-21: Added CVE references.


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

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. CA ARCserve Backup Multiple Vulnerabilities // 35 views
2. CUPS Multiple Vulnerabilities // 32 views
3. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 32 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 30 views
5. Fedora update for ruby // 28 views
6. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 24 views
7. Red Hat update for cups // 24 views
8. Subdreamer Light Global Variables SQL Injection Vulnerability // 23 views
9. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 23 views
10. Gentoo Portage Insecure Python Module Search Path Security Issue // 23 views