what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Secunia Security Advisory 20239

Secunia Security Advisory 20239
Posted May 24, 2006
Authored by Secunia | Site secunia.com

Secunia Security Advisory - 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.

tags | advisory, xss
SHA-256 | 4741fcf3ca2ae7be961332f9b99c6de0b56b490be8106c34d1add26c51143bf4

Secunia Security Advisory 20239

Change Mirror Download


TITLE:
phpwcms Cross-Site Scripting and Local File Inclusion

SECUNIA ADVISORY ID:
SA20239

VERIFY ADVISORY:
http://secunia.com/advisories/20239/

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Exposure of sensitive information, System
access

WHERE:
>From remote

SOFTWARE:
phpwcms 1.x
http://secunia.com/product/6129/

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:
Edit the source code to ensure that input is properly verified.

PROVIDED AND/OR DISCOVERED BY:
trueend5

ORIGINAL ADVISORY:
http://www.kapda.ir/advisory-331.html

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close