Page 1 of 10 1 2 3 4 5 6 7 8 9 10 LastLast
Results 1 to 15 of 148

config.xml settings changed randomly - security issue?

This is a discussion on config.xml settings changed randomly - security issue? within the Troubleshooting forums, part of the vBSEO SEO Plugin category; hi, i am using the latest vbseo and today somehow my config.xml got modified, changing all of my URL structure ...

  1. #1
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    91
    Liked
    2 times

    config.xml settings changed randomly - security issue?

    hi, i am using the latest vbseo and today somehow my config.xml got modified, changing all of my URL structure settings. the file had not been modified for over a few months (when i had authorized the change before). i have a very very long and secure password (and just changed it anyways)

    the file was chmod 644 before

    i have now chown'ed it to root:root so it can't be written to


    is there any logical reason for my settings being randomly changed, assuming it was not a security issue?

    i am positive i haven't changed any of the settings myself

    i ran this command to look thru the logs:

    [root@lazarus logs]# cat access_log | grep vbseo | grep php

    some tor server ip here - - [01/Aug/2010:18:14:10 -0400] "POST /vbseocp.php HTTP/1.1" 200 6654
    some tor server ip here - - [01/Aug/2010:18:14:26 -0400] "POST /vbseocp.php HTTP/1.1" 200 6654

    ^ this wasn't me. but is there any way to tell from the POST if this was a login attempt, and if so, was it successful?

    please advise
    thx

  2. #2
    Senior Member
    Real Name
    chance
    Join Date
    Aug 2006
    Posts
    260
    Liked
    2 times
    I have had the same issue with my config file changing. any idea whats going on here? I logged into my site yesterday and the config file was changed. I manaul changed them all and now they got changed again from my settings.

  3. #3
    Member
    Real Name
    m0rgulvale
    Join Date
    May 2009
    Posts
    91
    Liked
    2 times
    hey rocket looks like im not alone here

    are u also running 3.8.6 pl 1 and the latest vbseo?

    vbseo team, any idea what is going on here? for time being i have chowned the config.xml root:root so it can;t be changed

  4. #4
    Junior Member
    Real Name
    Graham
    Join Date
    Feb 2008
    Posts
    28
    Liked
    10 times
    Yep same thing for me. The config file looks like it was defaulted. I uploaded a backup I had but strange that it has happened to a number of people at the same time.

    Running vbulletin 4.0.5 and the latest vbseo.

  5. #5
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    If you have any logs that can help us identify a possible issue, please submit them via ticket.

    As vbseo settings as saved in the vb datastore table (config.xml is merely a 'transport' layer) it could be nearly anything that let them in to effect your database.

  6. #6
    Member
    Real Name
    trikke
    Join Date
    Sep 2006
    Posts
    94
    Liked
    0 times
    Here vbsoe also stopped working the settings were changed. Now all urls in google changed. I have the right settings to place.

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    Here vbsoe also stopped working the settings were changed. Now all urls in google changed. I have the right settings to place.
    make sure that you had set permissions for config.xml file back to 0644 after configuring vBSEO, as described in vBSEO's readme.html:
    # For security purposes CHMOD 644 your 'vB-root/vbseo/resources/xml/config.xml' file after configuring vBSEO.

  8. #8
    Junior Member
    Real Name
    Graham
    Join Date
    Feb 2008
    Posts
    28
    Liked
    10 times
    Mine was set and is still set at 644.
    I have a time and date and now looking through the logs for some info.

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Perhaps the file was still writable with these permissions (that might happen for instance when apache is running under the same user as your (s)ftp login).

  10. #10
    Junior Member
    Real Name
    James Vincent
    Join Date
    Jul 2010
    Posts
    8
    Liked
    0 times
    Same thing here.... what's going on?

    I don't really know what I'm looking at when I check my config.xml file, but the permissions are set to 644.

  11. #11
    Junior Member
    Real Name
    Graham
    Join Date
    Feb 2008
    Posts
    28
    Liked
    10 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Perhaps the file was still writable with these permissions (that might happen for instance when apache is running under the same user as your (s)ftp login).
    ie when using suphp or similar ?

    I've submitted a ticket with some access logs which appear to be related to the change.

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Update: this security issue may take place in case if the *write permissions were not disabled* after vBSEO installation, which is described in vBSEO's readme.html as chmod config.xml to 0644, but in some cases file ownership needs to be changed, as mentioned above.

    The fix is to update vbseocp.php file:
    find:
    PHP Code:
    if (($fl $_FILES['file']) && $fl['size']) 
    replace with:
    PHP Code:
    if (($fl $_FILES['file']) && $fl['size']  && vBSEO_CP::$logged_in

  13. #13
    Ky!
    Ky! is offline
    Senior Member Ky!'s Avatar
    Real Name
    KK
    Join Date
    Nov 2007
    Location
    Germany
    Posts
    161
    Liked
    0 times
    Some for me todays morning. What beginning of the day ! F+++!

  14. #14
    Senior Member toon's Avatar
    Real Name
    Andi
    Join Date
    Jun 2007
    Location
    Sheffield UK
    Posts
    197
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Update: this security issue may take place in case if the *write permissions were not disabled* after vBSEO installation, which is described in vBSEO's readme.html as chmod config.xml to 0644, but in some cases file ownership needs to be changed, as mentioned above.

    The fix is to update vbseocp.php file:
    find:
    PHP Code:
    if (($fl $_FILES['file']) && $fl['size']) 
    replace with:
    PHP Code:
    if (($fl $_FILES['file']) && $fl['size']  && vBSEO_CP::$logged_in
    Is this something we all have to do?

  15. #15
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Quote Originally Posted by Ky! View Post
    Some for me todays morning. What beginning of the day ! F+++!
    Revert your settings, make sure that you secure the config.xml file to 644 and make sure the patch that Oleg supplied above is added should never happen again then .

    Should be noted that this exploit only works if you have incorrect security on your server IE you either haven't CHmod the file to 644 or you have Apache running on the same user as your FTP, both are big security risks.

Page 1 of 10 1 2 3 4 5 6 7 8 9 10 LastLast

Similar Threads

  1. Replies: 12
    Last Post: 03-18-2011, 06:44 PM
  2. Changed the URL Settings
    By dotcom in forum URL Rewrite Settings
    Replies: 2
    Last Post: 08-16-2008, 01:34 AM
  3. Custom Redirects for changed URL Rewrite Settings
    By basketmen in forum Custom Rewrite Rules
    Replies: 4
    Last Post: 03-14-2007, 07:17 PM

Posting Permissions

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