More Critical Vulnerabilities In PHP Topsites

From: JeiAr (jeiar@kmfms.com)
Date: 01/21/03

  • Next message: security@caldera.com: "Security Update: [CSSA-2003-005.0] Linux: canna buffer overflow and denial of service"
    Date: 21 Jan 2003 17:00:53 -0000
    From: JeiAr <jeiar@kmfms.com>
    To: bugtraq@securityfocus.com
    
    
    ('binary' encoding is not supported, stored as-is)

    Version: All
    Script: edit.php
    vendor: itop10.net
    Type: Code Injection/Execution Vulnerability
    ---------------------------------------------------------------------------
    Another critical vulnerability has been found by the CyberArmy Security
    Research Team that effects php topsites. Basically, it is a different
    script vulnerable to the same attack as the previously released add.php
    vuln. A user cannot submit a site with invalid metacharacters if a php
    topsites owner or admin has applied the patch, or written an ereg himself
    or used the htmlspecialchars() function etc. However once accepted a
    malicious user can edit thier site description and then submit the site
    for revalidation. Upon viewing the site submitted for revalidation, any
    code injected into the description field (or other fields) will be run by
    the admin unknowingly.

    Version: All
    Script: edit.php
    vendor: itop10.net
    Type: SQL Injection/User Account Disclosure Vulnerability
    ---------------------------------------------------------------------------
    PHP Topsites has a very poor authentication system, thus by adding the
    variable auth=1 and terminating the SQL query with the -- characters an
    attacker can gain access to any user account he/she has an account number
    for. You can TRY to quickly patch this by specifying a refferer and method
    type, but it's advised to just get another topsites script since there
    is no real fix for this that would be very secure. Below is an example of
    how an attacker can disclose user account info via a malformed url. This
    works even if the previous fix to edit.php was applied.

    http://somewebsite.com/topsitesdir/edit.php?
    a=pre&submit=&auth=1&sid=thesiteidnumgoeshere--

    The writer of the scripts located at http://www.itop10.net really doesn't
    seem to care about keeping his users safe, as he has not issued a warning
    to potential customers as well as existing customers. Nor has he quit
    selling the buggy scripts for 60$ US a pop. I am no lawyer, but isn't
    this somewhat illegal? Negligance maybe? Ah well, you guys decide, Im sure
    someone out there is a lawyer. Cheers :)

    JeiAr

    All credit goes to The CyberArmy Security Research ACAT Team

    http://www.security-research.org
    http://www.gulftech.org



    Relevant Pages

    • SecurityFocus Microsoft Newsletter #83
      ... MICROSOFT VULNERABILITY SUMMARY ... Microsoft IIS CodeBrws.ASP Source Code Disclosure Vulnerability ... Microsoft Internet Explorer History List Script Injection ... Microsoft Windows 2000 Lanman Denial of Service Vulnerability ...
      (Focus-Microsoft)
    • SecurityFocus Microsoft Newsletter #84
      ... The most critical piece of vulnerability assessment is remediation. ... MICROSOFT VULNERABILITY SUMMARY ... IcrediBB Script Injection Vulnerability ... WorkforceROI XPede Unprotected Administrative Facilities... ...
      (Focus-Microsoft)
    • SecurityFocus Microsoft Newsletter #91
      ... SecurityFocus Microsoft Newsletter #91 ... Multiple Bugzilla Security Vulnerabilities ... Geeklog pid CGI Variable SQL Injection Vulnerability ... Geeklog Calendar Event Form Script Injection Vulnerability ...
      (Focus-Microsoft)
    • SecurityFocus Microsoft Newsletter #109
      ... MICROSOFT VULNERABILITY SUMMARY ... PHPRank Banner Script Code Injection Vulnerability ... PHPNuke Multiple Script Code Filtering Vulnerabilities ...
      (Focus-Microsoft)
    • HP Web JetAdmin vulnerabilities.
      ... this vulnerability is not a critical risk. ... Luckily these directories do not have execute permissions but, this script, ... create files in the Administrators startup folder. ... it may be possible to directly inject the hts scripting ...
      (Bugtraq)