[UNIX] Poster Version.two Privilege Escalation

From: SecuriTeam (support_at_securiteam.com)
Date: 05/21/03

  • Next message: SecuriTeam: "[NT] Authentication Bypass in iisPROTECT"
    To: list@securiteam.com
    Date: 21 May 2003 17:49:32 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    In the US?

    Contact Beyond Security at our new California office
    housewarming rates on automated network vulnerability
    scanning. We also welcome ISPs and other resellers!

    Please contact us at: 323-882-8286 or ussales@beyondsecurity.com
    - - - - - - - - -

      Poster Version.two Privilege Escalation
    ------------------------------------------------------------------------

    SUMMARY

     <http://x.faction.nu/> Poster is a "News Management Script. Uses flat
    text files, very easy to install, add/edit/remove users, add/edit/remove
    entries". A vulnerability in the product allows under privileged users to
    gain elevated privileges.

    DETAILS

    If a user has their account type set to 'normal' by the administrator,
    then they cannot edit other people's accounts, nor can they edit other
    people's posts, they are harmless to the site.

    Sadly, there is a dangerous vulnerability within the 'index.php' file in
    the 'edit account' section of the code, which places data from the
    username, password, and email address fields straight into the 'mem.php'
    (user password and privileges) file.

    A normal 'mem.php' file looks like this:

    <?
    James|password|email@address.com|admin|
    Jack|password|email@address.com|normal|
    ?>

    Where James has an administrator account and Jack does not.

    The normal user, Jack, could decide to change his account details to:

    Username: Jack
    Password: password
    Email: email@address.com|admin|

    Notice the '|admin|' appended to the end of the address. When Jack saved
    his details, his account would appear as:
    Jack|password|email@address.com|admin||normal|

    The 'index.php' file would take the first four parameters as the account
    details and type, then seeing that parameter four was '|admin|', it would
    assign Jack administrator privileges.

    Jack could then delete all the posts and accounts on the site when he next
    logged in.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:peter4020@hotmail.com> Peter
    Winter-Smith.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[NT] Authentication Bypass in iisPROTECT"

    Relevant Pages

    • Re: My system sounds have been disabled. Help!
      ... Try reinstalling it from the User Jack. ... When I use the Guest account, all the system sounds work perfectly. ... start or close Windows or empty the recycle bin, ... BellSouth) and the restore changed all my mail and newsgroup settings ...
      (microsoft.public.windowsxp.basics)
    • [VULNERABILITY] PHP poster version.two
      ... This is my first time posting a vulnerability since most of my private ... If a user has their account type set to 'normal' by the administrator, ... Where James has an administrator account, and Jack doesn't. ...
      (Bugtraq)
    • [VulnWatch] Vulnerability in poster version.two
      ... This is my first time posting a vulnerability since most of my private ... If a user has their account type set to 'normal' by the administrator, ... Where James has an administrator account, and Jack doesn't. ...
      (VulnWatch)
    • Re: How to change name of home folder +
      ... > name in the accounts panel from thomas to jack and at login it comes up ... > with the name jack, ... Probably the easiest way to do it is to rename the account back to thomas, ... > my son would like it to say jacks' computer, ...
      (uk.comp.sys.mac)
    • Re: "Edit Users..." Menu Item Disabled in Telephony Management Sna
      ... Business 2003 and I am unable to acces "Edit Users". ... on member server with domain account I cannot change anything. ... Running "tapicfg show" revealed that I had no Active Directory TAPI ... Install and Configure Telephony Server for Client Access.") ...
      (microsoft.public.win32.programmer.tapi)