the internet's safety

exponentCMS.txt

exponentCMS.txt
Posted Nov 20, 2005
Authored by Hans Wolters

ExponentCMS versions 0.96.3 and higher suffer from multiple vulnerabilities including cross site scripting and SQL injection flaws.

tags | exploit, vulnerability, xss, sql injection
MD5 | 62881d111aa1ba4f0c8b69db88f7fc47

exponentCMS.txt

Change Mirror Download
A number of security issues have been discovered in ExponentCMS

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

Exponent is a fully-featured, modern CMS written in PHP, that enables
non-technical people to manage and update their websites with
minimal effort. Exponent is also an attractive development platform for
traditional and non-traditional web applications.

Exponent can be found at:

http://sourceforge.net/projects/exponent/

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

Security issues are located in 0.96.3 and higher.

1. js injection in forms.

ExponentCMS has a form generator which allows admin to create new
forms. Once these forms are used by users it is in most cases possible
to craft javascript injections which will be send to the given person.

Status: open

2. SQL injections in the navigation module.

Problem:

Any user who is allowed to change the order of the menu
is able to inject sql using a crafted url.

PoC:

<host>/index.php?action=order&parent=41%20or%
201&a=1&b=0&module=navigationmodule

Solution:

Typecast values where possible.

Status:

Fixed in CVS. Together with lots of other modules where no typecasting
is used.

3. Path disclosure in the extra Image Gallery module:

There is a security issue in the image gallery which
can be downloaded apart from the current stable.

In the output it shows the path above the document root
when placing the preview icons:

thumb.php?base=/var/www/site2/exponent-0.96.3/......

Status:

Fixed in cvs

4. (XSS) invalid checking of mime type for uploads

Exponent, the imagegallery to be specific, lacks mime
type checking on the uploads. Therefor the preview icon
is shown. On clicking the preview icon shows the source
written for the file.

Status: open


5. permissions on uploaded files

Files uploaded to exponentcms are chmodded with execute rights. In
some cases this could lead to code execution by visitors.

Status:

Fixed in CVS

6. False idea of secure file storage.

Users can create a page which is active but not public.
They can even set group/person permissions on such a
page. The default installation of exponent does not
provide a mechanism to prevent people from using a bot
to browse for uploaded resources and viewing those who
are supposed to be secured behind a login page since they
are all stored in the document root.

Status: open

7. parsing php through uploaded files

Once a user is allowed to upload
images it is possible to upload php code and do
anything the user apache/webserver is allowed to do
(some examples):

* view source code of the files.
* view and alter sessions of other users (in fact, do
anything with
the database you want to do.
* view the /etc/passwd

Status: open


8. XSS bug in the installer

Javascript is parsed when added to the url parameters of the installer
since there is hardly any user input sanitation.

Status: fixed in cvs

9.




Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close