|
phpwcms Cross-Site Scripting and Local File Inclusion
|
|
Secunia Advisory:
|
SA20239
|
|
|
Release Date:
|
2006-05-23
|
|
Last Update:
|
2007-10-02
|
|
Popularity:
|
5,814 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Cross Site Scripting Exposure of sensitive information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | phpwcms 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-2518 CVE-2006-2519
|
|
Description: trueend5 has discovered a vulnerability in phpwcms, which potentially can be exploited by malicious users to compromise a vulnerable system, and by malicious people to conduct cross-site scripting attacks and disclose potentially sensitive information.
1) Input passed to the "spaw_root" parameter in "/include/inc_ext/spaw/spaw_control.class.php" is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources. It is reportedly possible for an authenticated user to upload image files containing PHP code as EXIF metadata into the "/picture/upload/" directory and executing the code by including it.
Successful exploitation requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled.
2) Input passed to the "BL[be_cnt_plainhtml]" parameter in "/include/inc_tmpl/content/cnt6.inc.php" and other template 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.
Successful exploitation requires that "register_globals" is enabled.
The vulnerabilities have been confirmed in version 1.2.6 and also reported in 1.2.5-DEV. Other versions may also be affected.
Solution: Update to version 1.3.3.
Provided and/or discovered by: trueend5
Changelog: 2006-07-19: Added CVE references.
2007-10-02: Update"Solution" section.
Original Advisory: http://www.kapda.ir/advisory-331.html
|
|
|
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.
|