Page 1 of 4 12 ... LastLast
Results 1 to 10 of 35

Thread: Critical aeDating Security Issue - With Fix

  1. #1
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Critical aeDating Security Issue - With Fix

    Critical Security Issue

    This security issue exists in all 3.x versions of aeDating. It is unknown at this time if it exists in 2.x or before.

    It allows a malicious user to retrieve the password for the admin panel from the database, or other information.

    After they retrieve this password, they often login to the admin panel, and use the language file editor to upload a php shell, normally R57SHELL. Using this shell, they can perform various functions on your site, depending on your file security settings.

    This has happened already to several aeDating users, some of which suffered minimal damage, while others experienced more disruption.

    This exploit has been detected in this file:

    news_view.php

    Even if you don't use the news function on your site.... if the file news_view.php exists, and is web accesable - you can be exploited.

    If you don't use news - you should delete, rename, or chmod this file to deny access. Or apply the patch below:

    To prevent your site from being attacked using this exploit, you should do the following:

    1) Edit your news_view.php file

    2) Find this line:

    Code:
    if ( !strlen($ID) ) $ID = 0;
    3) After this line, add:

    Code:
    	// ModMySite.Com - Close exploit that allows viewing of admin password, and other information
    	if ( strlen($ID) > 4) $ID = 0;
    The net effect of this that the current exploit is stopped. In addition, the number of news articles on your site is limited to 999. This should be fine for most all aeDating installations. If you need more articles, you can increase the value of "strlen($ID) > 4" - for example, "5" would allow you to have 9999 news articles.

    In addition to applying this fix, you should highly consider .htaccess protecting your admin folder. You can do this easily through your server control panel (CPanel/Pleask/DirectAdmin). You should use a different password for .htaccess then you use for your aeDating admin panel - in effect, giving you "double security".

    After you apply this fix, you should change your aeDating admin password using the aeDating admin control panel. If you know how to use phpMyAdmin, you should consider changing the admin username also.

    How can you tell if you have already been exploited? This may be difficult - but one indication is the presense of files in your /langs directory other than the lang-English.php (or whatever other languages you are using) file.

    Credits: This exploit was reported to ModMySite by Forplaz. He supplied me his server logs so the exploit could be discovered and fixed. Many thanks to Forplaz for his willingness to share his server logs to rectify this issue.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  2. #2

    Join Date
    Apr 2005
    Posts
    110

    Default

    Thanks Smoge for getting a fast fix for this. Hopefully everyone will update there sites with this fix ASAP.
    .............
    PeekHoles
    5.6.0005

  3. #3
    stevie's Avatar
    Join Date
    May 2005
    Posts
    253

    Default

    got your email thank you smodge

  4. #4
    meetadultfriends
    Guest

    Default Thanks for the Fix

    Thanks again Smoge for the fix... it works beautiful...

    Damien
    admin@meetadultfriends.com

  5. #5
    mike12345
    Guest

    Default

    thanks !!

    did the upgrade !!

  6. #6
    Modified
    Guest

    Default Does this security issue apply to 2.1 ?

    I'm running a very modified 2.1, so upgrade is out of the question. Have been updating and adding all along to compensate.

    Anyway, that line does not appear to exist in 2.1 in news_view.php

    Advice?

    Thanks.
    S

  7. #7
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Re: Does this security issue apply to 2.1 ?

    Quote Originally Posted by Modified
    I'm running a very modified 2.1, so upgrade is out of the question. Have been updating and adding all along to compensate.

    Anyway, that line does not appear to exist in 2.1 in news_view.php
    Wow - you are still running 2.1.... when I said all versions of aeDating, I guess I should say all 3.X versions of aeDating.

    I don't even have a copy of v2.1 anymore to look at.

    I'll change the original post to reflect this.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  8. #8
    Modified
    Guest

    Default Thanks....hope someone is looking at security in 2.1

    Yes, still running 2.1 since it would be a very lengthy project to upgrade with all the mods and additions I made to 2.1 while waiting for the first 3.0

    Now it is not worth upgrading, other that adding bits and pieces of goodies in the newer versions. At least I can't do it being a relative newbie to php.

    Thanks.
    S

  9. #9
    CyberDJ2
    Guest

    Default Thanx for the fix

    Quick and easy.. Smoge. You did it again

    Thanx

  10. #10
    rr1024's Avatar
    Join Date
    Mar 2005
    Posts
    152

    Default FYI

    If you rename your admin directory to say
    MyDogsName
    and you DO NOT put your admin directory in the robot text file then it eliminates a lot of these issues....i.e. even if they had the password and login they would never be able to find your directory.

    They could scan but it would take for freaking ever and you would notice it in your Cpanal



    FYI the Xploit does exsist in version 2.0, I just tested it on my version...


    Thanks for leting us know Smoog
    Windows defined as 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition.
    -----------------------------------------------------
    My Aed site
    Adult Sex Toys My Web Real Estate Web Hosting Real Estate Realtors fed state taxes

Page 1 of 4 12 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Critical Issue - Database Pruning!
    By Smoge in forum Bugs Dolphin 6.00
    Replies: 2
    Last Post: 09-26-2007, 11:53 PM
  2. Ray Security Issue?
    By Smoge in forum Ray Community Widget Suite
    Replies: 18
    Last Post: 08-30-2007, 09:20 PM
  3. Userplane AeDating Intergration Security Issue
    By Smoge in forum Security / Server Administration
    Replies: 2
    Last Post: 08-01-2005, 10:25 AM
  4. phpBB Critical Security Issue
    By Smoge in forum Security / Server Administration
    Replies: 0
    Last Post: 06-28-2005, 12:37 PM
  5. Security Issue
    By Smoge in forum Security / Server Administration
    Replies: 0
    Last Post: 05-16-2005, 09:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •