[VulnWatch] Vulnerability in ' poster version.two'

From: Peter Winter-Smith (peter4020_at_hotmail.com)
Date: 05/14/03

  • Next message: Marek Bialoglowy: "[VulnWatch] Flooding Internet Explorer 6.0.2800 (6.x?) security zones ! - UPDATED"
    To: vulnwatch@vulnwatch.org
    Date: Wed, 14 May 2003 11:19:04 +0000
    
    

    Hi Guys,

    This is my first time posting a vulnerability since most of my private
    research has been done on very small projects, many of which were
    never released.

    Anyways, down to the vulnerability:

    Poster version.two privilege escalation:
    ========================================

    Poster version.two is an up and coming php news posting system which has
    already been put into use by many websites, mostly minor ‘blog’ style
    sites, but due to its growing popularity this may soon change.

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

    Sadly, there is a fairly 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 doesn't.

    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 privilidges.

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

    Although I do not know PHP very well, this is a very common vulnerability,
    or so
    I have found, and this should be addressed within all sorts of applications
    as soon as possible!

    Thank-you for reading this,

    -Peter Winter-Smith

    [About Me]

    I am 16 years old, I study at Christ Church high school, in London, England,
    and
    I am taking my GCSEs this year.
    My personal interests are Visual Basic and 16 bit assembly language
    programming.
    I usually don't release vulnerabilites unless they need wide-spread
    attention.

    Please feel free to contact me at:
    Email: peter4020@hotmail.com
    Aim: GenericCoder

    _________________________________________________________________
    Express yourself with cool emoticons http://www.msn.co.uk/messenger


  • Next message: Marek Bialoglowy: "[VulnWatch] Flooding Internet Explorer 6.0.2800 (6.x?) security zones ! - UPDATED"

    Relevant Pages

    • [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)
    • [Full-disclosure] Skype Account Service - Reset (Session) Password/Username Vulnerability
      ... Skype Account Service - Reset Vulnerability ... The Vulnerability Laboratory Research Team discovered a critical session vulnerability in Microsofts Skype Account Service Application. ...
      (Full-Disclosure)
    • [UNIX] Admin Access Vulnerability in P-News (Records Injection)
      ... housewarming rates on automated network vulnerability ... 'Member' privileges to gain elevated privileges by inserting an additional ... account due to a flaw in the 'p-news.php' file. ... Below is an example of a normal database: ...
      (Securiteam)
    • RE: about SQL injection
      ... That is a very common vulnerability. ... That means a hacker and retrieve almost everything that the account that you ... Earn your MS in Information Security ONLINE ...
      (Security-Basics)
    • [Full-disclosure] Paypal BugBounty #9 - Persistent Web Vulnerabilities [FULL]
      ... a PayPal account could be funded with an electronic debit from a bank account or by a credit card at the payer s choice. ... The Vulnerability Laboratory Research Team discovered multiple Web Vulnerabilities in the official Paypal ecommerce website application. ... The vulnerability is located in the company profile input fields with the bound vulnerable address_id, details & companyname parameters. ... The bug affects the important user profile listing, the address listings & security notification. ...
      (Full-Disclosure)